Almost finished up the buttons on the User Manager for Nox.
This commit is contained in:
parent
9e8f455bbb
commit
6f5065c854
|
@ -11,8 +11,8 @@
|
||||||
<div class="rowitem editable_parent" style="background-image: url('{{.Avatar}}');">
|
<div class="rowitem editable_parent" style="background-image: url('{{.Avatar}}');">
|
||||||
<img class="bgsub" src="{{.Avatar}}" alt="{{.Name}}'s Avatar" />
|
<img class="bgsub" src="{{.Avatar}}" alt="{{.Name}}'s Avatar" />
|
||||||
<a class="rowTitle editable_block"{{if $.CurrentUser.Perms.EditUser}} href="/panel/users/edit/{{.ID}}?session={{$.CurrentUser.Session}}"{{end}}>{{.Name}}</a>
|
<a class="rowTitle editable_block"{{if $.CurrentUser.Perms.EditUser}} href="/panel/users/edit/{{.ID}}?session={{$.CurrentUser.Session}}"{{end}}>{{.Name}}</a>
|
||||||
<a href="{{.Link}}" class="tag-mini profile_url">{{lang "panel_users_profile"}}</a>
|
|
||||||
<span class="panel_floater">
|
<span class="panel_floater">
|
||||||
|
<a href="{{.Link}}" class="tag-mini profile_url">{{lang "panel_users_profile"}}</a>
|
||||||
{{if (.Tag) and (.IsSuperMod)}}<span class="panel_tag">{{.Tag}}</span></span>{{end}}
|
{{if (.Tag) and (.IsSuperMod)}}<span class="panel_tag">{{.Tag}}</span></span>{{end}}
|
||||||
{{if .IsBanned}}<a href="/users/unban/{{.ID}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button ban_button">{{lang "panel_users_unban"}}</a>{{else if not .IsSuperMod}}<a href="/user/{{.ID}}#ban_user" class="panel_tag panel_right_button ban_button">{{lang "panel_users_ban"}}</a>{{end}}
|
{{if .IsBanned}}<a href="/users/unban/{{.ID}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button ban_button">{{lang "panel_users_unban"}}</a>{{else if not .IsSuperMod}}<a href="/user/{{.ID}}#ban_user" class="panel_tag panel_right_button ban_button">{{lang "panel_users_ban"}}</a>{{end}}
|
||||||
{{if not .Active}}<a href="/users/activate/{{.ID}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button">{{lang "panel_users_activate"}}</a>{{end}}
|
{{if not .Active}}<a href="/users/activate/{{.ID}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button">{{lang "panel_users_activate"}}</a>{{end}}
|
||||||
|
|
|
@ -82,6 +82,13 @@
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
margin-right: 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 {
|
.edit_button:after, .delete_button:after {
|
||||||
font: normal normal normal 14px/1 FontAwesome;
|
font: normal normal normal 14px/1 FontAwesome;
|
||||||
padding-left: 12px;
|
padding-left: 12px;
|
||||||
|
|
|
@ -130,18 +130,27 @@ button, .formbutton {
|
||||||
/*background: rgb(110,110,210);
|
/*background: rgb(110,110,210);
|
||||||
color: rgb(250,250,250);*/
|
color: rgb(250,250,250);*/
|
||||||
}
|
}
|
||||||
button, .formbutton, .panel_right_button {
|
button, .formbutton, .panel_right_button, #panel_users .profile_url {
|
||||||
background: rgb(100,100,200);
|
background: rgb(100,100,200);
|
||||||
}
|
}
|
||||||
|
#panel_users .panel_tag:not(.panel_right_button) {
|
||||||
|
background: rgb(50,150,50);
|
||||||
|
}
|
||||||
/*.formlabel {
|
/*.formlabel {
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
}*/
|
}*/
|
||||||
.panel_right_button {
|
.panel_right_button, #panel_users .panel_tag:not(.panel_right_button), #panel_users .profile_url {
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
padding-left: 6px;
|
padding-left: 6px;
|
||||||
padding-right: 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 {
|
.edit_button:after {
|
||||||
content: "{{index .Phrases "panel_edit_button_text"}}";
|
content: "{{index .Phrases "panel_edit_button_text"}}";
|
||||||
}
|
}
|
||||||
|
@ -214,6 +223,8 @@ button, .formbutton, .panel_right_button {
|
||||||
}
|
}
|
||||||
#panel_users .rowitem .panel_floater {
|
#panel_users .rowitem .panel_floater {
|
||||||
order: 2;
|
order: 2;
|
||||||
|
margin-top: 8px;
|
||||||
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panel_submitrow {
|
.panel_submitrow {
|
||||||
|
|
|
@ -67,6 +67,14 @@
|
||||||
#panel_forums .panel_buttons {
|
#panel_forums .panel_buttons {
|
||||||
margin-left: 3px;
|
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_admin:before { content: "👑"; }
|
||||||
.panel_rank_tag_mod:before { content: "👮"; }
|
.panel_rank_tag_mod:before { content: "👮"; }
|
||||||
|
|
Loading…
Reference in New Issue