-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f035908
Showing
2,632 changed files
with
511,996 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
static | ||
node_modules |
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class AppsConfig(AppConfig): | ||
default_auto_field = "django.db.models.BigAutoField" | ||
name = "apps" |
Empty file.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.db import models | ||
|
||
# Create your models here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.test import TestCase | ||
|
||
# Create your tests here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
from django.urls import path | ||
|
||
from .views import ( | ||
apps_ecommerce_add_product_view, | ||
apps_ecommerce_cart_view, | ||
apps_ecommerce_checkout_view, | ||
apps_ecommerce_customers_view, | ||
apps_ecommerce_orders_view, | ||
apps_ecommerce_product_detail_view, | ||
apps_ecommerce_products_view, | ||
apps_ecommerce_shops_view, | ||
apps_calendar_calendar_view, | ||
apps_chat_chat_view, | ||
apps_email_inbox_view, | ||
apps_email_read_view, | ||
apps_tasks_create_view, | ||
apps_tasks_kanban_view, | ||
apps_tasks_list_view, | ||
# apps_invoice_list_view, | ||
# apps_invoice_details_view, | ||
apps_contacts_usergrid_view, | ||
apps_contacts_userlist_view, | ||
apps_contacts_profile_view, | ||
apps_horizontal_horizontal_view, | ||
) | ||
|
||
app_name = "apps" | ||
urlpatterns = [ | ||
# Ecommerce | ||
path( | ||
"ecommerce/add-product", | ||
view=apps_ecommerce_add_product_view, | ||
name="ecommerce.add_product", | ||
), | ||
path("ecommerce/cart", view=apps_ecommerce_cart_view, name="ecommerce.cart"), | ||
path( | ||
"ecommerce/checkout", | ||
view=apps_ecommerce_checkout_view, | ||
name="ecommerce.checkout", | ||
), | ||
path( | ||
"ecommerce/customers", | ||
view=apps_ecommerce_customers_view, | ||
name="ecommerce.customers", | ||
), | ||
path("ecommerce/orders", view=apps_ecommerce_orders_view, name="ecommerce.orders"), | ||
path( | ||
"ecommerce/product-detail", | ||
view=apps_ecommerce_product_detail_view, | ||
name="ecommerce.product_detail", | ||
), | ||
path( | ||
"ecommerce/products", | ||
view=apps_ecommerce_products_view, | ||
name="ecommerce.products", | ||
), | ||
path("ecommerce/shops", view=apps_ecommerce_shops_view, name="ecommerce.shops"), | ||
# calendar | ||
path("calendar", view=apps_calendar_calendar_view, name="calendar"), | ||
# chat | ||
path("chat", view=apps_chat_chat_view, name="chat"), | ||
path("email/inbox", view=apps_email_inbox_view, name="email.inbox"), | ||
path("emial/read_email", view=apps_email_read_view, name="email.read"), | ||
# Tasks | ||
path("tasks/create-task", view=apps_tasks_create_view, name="tasks.create"), | ||
path("tasks/kanban", view=apps_tasks_kanban_view, name="tasks.kanban"), | ||
path("tasks/list", view=apps_tasks_list_view, name="tasks.list"), | ||
# Contacts | ||
path( | ||
"contacts/user_grid", view=apps_contacts_usergrid_view, name="contacts.usergrid" | ||
), | ||
path( | ||
"contacts/user_list", view=apps_contacts_userlist_view, name="contacts.userlist" | ||
), | ||
path("contacts/profile", view=apps_contacts_profile_view, name="contacts.profile"), | ||
# Horizontal | ||
path("horizontal", view=apps_horizontal_horizontal_view, name="horizontal"), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
from django.http import request | ||
from django.shortcuts import redirect, render | ||
from django.views import View | ||
from django.contrib.auth.mixins import LoginRequiredMixin | ||
from django.contrib.auth import get_user_model | ||
from django.urls import reverse | ||
from django.views.generic import TemplateView | ||
|
||
|
||
# Create your views here. | ||
class AppsView(LoginRequiredMixin, TemplateView): | ||
# class AppsView(TemplateView): | ||
pass | ||
|
||
|
||
# Ecommerce | ||
apps_ecommerce_add_product_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-add-product.html" | ||
) | ||
apps_ecommerce_cart_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-cart.html" | ||
) | ||
apps_ecommerce_checkout_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-checkout.html" | ||
) | ||
apps_ecommerce_customers_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-customers.html" | ||
) | ||
apps_ecommerce_orders_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-orders.html" | ||
) | ||
apps_ecommerce_product_detail_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-product-detail.html" | ||
) | ||
apps_ecommerce_products_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-products.html" | ||
) | ||
apps_ecommerce_shops_view = AppsView.as_view( | ||
template_name="apps/ecommerce/ecommerce-shops.html" | ||
) | ||
|
||
# calendar | ||
apps_calendar_calendar_view = AppsView.as_view(template_name="apps/apps-calendar.html") | ||
# chat | ||
apps_chat_chat_view = AppsView.as_view(template_name="apps/apps-chat.html") | ||
|
||
apps_email_inbox_view = AppsView.as_view( | ||
template_name="apps/email/apps-email-inbox.html" | ||
) | ||
apps_email_read_view = AppsView.as_view(template_name="apps/email/apps-email-read.html") | ||
|
||
# # Invoices | ||
# apps_invoice_list_view = AppsView.as_view( | ||
# template_name="apps/invoices/invoice_list.html" | ||
# ) | ||
# apps_invoice_details_view = AppsView.as_view( | ||
# template_name="apps/invoices/invoice_details.html" | ||
# ) | ||
|
||
# Tasks | ||
apps_tasks_create_view = AppsView.as_view(template_name="apps/tasks/tasks-create.html") | ||
apps_tasks_kanban_view = AppsView.as_view(template_name="apps/tasks/tasks-kanban.html") | ||
apps_tasks_list_view = AppsView.as_view(template_name="apps/tasks/tasks-list.html") | ||
|
||
|
||
# Contacts | ||
apps_contacts_usergrid_view = AppsView.as_view( | ||
template_name="apps/contacts/apps-contacts-grid.html" | ||
) | ||
apps_contacts_userlist_view = AppsView.as_view( | ||
template_name="apps/contacts/apps-contacts-list.html" | ||
) | ||
apps_contacts_profile_view = AppsView.as_view( | ||
template_name="apps/contacts/apps-contacts-profile.html" | ||
) | ||
|
||
|
||
# horizontal | ||
apps_horizontal_horizontal_view = AppsView.as_view( | ||
template_name="apps/horizontal/horizontal.html" | ||
) |
Oops, something went wrong.