From a52d9cc3719c8b3c1c76686f28020f566499e21d Mon Sep 17 00:00:00 2001 From: Azareal Date: Mon, 29 Apr 2019 23:21:53 +1000 Subject: [PATCH] Use

instead of in more spots in the control panel. Eliminate more instances of excessive indentation in the analytics panes. --- templates/panel_analytics_forums.html | 36 +++++++++++----------- templates/panel_analytics_posts.html | 44 ++++++++++++++------------- templates/panel_analytics_topics.html | 44 ++++++++++++++------------- templates/panel_analytics_views.html | 44 ++++++++++++++------------- templates/panel_forum_edit.html | 4 ++- 5 files changed, 90 insertions(+), 82 deletions(-) diff --git a/templates/panel_analytics_forums.html b/templates/panel_analytics_forums.html index 627be8f6..0e87aaa7 100644 --- a/templates/panel_analytics_forums.html +++ b/templates/panel_analytics_forums.html @@ -1,19 +1,19 @@ -
-
-

{{lang "panel_statistics_forums_head"}}

- {{template "panel_analytics_time_range.html" . }} -
-
-
-
-
-
-
- {{range .ItemList}} -
- {{.FriendlyAgent}} - {{.Count}}{{lang "panel_statistics_views_suffix"}} -
- {{else}}
{{lang "panel_statistics_forums_no_forums"}}
{{end}} -
+
+
+

{{lang "panel_statistics_forums_head"}}

+ {{template "panel_analytics_time_range.html" . }} +
+
+
+
+
+
+
+ {{range .ItemList}} +
+ {{.FriendlyAgent}} + {{.Count}}{{lang "panel_statistics_views_suffix"}} +
+ {{else}}
{{lang "panel_statistics_forums_no_forums"}}
{{end}} +
{{template "panel_analytics_script.html" . }} \ No newline at end of file diff --git a/templates/panel_analytics_posts.html b/templates/panel_analytics_posts.html index 7675d808..38b8833d 100644 --- a/templates/panel_analytics_posts.html +++ b/templates/panel_analytics_posts.html @@ -1,22 +1,24 @@ -
-
-

{{lang "panel_statistics_post_counts_head"}}

- {{template "panel_analytics_time_range.html" . }} -
-
-
-
-
-
- -
- {{range .ViewItems}} -
- {{.Time}} - {{.Count}}{{lang "panel_statistics_posts_suffix"}} -
- {{else}}
{{lang "panel_statistics_post_counts_no_post_counts"}}
{{end}} -
+
+
+

{{lang "panel_statistics_post_counts_head"}}

+ {{template "panel_analytics_time_range.html" . }} +
+
+
+
+
+
+
+
+

{{lang "panel_statistics_details_head"}}

+
+
+
+ {{range .ViewItems}} +
+ {{.Time}} + {{.Count}}{{lang "panel_statistics_posts_suffix"}} +
+ {{else}}
{{lang "panel_statistics_post_counts_no_post_counts"}}
{{end}} +
{{template "panel_analytics_script.html" . }} \ No newline at end of file diff --git a/templates/panel_analytics_topics.html b/templates/panel_analytics_topics.html index 8d264f78..5a5d7710 100644 --- a/templates/panel_analytics_topics.html +++ b/templates/panel_analytics_topics.html @@ -1,22 +1,24 @@ -
-
-

{{lang "panel_statistics_topic_counts_head"}}

- {{template "panel_analytics_time_range.html" . }} -
-
-
-
-
-
- -
- {{range .ViewItems}} -
- {{.Time}} - {{.Count}}{{lang "panel_statistics_topics_suffix"}} -
- {{end}} -
+
+
+

{{lang "panel_statistics_topic_counts_head"}}

+ {{template "panel_analytics_time_range.html" . }} +
+
+
+
+
+
+
+
+

{{lang "panel_statistics_details_head"}}

+
+
+
+ {{range .ViewItems}} +
+ {{.Time}} + {{.Count}}{{lang "panel_statistics_topics_suffix"}} +
+ {{end}} +
{{template "panel_analytics_script.html" . }} \ No newline at end of file diff --git a/templates/panel_analytics_views.html b/templates/panel_analytics_views.html index 2c01c7ab..5b1d5428 100644 --- a/templates/panel_analytics_views.html +++ b/templates/panel_analytics_views.html @@ -1,22 +1,24 @@ -
-
-

{{lang "panel_statistics_requests_head"}}

- {{template "panel_analytics_time_range.html" . }} -
-
-
-
-
-
- -
- {{range .ViewItems}} -
- {{.Time}} - {{.Count}}{{lang "panel_statistics_views_suffix"}} -
- {{end}} -
+
+
+

{{lang "panel_statistics_requests_head"}}

+ {{template "panel_analytics_time_range.html" . }} +
+
+
+
+
+
+
+
+

{{lang "panel_statistics_details_head"}}

+
+
+
+ {{range .ViewItems}} +
+ {{.Time}} + {{.Count}}{{lang "panel_statistics_views_suffix"}} +
+ {{end}} +
{{template "panel_analytics_script.html" . }} \ No newline at end of file diff --git a/templates/panel_forum_edit.html b/templates/panel_forum_edit.html index fb8c19c0..40248a0d 100644 --- a/templates/panel_forum_edit.html +++ b/templates/panel_forum_edit.html @@ -38,7 +38,9 @@
- +
+

{{lang "panel_forum_permissions_head"}}

+
{{range .Groups}}