Implement network page

This commit is contained in:
2022-07-26 22:15:30 +01:00
parent c993bb9c6e
commit df049f822c
13 changed files with 304 additions and 15 deletions

View File

@@ -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"),