a8e1076f7c
Added an ETag for the alerts endpoint when you're not logged to save bandwidth. The Page Manager now uses dyntmpl. The Setting Manager now uses dyntmpl. The Word Filter Manager now uses dyntmpl. Fixed the padding on the noavatar alerts for Nox. Tweaked the panel_word_filters_to phrase. Tweaked the panel_statistics_memory_head phrase. Added the panel_statistics_memory_chart_aria phrase. Added the panel_statistics_memory_table_aria phrase. Added the panel_statistics_memory_no_memory phrase.
42 lines
2.0 KiB
HTML
42 lines
2.0 KiB
HTML
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><h1>{{lang "panel_pages_head"}}</h1></div>
|
|
</div>
|
|
<div id="panel_pages" class="colstack_item rowlist">
|
|
{{range .ItemList}}
|
|
<div class="rowitem panel_compactrow">
|
|
<a href="/panel/pages/edit/{{.ID}}" class="panel_upshift">{{.Title}}</a> <a href="/pages/{{.Name}}">[{{.Name}}]</a>
|
|
<span class="panel_buttons">
|
|
<a href="/panel/pages/edit/{{.ID}}" class="panel_tag panel_right_button edit_button" aria-label="{{lang "panel_pages_edit_button_aria"}}"></a>
|
|
<a href="/panel/pages/delete/submit/{{.ID}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button delete_button" aria-label="{{lang "panel_pages_delete_button_aria"}}"></a>
|
|
</span>
|
|
</div>
|
|
{{else}}
|
|
<div class="rowitem rowmsg">
|
|
<a>{{lang "panel_pages_no_pages"}}</a>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><h1>{{lang "panel_pages_create_head"}}</h1></div>
|
|
</div>
|
|
<div class="colstack_item the_form">
|
|
<form action="/panel/pages/create/submit/?session={{.CurrentUser.Session}}" method="post">
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>{{lang "panel_pages_create_name"}}</a></div>
|
|
<div class="formitem"><input name="name" type="text" placeholder="{{lang "panel_pages_create_name_placeholder"}}" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem formlabel"><a>{{lang "panel_pages_create_title"}}</a></div>
|
|
<div class="formitem"><input name="title" type="text" placeholder="{{lang "panel_pages_create_title_placeholder"}}" /></div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem">
|
|
<textarea name="body" placeholder="{{lang "panel_pages_create_body_placeholder"}}"></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="formrow">
|
|
<div class="formitem"><button name="panel-button" class="formbutton form_middle_button">{{lang "panel_pages_create_submit_button"}}</button></div>
|
|
</div>
|
|
</form>
|
|
</div> |