From c67fad9e6bc4c5cbb05ea75f93293a1803a9e5ca Mon Sep 17 00:00:00 2001 From: Jon <134811123+jonsmy@users.noreply.github.com> Date: Sat, 24 Feb 2024 22:09:30 +0000 Subject: [PATCH 01/26] post_thread.html: use structured block for thread stats --- templates/post_thread.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/post_thread.html b/templates/post_thread.html index 94d73700..11c057b0 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -100,7 +100,12 @@ {% endfor %}
{% if not index %} -
Unique IPs: {{ iparray|length }}
+
+
+ Unique IPs: {{ iparray|length }} +
+
+
{% endif %} {% if hr %}
{% endif %} -- 2.44.1 From 34b72f25c5cbb4aa65c18c0b0458b5b479646260 Mon Sep 17 00:00:00 2001 From: Jon <134811123+jonsmy@users.noreply.github.com> Date: Sat, 24 Feb 2024 22:17:55 +0000 Subject: [PATCH 02/26] stylesheets/style.css: add lcn_threadstats style --- stylesheets/style.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/stylesheets/style.css b/stylesheets/style.css index 1556231c..926a85bb 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -2015,3 +2015,18 @@ span.orangeQuote { .options_general_tab--select_opt select { float: none; } + +/* LCN */ +.lcn_threadstats { + display: flex; + justify-content: space-between; +} + +.lcn_threadstats_container { + display: flex; + gap: 8px; +} + +.lcn_threadstats_container > :not(:first-child):before { + content: ' | '; +} -- 2.44.1 From 3a464a0c2a6e90d76fc0a92e18d94b301a6e68a7 Mon Sep 17 00:00:00 2001 From: Jon <134811123+jonsmy@users.noreply.github.com> Date: Sun, 25 Feb 2024 20:50:33 +0000 Subject: [PATCH 03/26] stylesheets/style.css: add styles --- stylesheets/style.css | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/stylesheets/style.css b/stylesheets/style.css index 926a85bb..baad2e52 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -2030,3 +2030,52 @@ span.orangeQuote { .lcn_threadstats_container > :not(:first-child):before { content: ' | '; } + +.lcn-setting-entry { + display: flex; + align-items: flex-end; + gap: 0.5em; +} + +.lcn-bar { + display: flex!important; + justify-content: space-between; + gap: 6px; +} + +#thread-update-status { + display: inline-block; + width: 2.5em; + text-align: right; + overflow-x: clip; +} + +.bar-collection { + padding: 0px 3px; +} + +.lcn-bar .threadlinks:before, +.lcn-bar .threadlinks:after, +.lcn-bar .threadlinks .threadlink:not(:first-child):before { + vertical-align: middle; +} + +.threadlinks:before { + content: '[ '; +} + +.threadlinks:after { + content: ' ]'; +} + +.threadlinks .threadlink:not(:first-child):before { + content: ' / '; +} + +.indielinks-row .indielinks:not(:first-child):before { + content: ' | '; +} + +.indielinks .indielink:not(:first-child) { + margin-left: 6px; +} -- 2.44.1 From 5b492e1d5751b8fc0a771a62f93edc21244c927e Mon Sep 17 00:00:00 2001 From: Jon <134811123+jonsmy@users.noreply.github.com> Date: Sun, 25 Feb 2024 20:52:30 +0000 Subject: [PATCH 04/26] templates/thread.html: migrate threadbar and threadlinks --- templates/thread.html | 55 +++++++++++++++++++++++++++++-------------- 1 file changed, 37 insertions(+), 18 deletions(-) diff --git a/templates/thread.html b/templates/thread.html index 65f87f07..ff727f27 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -56,9 +56,12 @@ {% if config.global_message %}
{{ config.global_message }}
{% endif %}
-