Implement Insights page
This commit is contained in:
24
app/urls.py
24
app/urls.py
@@ -19,16 +19,18 @@ from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
from core.api.views.threshold import (
|
||||
ThresholdChans,
|
||||
ThresholdInfoModal,
|
||||
ThresholdOnline,
|
||||
ThresholdUsers,
|
||||
)
|
||||
# Threshold API stuff
|
||||
from core.api.views.threshold import ThresholdChans, ThresholdOnline, ThresholdUsers
|
||||
|
||||
# Main tool pages
|
||||
from core.ui.views.drilldown import Drilldown
|
||||
from core.ui.views.insights import Insights
|
||||
from core.views import Billing, Cancel, Home, Order, Portal, Signup
|
||||
from core.views.callbacks import Callback
|
||||
from core.views.dynamic.search import APISearch, Search
|
||||
|
||||
# Dynamic elements
|
||||
from core.views.dynamic.drilldown import DrilldownSearch, ThresholdInfoModal
|
||||
from core.views.dynamic.insights import InsightsInfoModal, InsightsSearch
|
||||
|
||||
urlpatterns = [
|
||||
path("", Home.as_view(), name="home"),
|
||||
@@ -49,10 +51,12 @@ urlpatterns = [
|
||||
path("accounts/", include("django.contrib.auth.urls")),
|
||||
path("accounts/signup/", Signup.as_view(), name="signup"),
|
||||
path("ui/drilldown/", Drilldown.as_view(), name="drilldown"),
|
||||
path("parts/search/", Search.as_view(), name="search"),
|
||||
path("modal/info/", ThresholdInfoModal.as_view(), name="modal_info"),
|
||||
path("ui/insights/", Insights.as_view(), name="insights"),
|
||||
path("parts/search/drilldown/", DrilldownSearch.as_view(), name="search_drilldown"),
|
||||
path("parts/search/insights/", InsightsSearch.as_view(), name="search_insights"),
|
||||
path("modal/drilldown/", ThresholdInfoModal.as_view(), name="modal_drilldown"),
|
||||
path("modal/insights/", InsightsInfoModal.as_view(), name="modal_insights"),
|
||||
path("api/chans/", ThresholdChans.as_view(), name="chans"),
|
||||
path("api/users/", ThresholdUsers.as_view(), name="users"),
|
||||
path("api/online/", ThresholdOnline.as_view(), name="online"),
|
||||
path("api/search/", APISearch.as_view(), name="api_search"),
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
Reference in New Issue
Block a user