diff --git a/app/urls.py b/app/urls.py index a9c599b..49552ba 100644 --- a/app/urls.py +++ b/app/urls.py @@ -95,6 +95,7 @@ urlpatterns = [ ## # path("drilldown/", Drilldown.as_view(), name="drilldown"), path("modal/", ThresholdInfoModal.as_view(), name="modal_drilldown"), + path("modal//", ThresholdInfoModal.as_view(), name="modal_drilldown"), path("context/", DrilldownContextModal.as_view(), name="modal_context"), path("context_table/", DrilldownContextModal.as_view(), name="modal_context_table"), ## diff --git a/core/templates/base.html b/core/templates/base.html index 73df687..14f217e 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -25,6 +25,7 @@ + #} - + \ No newline at end of file diff --git a/core/templates/panels/context.html b/core/templates/panels/context.html new file mode 100644 index 0000000..2db476c --- /dev/null +++ b/core/templates/panels/context.html @@ -0,0 +1,114 @@ +{% load index %} +{% load static %} + + + + + + + diff --git a/core/templates/panels/context_table.html b/core/templates/panels/context_table.html new file mode 100644 index 0000000..16dded2 --- /dev/null +++ b/core/templates/panels/context_table.html @@ -0,0 +1,177 @@ + + + \ No newline at end of file diff --git a/core/templates/panels/drilldown.html b/core/templates/panels/drilldown.html new file mode 100644 index 0000000..a93cbee --- /dev/null +++ b/core/templates/panels/drilldown.html @@ -0,0 +1,99 @@ +{% load index %} +{% load static %} +
+ + + +
+
+
+

Channels for {{ nick }} on {{ net }}

+ {% for channel in chans %} + + + + + {{ channel }} + {% if nick in num_chans %} + + {{ num_users|index:channel }} + + {% endif %} + + {% endfor %} +
+
+

Users on {{ channel }} for {{ net }}

+ {% for user in users %} + + + + + {{ user }} + {% if channel in num_users %} + + {{ num_chans|index:user }} + + {% endif %} + + {% endfor %} +
+
+

Users sharing channels with {{ nick }} on {{ net }}

+ {% for user in inter_users %} + + + + + {{ user }} + {% if channel in num_users %} + + {{ num_chans|index:user }} + + {% endif %} + + {% endfor %} +
+
+

Channels sharing users with {{ channel }} on {{ net }}

+ {% for channel in inter_chans %} + + + + + {{ channel }} + {% if nick in num_chans %} + + {{ num_users|index:channel }} + + {% endif %} + + {% endfor %} +
+
+ diff --git a/core/templates/partials/magnet.html b/core/templates/partials/magnet.html new file mode 100644 index 0000000..baddf8f --- /dev/null +++ b/core/templates/partials/magnet.html @@ -0,0 +1,10 @@ + + {% extends 'partials/panel.html' %} + + {% block heading %} + {% endblock %} + + {% block panel_content %} + {% endblock %} + + \ No newline at end of file diff --git a/core/templates/partials/panel.html b/core/templates/partials/panel.html new file mode 100644 index 0000000..0fe0c75 --- /dev/null +++ b/core/templates/partials/panel.html @@ -0,0 +1,17 @@ + + diff --git a/core/templates/ui/drilldown/drilldown.html b/core/templates/ui/drilldown/drilldown.html index 9a0fce6..8b85ed0 100644 --- a/core/templates/ui/drilldown/drilldown.html +++ b/core/templates/ui/drilldown/drilldown.html @@ -88,6 +88,8 @@
+
+