From 8e7d44ec5763ca8484ae36b4d0a25a3c4cdcaa64 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 11 Apr 2023 15:03:12 +0200 Subject: [PATCH] Settings ui polish --- app/static/js/App.js | 4 +++ app/templates/admin/user_settings.html.j2 | 31 +++++++--------- app/templates/users/settings/settings.html.j2 | 35 ++++++++++++------- 3 files changed, 39 insertions(+), 31 deletions(-) diff --git a/app/static/js/App.js b/app/static/js/App.js index 6d54a7a5..0741592d 100644 --- a/app/static/js/App.js +++ b/app/static/js/App.js @@ -60,6 +60,10 @@ class App { iconPrefix = 'J'; break; } + case 'settings': { + iconPrefix = 'settings'; + break; + } default: { iconPrefix = 'notifications'; break; diff --git a/app/templates/admin/user_settings.html.j2 b/app/templates/admin/user_settings.html.j2 index 527e96d2..48391a71 100644 --- a/app/templates/admin/user_settings.html.j2 +++ b/app/templates/admin/user_settings.html.j2 @@ -19,25 +19,18 @@ keyboard_arrow_right
-
-
-

check

-
-
-

- Confirmed
- Change confirmation status manually. -

-
-
-
- -
+
+

check

+

+ Confirmed
+ Change confirmation status manually. +

+
+
+
diff --git a/app/templates/users/settings/settings.html.j2 b/app/templates/users/settings/settings.html.j2 index f862840d..3f028e7a 100644 --- a/app/templates/users/settings/settings.html.j2 +++ b/app/templates/users/settings/settings.html.j2 @@ -20,21 +20,32 @@
  • - Profile Privacy + Privacy keyboard_arrow_right
    -
    -
    -
    - -
    +
    +

    public

    +

    + Public status
    + Choose whether your profile is visible to other users. +

    +
    +
    +
    +
    +
    +

    badge

    +

    + Public data
    + Choose which data is visible on your profile. +

    +
    +
  • - Profile information + Information keyboard_arrow_right