From 958eb2b549e5304fcf42365477ef66ff0796372c Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 5 Sep 2022 07:20:30 +0100 Subject: [PATCH] Reformat and add blacklisted directories to DjHTML --- core/templates/base.html | 620 +++++++------- core/templates/billing.html | 84 +- core/templates/cancel.html | 6 +- core/templates/denied.html | 4 +- core/templates/index.html | 84 +- .../manage/threshold/irc/network/actions.html | 152 ++-- .../threshold/irc/network/channels.html | 84 +- .../threshold/irc/network/edit-network.html | 140 ++-- .../manage/threshold/irc/network/info.html | 116 +-- .../irc/network/modals/registration.html | 162 ++-- .../manage/threshold/irc/network/network.html | 244 +++--- .../manage/threshold/irc/network/relays.html | 430 +++++----- .../manage/threshold/irc/network/stats.html | 50 +- .../threshold/irc/overview/actions.html | 86 +- .../threshold/irc/overview/aliases.html | 80 +- .../irc/overview/modals/add-network.html | 128 +-- .../irc/overview/modals/edit-aliases.html | 110 +-- .../threshold/irc/overview/networks.html | 144 ++-- .../threshold/irc/overview/overview.html | 128 +-- .../manage/threshold/irc/overview/stats.html | 86 +- .../manage/threshold/partials/notify.html | 6 +- core/templates/modals/context.html | 206 ++--- core/templates/modals/drilldown.html | 2 +- core/templates/partials/context_table.html | 344 ++++---- core/templates/partials/notify-alt.html | 6 +- core/templates/partials/notify.html | 6 +- core/templates/partials/product-list.html | 78 +- core/templates/registration/login.html | 36 +- core/templates/registration/signup.html | 36 +- core/templates/subscriptioncancel.html | 6 +- core/templates/success.html | 12 +- core/templates/ui/drilldown/drilldown.html | 242 +++--- .../ui/drilldown/search_partial.html | 764 +++++++++--------- .../ui/drilldown/sentiment_partial.html | 8 +- .../ui/drilldown/table_results_partial.html | 60 +- core/templates/ui/insights/channels.html | 52 +- core/templates/ui/insights/info.html | 190 ++--- core/templates/ui/insights/insights.html | 172 ++-- core/templates/ui/insights/meta.html | 32 +- core/templates/ui/insights/nicks.html | 98 +-- core/templates/widgets/drilldown.html | 8 +- core/templates/widgets/table_results.html | 58 +- core/templates/window-content/context.html | 208 ++--- .../window-content/context_table.html | 344 ++++---- core/templates/window-content/drilldown.html | 194 ++--- core/templates/windows/drilldown.html | 4 +- core/templates/wm/magnet.html | 10 +- core/templates/wm/modal.html | 14 +- core/templates/wm/panel.html | 32 +- core/templates/wm/widget.html | 60 +- pyproject.toml | 2 +- 51 files changed, 3110 insertions(+), 3118 deletions(-) diff --git a/core/templates/base.html b/core/templates/base.html index c346862..79f9b8e 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -3,323 +3,323 @@ - - - - Pathogen - {{ request.path_info }} - - - - - - - - - - - - - - - - - - - - - - - - - - + + {% block outer_content %} + {% endblock %} +
+
+ {% block content %} {% endblock %} -
-
- {% block content %} - {% endblock %} -
-
- +
+
+ diff --git a/core/templates/billing.html b/core/templates/billing.html index ffd9e53..95e6817 100644 --- a/core/templates/billing.html +++ b/core/templates/billing.html @@ -1,46 +1,46 @@ {% extends "base.html" %} {% block content %} -
-

- User information -

- - - - - {{ user.first_name }} {{ user.last_name }} - - - - - - {% for plan in user.plans.all %} - {{ plan.name }} - {% endfor %} - - - - - - {{ user.last_payment }} - - - - - - Subscription management - -
-
-

- This product is currently free. You may cancel any plans above. -

-
-
-

- You cannot pay for access to the raw data. It is hashed to preserve privacy. -

-
- {# {% include "partials/product-list.html" %} #} +
+

+ User information +

+ + + + + {{ user.first_name }} {{ user.last_name }} + + + + + + {% for plan in user.plans.all %} + {{ plan.name }} + {% endfor %} + + + + + + {{ user.last_payment }} + + + + + + Subscription management + +
+
+

+ This product is currently free. You may cancel any plans above. +

+
+
+

+ You cannot pay for access to the raw data. It is hashed to preserve privacy. +

+
+ {# {% include "partials/product-list.html" %} #} {% endblock %} diff --git a/core/templates/cancel.html b/core/templates/cancel.html index 6e86422..426cde8 100644 --- a/core/templates/cancel.html +++ b/core/templates/cancel.html @@ -2,8 +2,8 @@ {% block content %} -
-

Forgot to add something to your cart? Shop around then come back to pay!

-
+
+

Forgot to add something to your cart? Shop around then come back to pay!

+
{% endblock %} diff --git a/core/templates/denied.html b/core/templates/denied.html index 246c0af..971d96d 100644 --- a/core/templates/denied.html +++ b/core/templates/denied.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block content %} -

Access denied

-

Sorry, you do not have the necessary permissions to view this page.

+

Access denied

+

Sorry, you do not have the necessary permissions to view this page.

{% endblock %} diff --git a/core/templates/index.html b/core/templates/index.html index 68e812a..d8b4138 100644 --- a/core/templates/index.html +++ b/core/templates/index.html @@ -2,47 +2,47 @@ {% load static %} {% block content %} -
- {% for block in blocks %} - {% if block.title is not None %} -

{{ block.title }}

- {% endif %} -
-
- {% if block.column1 is not None %} -
- {{ block.column1 }} -
- {% endif %} - {% if block.column2 is not None %} -
- {{ block.column2 }} -
- {% endif %} - {% if block.column3 is not None %} -
- {{ block.column3 }} -
- {% endif %} -
-
- {% if block.image1 is not None %} -
- -
- {% endif %} - {% if block.image2 is not None %} -
- -
- {% endif %} - {% if block.image3 is not None %} -
- -
- {% endif %} -
+
+ {% for block in blocks %} + {% if block.title is not None %} +

{{ block.title }}

+ {% endif %} +
+
+ {% if block.column1 is not None %} +
+ {{ block.column1 }}
- {% endfor %} -
+ {% endif %} + {% if block.column2 is not None %} +
+ {{ block.column2 }} +
+ {% endif %} + {% if block.column3 is not None %} +
+ {{ block.column3 }} +
+ {% endif %} +
+
+ {% if block.image1 is not None %} +
+ +
+ {% endif %} + {% if block.image2 is not None %} +
+ +
+ {% endif %} + {% if block.image3 is not None %} +
+ +
+ {% endif %} +
+
+ {% endfor %} +
{% endblock %} diff --git a/core/templates/manage/threshold/irc/network/actions.html b/core/templates/manage/threshold/irc/network/actions.html index 37df9ab..685483e 100644 --- a/core/templates/manage/threshold/irc/network/actions.html +++ b/core/templates/manage/threshold/irc/network/actions.html @@ -1,81 +1,81 @@
- {% include 'manage/threshold/partials/notify.html' %} -
+ {% include 'manage/threshold/partials/notify.html' %} +
+ + + + +
+
+
+
+ + + + +
+
- - - +
- -
-
- - - - -
-
- -
-
-
+
\ No newline at end of file diff --git a/core/templates/manage/threshold/irc/network/channels.html b/core/templates/manage/threshold/irc/network/channels.html index 943924a..f87db4c 100644 --- a/core/templates/manage/threshold/irc/network/channels.html +++ b/core/templates/manage/threshold/irc/network/channels.html @@ -1,44 +1,44 @@
- {% include 'manage/threshold/partials/notify.html' %} - {% if channels is not None %} -
-
- - - - - - - - {% for channel in channels %} - - - - - - {% endfor %} - -
channelnumactions
- {{ channel.name }} - - {{ channel.users }} - - - {{ channel.num }} - - -
-
-
- {% endif %} + {% include 'manage/threshold/partials/notify.html' %} + {% if channels is not None %} +
+
+ + + + + + + + {% for channel in channels %} + + + + + + {% endfor %} + +
channelnumactions
+ {{ channel.name }} + + {{ channel.users }} + + + {{ channel.num }} + + +
+
+
+ {% endif %}
\ No newline at end of file diff --git a/core/templates/manage/threshold/irc/network/edit-network.html b/core/templates/manage/threshold/irc/network/edit-network.html index 4b260e7..9526182 100644 --- a/core/templates/manage/threshold/irc/network/edit-network.html +++ b/core/templates/manage/threshold/irc/network/edit-network.html @@ -1,77 +1,77 @@
-
- - - - - - - {% for key, item in network.items %} - - - +
attributevalue
{{ key }} -
- {% if key == 'auth' %} -
- + + + + + + {% for key, item in network.items %} + + + - - {% endfor %} + {% if item == 'plain' %} + + {% else %} + + {% endif %} + + + {% else %} + + {% endif %} + + + + {% endfor %} - -
attributevalue
{{ key }} +
+ {% if key == 'auth' %} +
+ -
- {% elif key == 'security' %} -
- +
+ {% elif key == 'security' %} +
+ -
- {% else %} - - {% endif %} -
-
- - - +
+ + + -
+
diff --git a/core/templates/manage/threshold/irc/network/info.html b/core/templates/manage/threshold/irc/network/info.html index 4c82aa2..5e722a7 100644 --- a/core/templates/manage/threshold/irc/network/info.html +++ b/core/templates/manage/threshold/irc/network/info.html @@ -1,61 +1,61 @@
- {% include 'manage/threshold/partials/notify.html' %} - {% if network is not None %} -
-
- - - - - - - {% for key, item in network.items %} - - - - - {% endfor %} - -
attributevalue
{{ key }} - {% if key == 'security' %} - {% if item == 'none' %} - - - - {% elif item == 'ssl' %} - - - - {% endif %} - {% elif key == 'relays' %} - - - - {% elif key == 'channels' %} - - - - {% elif key == 'records' %} - - - - {% elif key == 'host' %} - - - - {% endif %} - {% if item is not None %} - {{ item }} - {% endif %} -
-
- -
-
+ {% include 'manage/threshold/partials/notify.html' %} + {% if network is not None %} +
+
+ + + + + + + {% for key, item in network.items %} + + + + + {% endfor %} + +
attributevalue
{{ key }} + {% if key == 'security' %} + {% if item == 'none' %} + + + + {% elif item == 'ssl' %} + + + + {% endif %} + {% elif key == 'relays' %} + + + + {% elif key == 'channels' %} + + + + {% elif key == 'records' %} + + + + {% elif key == 'host' %} + + + + {% endif %} + {% if item is not None %} + {{ item }} + {% endif %} +
+
+
- {% endif %} +
+
+ {% endif %}
\ No newline at end of file diff --git a/core/templates/manage/threshold/irc/network/modals/registration.html b/core/templates/manage/threshold/irc/network/modals/registration.html index 8025483..46cacca 100644 --- a/core/templates/manage/threshold/irc/network/modals/registration.html +++ b/core/templates/manage/threshold/irc/network/modals/registration.html @@ -3,91 +3,91 @@