From e4487c8bf0e6fe062d86c779eb5347364f9752ce Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 21 Jul 2022 13:52:24 +0100 Subject: [PATCH] Retheme Insights page to not use panels --- core/templates/ui/insights/channels.html | 30 ++--- core/templates/ui/insights/info.html | 144 ++++++++++++----------- core/templates/ui/insights/meta.html | 27 +++-- core/templates/ui/insights/nicks.html | 30 ++--- 4 files changed, 122 insertions(+), 109 deletions(-) diff --git a/core/templates/ui/insights/channels.html b/core/templates/ui/insights/channels.html index c17c3b4..5c9fe97 100644 --- a/core/templates/ui/insights/channels.html +++ b/core/templates/ui/insights/channels.html @@ -1,19 +1,21 @@
-
-
    +
    + {% for chan in chans %} -
  1. - - {{ chan }} - -
  2. + + + {% endfor %} - +
    + + {{ chan }} + +
\ No newline at end of file diff --git a/core/templates/ui/insights/info.html b/core/templates/ui/insights/info.html index 207a8a4..9a9d84c 100644 --- a/core/templates/ui/insights/info.html +++ b/core/templates/ui/insights/info.html @@ -29,77 +29,79 @@
{% if item is not None %} -
- - - - - - - - - - - - - - - - - - - - - - - -
src - {% if item.src == 'irc' %} - - - - IRC - {% elif item.src == 'dis' %} - - - - Discord - {% endif %} -
nick - {% if item.online is True %} - - - - {{ item.nick }} - {% elif item.online is False %} - - - - {{ item.nick }} - {% else %} - - - - {{ item.nick }} - {% endif %} - {% if item.num_chans is not None %} - - {{ item.num_chans }} - - {% endif %} -
host{{ item.host }}
actions - {% if item.src == 'irc' %} - - {% endif %} -
net{{ item.net }}
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
src + {% if item.src == 'irc' %} + + + + IRC + {% elif item.src == 'dis' %} + + + + Discord + {% endif %} +
nick + {% if item.online is True %} + + + + {{ item.nick }} + {% elif item.online is False %} + + + + {{ item.nick }} + {% else %} + + + + {{ item.nick }} + {% endif %} + {% if item.num_chans is not None %} + + {{ item.num_chans }} + + {% endif %} +
host{{ item.host }}
actions + {% if item.src == 'irc' %} + + {% endif %} +
net{{ item.net }}
+
{% endif %}
\ No newline at end of file diff --git a/core/templates/ui/insights/meta.html b/core/templates/ui/insights/meta.html index 1e34fdf..fd971c7 100644 --- a/core/templates/ui/insights/meta.html +++ b/core/templates/ui/insights/meta.html @@ -1,12 +1,19 @@
- - - bbb - +
+ + + + +
+ + bbb + +
+
\ No newline at end of file diff --git a/core/templates/ui/insights/nicks.html b/core/templates/ui/insights/nicks.html index 49c02bf..b59f3d7 100644 --- a/core/templates/ui/insights/nicks.html +++ b/core/templates/ui/insights/nicks.html @@ -1,19 +1,21 @@
-
-
    +
    + {% for nick in nicks %} -
  1. - - {{ nick }} - -
  2. + + + {% endfor %} - +
    + + {{ nick }} + +
\ No newline at end of file