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
2017-11-23 05:37:08 +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" >
2017-08-27 09:33:45 +00:00
< div class = "rowitem" > < h1 > Users< / 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 >
< a href = "/user/{{.ID}}" class = "tag-mini profile_url" > Profile< / a >
2017-09-03 04:50:31 +00:00
{{if (.Tag) and (.IsSuperMod)}}< span style = "float: right;" > < span class = "panel_tag" style = "margin-left 4px;" > {{.Tag}}< / span > < / span > {{end}}
2017-05-29 14:52:37 +00:00
< span class = "panel_floater" >
2017-09-03 04:50:31 +00:00
{{if .IsBanned}}< a href = "/users/unban/{{.ID}}?session={{$.CurrentUser.Session}}" class = "panel_tag panel_right_button ban_button" > Unban< / a > {{else if not .IsSuperMod}}< a href = "/user/{{.ID}}#ban_user" class = "panel_tag panel_right_button ban_button" > Ban< / a > {{end}}
2017-05-29 14:52:37 +00:00
{{if not .Active}}< a href = "/users/activate/{{.ID}}?session={{$.CurrentUser.Session}}" class = "panel_tag panel_right_button" > 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}}
< div class = "pageset" >
{{if gt .Page 1}}< div class = "pageitem" > < a href = "?page={{subtract .Page 1}}" > Prev< / a > < / div > {{end}}
{{range .PageList}}
< div class = "pageitem" > < a href = "?page={{.}}" > {{.}}< / a > < / div >
{{end}}
{{if ne .LastPage .Page}}< div class = "pageitem" > < a href = "?page={{add .Page 1}}" > Next< / a > < / div > {{end}}
< / div >
{{end}}
2017-08-20 09:39:02 +00:00
< / main >
2017-11-23 05:37:08 +00:00
< / div >
{{template "footer.html" . }}