65b4fef40e
Shorten more things. Sneak draft tables in. Add the profile_block phrase. Add the panel_debug_memory_stats phrase. Add the panel_debug_memory_stats_sys phrase. Add the panel_debug_memory_stats_heapsys phrase. Add the panel_debug_memory_stats_heapalloc phrase. Add the panel_debug_memory_stats_heapidle phrase. Add the panel_debug_memory_stats_heapobjects phrase. Add the panel_debug_memory_stats_stackinuse phrase. Add the panel_debug_caches phrase. Add the panel_debug_caches_topic phrase. Add the panel_debug_caches_user phrase. Add the panel_debug_caches_reply phrase. Add the panel_debug_caches_topic_list phrase. Add the panel_debug_database phrase. Add the panel_debug_database_topics phrase. Add the panel_debug_database_users phrase. Add the panel_debug_database_replies phrase. Add the panel_debug_disk phrase.
39 lines
2.1 KiB
HTML
39 lines
2.1 KiB
HTML
{{template "header.html" . }}
|
|
<div class="colstack panel_stack">
|
|
{{template "panel_group_menu.html" . }}
|
|
<main class="colstack_right">
|
|
{{template "panel_before_head.html" . }}
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><h1>{{.Name}}{{lang "panel_group_head_suffix"}}</h1></div>
|
|
</div>
|
|
<div id="panel_group" class="colstack_item the_form">
|
|
<form action="/panel/groups/edit/submit/{{.ID}}?s={{.CurrentUser.Session}}" method="post">
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>{{lang "panel_group_name"}}</a></div>
|
|
<div class="formitem"><input name="group-name" type="text" value="{{.Name}}" placeholder="{{lang "panel_group_name_placeholder"}}" /></div>
|
|
</div>
|
|
{{if .CurrentUser.Perms.EditGroup}}
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>{{lang "panel_group_type"}}</a></div>
|
|
<div class="formitem">
|
|
<select name="group-type"{{if .DisableRank}} disabled{{end}}>
|
|
<option value="Guest"{{if eq .Rank "Guest"}} selected{{end}} disabled>{{lang "panel_groups_rank_guest"}}</option>
|
|
<option value="Member"{{if eq .Rank "Member"}} selected{{end}}>{{lang "panel_groups_rank_member"}}</option>
|
|
<option value="Mod"{{if eq .Rank "Mod"}} selected{{end}}{{if not .CurrentUser.Perms.EditGroupSuperMod}} disabled{{end}}>{{lang "panel_groups_rank_mod"}}</option>
|
|
<option value="Admin"{{if eq .Rank "Admin"}} selected{{end}}{{if not .CurrentUser.Perms.EditGroupAdmin}} disabled{{end}}>{{lang "panel_groups_rank_admin"}}</option>
|
|
<option value="Banned"{{if eq .Rank "Banned"}} selected{{end}}>{{lang "panel_groups_rank_banned"}}</option>
|
|
</select>
|
|
</div>
|
|
</div>{{end}}
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>{{lang "panel_group_tag"}}</a></div>
|
|
<div class="formitem"><input name="group-tag" type="text" value="{{.Tag}}" placeholder="{{lang "panel_group_tag_placeholder"}}" /></div>
|
|
</div>
|
|
<div class="formrow form_button_row">
|
|
<div class="formitem"><button name="panel-button" class="formbutton">{{lang "panel_group_update_button"}}</button></div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
{{template "footer.html" . }} |