2016-12-13 02:14:14 +00:00
{{template "header.html" . }}
2017-12-27 23:38:37 +00:00
< div class = "colstack panel_stack" >
2017-05-29 14:52:37 +00:00
2018-06-06 00:21:22 +00:00
{{template "panel_menu.html" . }}
2017-08-20 09:39:02 +00:00
< main class = "colstack_right" >
2017-03-18 07:23:02 +00:00
< div class = "colstack_item colstack_head" >
2018-03-11 09:33:49 +00:00
< div class = "rowitem" > < h1 > {{lang "panel_users_head"}}< / h1 > < / div >
2017-03-18 07:23:02 +00:00
< / div >
2017-07-29 10:36:39 +00:00
< div id = "panel_users" class = "colstack_item rowlist bgavatars" >
2017-03-18 07:23:02 +00:00
{{range .ItemList}}
2017-12-10 03:43:30 +00:00
< div class = "rowitem editable_parent" style = "background-image: url('{{.Avatar}}');" >
2017-12-19 03:53:13 +00:00
< img class = "bgsub" src = "{{.Avatar}}" alt = "{{.Name}}'s Avatar" / >
2018-01-22 08:15:45 +00:00
< a class = "rowTitle editable_block" { { if $ . CurrentUser . Perms . EditUser } } href = "/panel/users/edit/{{.ID}}?session={{$.CurrentUser.Session}}" { { end } } > {{.Name}}< / a >
2018-05-27 09:36:35 +00:00
< a href = "{{.Link}}" class = "tag-mini profile_url" > {{lang "panel_users_profile"}}< / a >
2018-08-10 07:58:25 +00:00
{{if (.Tag) and (.IsSuperMod)}}< span class = "to_right" > < span class = "panel_tag" > {{.Tag}}< / span > < / span > {{end}}
2017-05-29 14:52:37 +00:00
< span class = "panel_floater" >
2018-03-11 09:33:49 +00:00
{{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}}
2017-03-18 07:23:02 +00:00
< / span >
< / div >
{{end}}
2016-12-13 02:14:14 +00:00
< / div >
2017-08-17 11:13:49 +00:00
{{if gt .LastPage 1}}
2018-03-11 09:33:49 +00:00
{{template "paginator.html" . }}
2017-08-17 11:13:49 +00:00
{{end}}
2017-08-20 09:39:02 +00:00
< / main >
2017-11-23 05:37:08 +00:00
< / div >
{{template "footer.html" . }}