diff --git a/templates/account_own_edit.html b/templates/account_own_edit.html index e7805303..8aff40b6 100644 --- a/templates/account_own_edit.html +++ b/templates/account_own_edit.html @@ -1,10 +1,10 @@ -
+
-
-
+
+
diff --git a/templates/account_own_edit_mfa.html b/templates/account_own_edit_mfa.html index 103be606..c926860a 100644 --- a/templates/account_own_edit_mfa.html +++ b/templates/account_own_edit_mfa.html @@ -6,7 +6,7 @@

{{lang "account_mfa_head"}}

-
+
@@ -17,7 +17,7 @@

{{lang "account_mfa_scratch_head"}}

{{/** TODO: Don't inline this, figure a way of implementing it properly in the template system **/}} -
{{lang "account_mfa_scratch_explanation"}}
+
{{lang "account_mfa_scratch_explanation"}}
{{range .Something}} diff --git a/templates/account_own_edit_mfa_setup.html b/templates/account_own_edit_mfa_setup.html index d797fa77..8d396bc4 100644 --- a/templates/account_own_edit_mfa_setup.html +++ b/templates/account_own_edit_mfa_setup.html @@ -6,7 +6,7 @@

{{lang "account_mfa_setup_head"}}

- +
diff --git a/templates/account_own_edit_password.html b/templates/account_own_edit_password.html index 9116683f..3d52e607 100644 --- a/templates/account_own_edit_password.html +++ b/templates/account_own_edit_password.html @@ -6,7 +6,7 @@

{{lang "account_password_head"}}

- +
diff --git a/templates/are_you_sure.html b/templates/are_you_sure.html index 6e18a2ea..99ca0ab3 100644 --- a/templates/are_you_sure.html +++ b/templates/are_you_sure.html @@ -5,7 +5,7 @@
diff --git a/templates/panel_are_you_sure.html b/templates/panel_are_you_sure.html index d7773ae8..ca80b8d4 100644 --- a/templates/panel_are_you_sure.html +++ b/templates/panel_are_you_sure.html @@ -8,9 +8,9 @@
-{{template "footer.html" . }} +{{template "footer.html" . }} \ No newline at end of file diff --git a/templates/panel_forum_edit.html b/templates/panel_forum_edit.html index 40248a0d..83ed51ee 100644 --- a/templates/panel_forum_edit.html +++ b/templates/panel_forum_edit.html @@ -1,60 +1,60 @@ -
-

{{.Name}}{{lang "panel_forum_head_suffix"}}

+
+

{{.Name}}{{lang "panel_forum_head_suffix"}}

+
+
+ + -
- -
- -
+ +
+ +
+
+
+ +
+
- -
- -
-
-
- -
- +
+
+
+
+ +
+
+
+

{{lang "panel_forum_permissions_head"}}

+
+
+
+ {{range .Groups}} +
+ -
-
-
-
-
-
-

{{lang "panel_forum_permissions_head"}}

-
-
-
- {{range .Groups}} - - {{end}} -
\ No newline at end of file + {{end}} +
\ No newline at end of file diff --git a/templates/panel_forum_edit_perms.html b/templates/panel_forum_edit_perms.html index da85a8d3..190966d3 100644 --- a/templates/panel_forum_edit_perms.html +++ b/templates/panel_forum_edit_perms.html @@ -1,23 +1,22 @@ -
-

{{.Name}}{{lang "panel_forum_head_suffix"}}

-
-
-
- {{range .Perms}} -
-
- {{.LangStr}} -
- -
+
+

{{.Name}}{{lang "panel_forum_head_suffix"}}

+
+ +
+ {{range .Perms}} +
+
+ {{.LangStr}} +
+
- {{end}} -
-
-
+
{{end}} +
+
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/templates/panel_forums.html b/templates/panel_forums.html index 0157452b..956cf926 100644 --- a/templates/panel_forums.html +++ b/templates/panel_forums.html @@ -1,69 +1,69 @@ -
-
-

{{lang "panel.forums_head"}}

-

{{lang "panel_hints_reorder"}}

-
+
+
+

{{lang "panel.forums_head"}}

+

{{lang "panel_hints_reorder"}}

-
- {{range .ItemList}} -
- - - {{/** TODO: Make sure the forum_active_name class is set and unset when the activity status of this forum is changed **/}} - {{.Name}} -
{{.Desc}} -
- - - - - - - - {{if gt .ID 1}}{{end}} - - -
- {{end}} -
-
-
+
+
+ {{range .ItemList}} +
+ + + {{/** TODO: Make sure the forum_active_name class is set and unset when the activity status of this forum is changed **/}} + {{.Name}} +
{{.Desc}} +
+ + + + + + + + {{if gt .ID 1}}{{end}} + +
+ {{end}} +
+
+
+
-
-

{{lang "panel.forums_create_head"}}

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

{{lang "panel.forums_create_head"}}

+
+
+
+ + +
+ +
+
+
+ +
+
+
+
+
+
+
\ No newline at end of file diff --git a/templates/panel_groups.html b/templates/panel_groups.html index 31da1b21..a8d0f9d9 100644 --- a/templates/panel_groups.html +++ b/templates/panel_groups.html @@ -1,49 +1,49 @@ -
-

{{lang "panel_groups_head"}}

-
-
- {{range .ItemList}} -
- {{.Name}} - - {{if .RankClass}} - {{else}}{{.Rank}}{{end}} +
+

{{lang "panel_groups_head"}}

+
+
+ {{range .ItemList}} +
+ {{.Name}} + + {{if .RankClass}} + {{else}}{{.Rank}}{{end}} - {{if .CanEdit}}{{end}} - -
- {{end}} + {{if .CanEdit}}{{end}} +
- {{template "paginator.html" . }} + {{end}} +
+{{template "paginator.html" . }} - {{if .CurrentUser.Perms.EditGroup}} -
-

{{lang "panel_groups_create_head"}}

-
-
-
-
- -
+{{if .CurrentUser.Perms.EditGroup}} +
+

{{lang "panel_groups_create_head"}}

+
+
+ + +
+ +
+
-
- -
- -
-
- -
-
-
- -
- {{end}} \ No newline at end of file +
+ +
+
+
+ +
+{{end}} \ No newline at end of file diff --git a/templates/panel_pages.html b/templates/panel_pages.html index 28246374..70bd3f9c 100644 --- a/templates/panel_pages.html +++ b/templates/panel_pages.html @@ -36,7 +36,7 @@
-
+
\ No newline at end of file diff --git a/templates/panel_plugins.html b/templates/panel_plugins.html index d0a3e709..c361161b 100644 --- a/templates/panel_plugins.html +++ b/templates/panel_plugins.html @@ -5,16 +5,16 @@ {{range .ItemList}}
- {{.Name}}
- {{lang "panel_plugins_author_prefix"}}{{.Author}} + {{.Name}}
+ {{lang "panel_plugins_author_prefix"}}{{.Author}}
{{if .Settings}}{{lang "panel_plugins_settings"}}{{end}} - {{if .Active}}{{lang "panel_plugins_deactivate"}} + {{if .Active}}{{lang "panel_plugins_deactivate"}} {{else if .Installable}} {{/** TODO: Write a custom template interpreter to fix this nonsense **/}} - {{if .Installed}}{{lang "panel_plugins_activate"}}{{else}}{{lang "panel_plugins_install"}}{{end}} - {{else}}{{lang "panel_plugins_activate"}}{{end}} + {{if .Installed}}{{lang "panel_plugins_activate"}}{{else}}{{lang "panel_plugins_install"}}{{end}} + {{else}}{{lang "panel_plugins_activate"}}{{end}}
{{end}} diff --git a/templates/panel_themes.html b/templates/panel_themes.html index e941c7f4..bc156dc7 100644 --- a/templates/panel_themes.html +++ b/templates/panel_themes.html @@ -11,7 +11,7 @@ {{if .MobileFriendly}}📱{{end}} {{if .Tag}}{{.Tag}}{{end}} - {{if .Active}}{{lang "panel_themes_default"}}{{else}}{{lang "panel_themes_make_default"}}{{end}} + {{if .Active}}{{lang "panel_themes_default"}}{{else}}{{lang "panel_themes_make_default"}}{{end}}
{{end}} @@ -23,14 +23,14 @@
{{range .VariantThemes}}
- + {{.FriendlyName}}
{{lang "panel_themes_author_prefix"}}{{.Creator}}
{{if .MobileFriendly}}📱{{end}} {{if .Tag}}{{.Tag}}{{end}} - {{if .Active}}{{lang "panel_themes_default"}}{{else}}{{lang "panel_themes_make_default"}}{{end}} + {{if .Active}}{{lang "panel_themes_default"}}{{else}}{{lang "panel_themes_make_default"}}{{end}}
{{end}} diff --git a/templates/panel_themes_menus_item_edit.html b/templates/panel_themes_menus_item_edit.html index 26c0ca8d..1d961503 100644 --- a/templates/panel_themes_menus_item_edit.html +++ b/templates/panel_themes_menus_item_edit.html @@ -1,62 +1,62 @@ {{/** TODO: Set the order based on the order here **/}} {{/** TODO: Write the backend code and JS code for saving this menu **/}} -
-

{{lang "panel_themes_menus_edit_head"}}

-
-
-
- {{/** TODO: Let an admin move a menu item from one menu to another? **/}} - - - -
- -
- -
-
- - - - -
- -
-
-
-
- -
+
+

{{lang "panel_themes_menus_edit_head"}}

+
+ +
+ {{/** TODO: Let an admin move a menu item from one menu to another? **/}} + + + + - \ No newline at end of file + + + + +
+ +
+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/templates/panel_themes_menus_items.html b/templates/panel_themes_menus_items.html index 69cf156b..789691aa 100644 --- a/templates/panel_themes_menus_items.html +++ b/templates/panel_themes_menus_items.html @@ -11,7 +11,7 @@ {{.Name}} - +
{{end}}
@@ -21,7 +21,7 @@

{{lang "panel_themes_menus_create_head"}}

-
+
{{/** TODO: Let an admin move a menu item from one menu to another? **/}} diff --git a/templates/panel_themes_widgets.html b/templates/panel_themes_widgets.html index 59001d17..1b4e0be4 100644 --- a/templates/panel_themes_widgets.html +++ b/templates/panel_themes_widgets.html @@ -18,7 +18,7 @@ type Widget struct {
{{range $widget := $dock}} -
+
- + {{template "panel_themes_widgets_widget.html" .BlankWidget }} diff --git a/templates/panel_user_edit.html b/templates/panel_user_edit.html index bf4344d0..0f64bc72 100644 --- a/templates/panel_user_edit.html +++ b/templates/panel_user_edit.html @@ -2,9 +2,9 @@

{{lang "panel_user_head"}}