From 5f2e4f9ce51a44aaa331061fa3639d1fa30820a9 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 21 Jul 2022 13:52:13 +0100 Subject: [PATCH] Reformat HTML templates --- core/templates/ui/insights/info.html | 202 +++++++++++++------------- core/templates/ui/insights/meta.html | 38 ++--- core/templates/ui/insights/nicks.html | 38 ++--- 3 files changed, 139 insertions(+), 139 deletions(-) diff --git a/core/templates/ui/insights/info.html b/core/templates/ui/insights/info.html index c08b854..366523e 100644 --- a/core/templates/ui/insights/info.html +++ b/core/templates/ui/insights/info.html @@ -6,107 +6,107 @@ Information

- {% 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 }}
-
- {% endif %} + {% 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 }}
+
+ {% endif %} +
+
+
+
+
+
-
-
-
-
-
- \ No newline at end of file diff --git a/core/templates/ui/insights/meta.html b/core/templates/ui/insights/meta.html index f3e6534..9f7d407 100644 --- a/core/templates/ui/insights/meta.html +++ b/core/templates/ui/insights/meta.html @@ -1,21 +1,21 @@
-
-

- Meta -

- - - - - - bbb - - -
+
+

+ Meta +

+ + + + + + bbb + + +
\ No newline at end of file diff --git a/core/templates/ui/insights/nicks.html b/core/templates/ui/insights/nicks.html index 6d9042c..8486f66 100644 --- a/core/templates/ui/insights/nicks.html +++ b/core/templates/ui/insights/nicks.html @@ -1,21 +1,21 @@
-
-

- Nicks -

- - - - - - aaa - - -
+
+

+ Nicks +

+ + + + + + aaa + + +
\ No newline at end of file