From 46dbb10433392a53abe715013a01ea63a0589d7a Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Tue, 25 Feb 2020 14:28:34 -0500 Subject: [PATCH] Make Admin Settings page more user-friendly - Add a description to each config item - Change item names to make more sense Ref T694 --- less/admin.less | 29 +++++ less/core.less | 14 --- templates/user/admin/app-settings.tmpl | 147 ++++++++++++++++++------- 3 files changed, 137 insertions(+), 53 deletions(-) diff --git a/less/admin.less b/less/admin.less index ec49292..d9d659e 100644 --- a/less/admin.less +++ b/less/admin.less @@ -54,4 +54,33 @@ nav#admin { font-family: @sansFont; font-size: 0.86em; } +} + +.features { + margin: 1em 0; + + div { + &:first-child { + font-weight: bold; + } + &+div { + padding-left: 1em; + } + + p { + font-weight: normal; + margin: 0.5rem 0; + font-size: 0.86em; + color: #666; + } + } +} + +@media (max-width: 600px) { + div.row.features { + align-items: start; + } + .features div + div { + padding-left: 0; + } } \ No newline at end of file diff --git a/less/core.less b/less/core.less index 231f373..7232660 100644 --- a/less/core.less +++ b/less/core.less @@ -868,20 +868,6 @@ input { text-align: center; } } - div.features { - margin-top: 1.5em; - text-align: center; - font-size: 0.86em; - ul { - text-align: left; - max-width: 26em; - margin-left: auto !important; - margin-right: auto !important; - li.soon, span.soon { - color: lighten(#111, 40%); - } - } - } div.blurbs { >h2 { text-align: center; diff --git a/templates/user/admin/app-settings.tmpl b/templates/user/admin/app-settings.tmpl index 4af6a44..3e0fdf7 100644 --- a/templates/user/admin/app-settings.tmpl +++ b/templates/user/admin/app-settings.tmpl @@ -24,55 +24,124 @@ p.docs { {{if .ConfigMessage}}

{{.ConfigMessage}}

{{end}} -

Read more in the configuration docs.

-
-
-
-
+ +
+
+