Implement network page
This commit is contained in:
29
app/urls.py
29
app/urls.py
@@ -38,12 +38,15 @@ from core.views.dynamic.insights import (
|
||||
InsightsSearch,
|
||||
)
|
||||
from core.views.dynamic.manage.threshold.irc import (
|
||||
ThresholdIRCNetworkChannels,
|
||||
ThresholdIRCNetworkInfo,
|
||||
ThresholdIRCNetworkRelays,
|
||||
ThresholdIRCNetworks,
|
||||
ThresholdIRCStats,
|
||||
)
|
||||
|
||||
# Management stuff
|
||||
from core.views.manage.threshold import ThresholdIRCOverview
|
||||
from core.views.manage.threshold import ThresholdIRCNetwork, ThresholdIRCOverview
|
||||
|
||||
urlpatterns = [
|
||||
path("", Home.as_view(), name="home"),
|
||||
@@ -81,15 +84,35 @@ urlpatterns = [
|
||||
name="threshold_irc_overview",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/stats/",
|
||||
"manage/threshold/irc/overview/stats/",
|
||||
ThresholdIRCStats.as_view(),
|
||||
name="threshold_irc_stats",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/networks/",
|
||||
"manage/threshold/irc/overview/networks/",
|
||||
ThresholdIRCNetworks.as_view(),
|
||||
name="threshold_irc_networks",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/",
|
||||
ThresholdIRCNetwork.as_view(),
|
||||
name="threshold_irc_network",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/info/",
|
||||
ThresholdIRCNetworkInfo.as_view(),
|
||||
name="threshold_irc_network_info",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/relays/",
|
||||
ThresholdIRCNetworkRelays.as_view(),
|
||||
name="threshold_irc_network_relays",
|
||||
),
|
||||
path(
|
||||
"manage/threshold/irc/network/<str:net>/channels/",
|
||||
ThresholdIRCNetworkChannels.as_view(),
|
||||
name="threshold_irc_network_channels",
|
||||
),
|
||||
##
|
||||
path("api/chans/", ThresholdChans.as_view(), name="chans"),
|
||||
path("api/users/", ThresholdUsers.as_view(), name="users"),
|
||||
|
||||
Reference in New Issue
Block a user