From 6f5065c854f7e96da498816dc9de7e1843a46447 Mon Sep 17 00:00:00 2001 From: Azareal Date: Thu, 16 Aug 2018 21:16:02 +1000 Subject: [PATCH] Almost finished up the buttons on the User Manager for Nox. --- templates/panel_users.html | 2 +- themes/cosora/public/panel.css | 7 +++++++ themes/nox/public/panel.css | 15 +++++++++++++-- themes/tempra-simple/public/panel.css | 8 ++++++++ 4 files changed, 29 insertions(+), 3 deletions(-) diff --git a/templates/panel_users.html b/templates/panel_users.html index b1f019fb..b820d1bb 100644 --- a/templates/panel_users.html +++ b/templates/panel_users.html @@ -11,8 +11,8 @@
{{.Name}}'s Avatar {{.Name}} - {{lang "panel_users_profile"}} + {{lang "panel_users_profile"}} {{if (.Tag) and (.IsSuperMod)}}{{.Tag}}{{end}} {{if .IsBanned}}{{lang "panel_users_unban"}}{{else if not .IsSuperMod}}{{lang "panel_users_ban"}}{{end}} {{if not .Active}}{{lang "panel_users_activate"}}{{end}} diff --git a/themes/cosora/public/panel.css b/themes/cosora/public/panel.css index 2462e8b2..91a889c7 100644 --- a/themes/cosora/public/panel.css +++ b/themes/cosora/public/panel.css @@ -82,6 +82,13 @@ margin-bottom: 0px; margin-right: 0px; } +#panel_users .panel_floater:before { + display: none; +} +#panel_users .panel_floater { + text-align: center; + flex-direction: column; +} .edit_button:after, .delete_button:after { font: normal normal normal 14px/1 FontAwesome; padding-left: 12px; diff --git a/themes/nox/public/panel.css b/themes/nox/public/panel.css index 9f25551a..5f9bf638 100644 --- a/themes/nox/public/panel.css +++ b/themes/nox/public/panel.css @@ -130,18 +130,27 @@ button, .formbutton { /*background: rgb(110,110,210); color: rgb(250,250,250);*/ } -button, .formbutton, .panel_right_button { +button, .formbutton, .panel_right_button, #panel_users .profile_url { background: rgb(100,100,200); } +#panel_users .panel_tag:not(.panel_right_button) { + background: rgb(50,150,50); +} /*.formlabel { font-size: 17px; }*/ -.panel_right_button { +.panel_right_button, #panel_users .panel_tag:not(.panel_right_button), #panel_users .profile_url { margin-left: 2px; padding: 5px; padding-left: 6px; padding-right: 6px; } +#panel_users .panel_tag:not(.panel_right_button), #panel_users .profile_url { + color: rgb(250,250,250); + font-size: 15px; + text-align: center; + border-radius: 3px; +} .edit_button:after { content: "{{index .Phrases "panel_edit_button_text"}}"; } @@ -214,6 +223,8 @@ button, .formbutton, .panel_right_button { } #panel_users .rowitem .panel_floater { order: 2; + margin-top: 8px; + margin-right: auto; } .panel_submitrow { diff --git a/themes/tempra-simple/public/panel.css b/themes/tempra-simple/public/panel.css index 994e8717..8d20d844 100644 --- a/themes/tempra-simple/public/panel.css +++ b/themes/tempra-simple/public/panel.css @@ -67,6 +67,14 @@ #panel_forums .panel_buttons { margin-left: 3px; } +#panel_users .panel_floater { + margin-left: 2px; + float: none; +} +#panel_users .panel_tag { + float: right; + margin-top: -3px; +} .panel_rank_tag_admin:before { content: "👑"; } .panel_rank_tag_mod:before { content: "👮"; }