From b4c84f80db8793e604177d51229d562e23f90bfc Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 6 Oct 2021 23:12:21 +0200 Subject: [PATCH 1/3] Lewdposter's proposed fixes --- js/thread-stats.js | 2 +- stylesheets/style.css | 7 +++++++ templates/post_thread.html | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/js/thread-stats.js b/js/thread-stats.js index eb38e2bf..7fd2ac1f 100644 --- a/js/thread-stats.js +++ b/js/thread-stats.js @@ -14,7 +14,7 @@ $(document).ready(function(){ var thread_id = (document.location.pathname + document.location.search).split('/'); thread_id = thread_id[thread_id.length -1].split('+')[0].split('.')[0]; - $('.clear').after('
'); + $('.clear').before('
'); var el = $('#thread_stats'); el.prepend('Page ?'); diff --git a/stylesheets/style.css b/stylesheets/style.css index 059416ab..a4ab484c 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -1965,3 +1965,10 @@ span.strikethrough { span.orangeQuote { color: #FF8C00; } + +#uniqueip > span { + display: block; + float: right; + margin: 0em 1em; +} + diff --git a/templates/post_thread.html b/templates/post_thread.html index 448bbd72..9da3b291 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -100,7 +100,7 @@ {% endfor %}
{% if not index %} -
Unique IPs: {{ iparray|length }}
+
Unique IPs: {{ iparray|length }}
{% endif %} {% if hr %}
{% endif %} From af8b645b2395cf0d3ac0e6202d2fe1793f74e140 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 6 Oct 2021 23:15:46 +0200 Subject: [PATCH 2/3] Adds bar | to unique IP counter --- templates/post_thread.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post_thread.html b/templates/post_thread.html index 9da3b291..aab48246 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -100,7 +100,7 @@ {% endfor %}
{% if not index %} -
Unique IPs: {{ iparray|length }}
+
Unique IPs: {{ iparray|length }} |
{% endif %} {% if hr %}
{% endif %} From ff0e0b8395a4935a920af6ebeab419fc73bc0735 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 6 Oct 2021 23:17:07 +0200 Subject: [PATCH 3/3] Removes space after bar | --- templates/post_thread.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post_thread.html b/templates/post_thread.html index aab48246..9df3f2fb 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -100,7 +100,7 @@ {% endfor %}
{% if not index %} -
Unique IPs: {{ iparray|length }} |
+
Unique IPs: {{ iparray|length }} |
{% endif %} {% if hr %}
{% endif %}