github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/panel_pages.html (about)

     1  <div class="colstack_item colstack_head">
     2  	<div class="rowitem"><h1>{{lang "panel_pages_head"}}</h1></div>
     3  </div>
     4  <div id="panel_pages"class="colstack_item rowlist">
     5  	{{range .ItemList}}
     6  	<div class="rowitem panel_compactrow">
     7  		<a href="/panel/pages/edit/{{.ID}}"class="panel_upshift">{{.Title}}</a>&nbsp;<a href="/pages/{{.Name}}">[{{.Name}}]</a>
     8  		<span class="panel_buttons">
     9  			<a href="/panel/pages/edit/{{.ID}}"class="panel_tag panel_right_button edit_button"aria-label="{{lang "panel_pages_edit_button_aria"}}"></a>
    10  			<a href="/panel/pages/delete/submit/{{.ID}}?s={{$.CurrentUser.Session}}"class="panel_tag panel_right_button delete_button"aria-label="{{lang "panel_pages_delete_button_aria"}}"></a>
    11  		</span>
    12  	</div>
    13  	{{else}}
    14  	<div class="rowitem rowmsg">
    15  		<a>{{lang "panel_pages_no_pages"}}</a>
    16  	</div>
    17  	{{end}}
    18  </div>
    19  
    20  <div class="colstack_item colstack_head">
    21  	<div class="rowitem"><h1>{{lang "panel_pages_create_head"}}</h1></div>
    22  </div>
    23  <div class="colstack_item the_form">
    24  	<form action="/panel/pages/create/submit/?s={{.CurrentUser.Session}}"method="post">
    25  		<div class="formrow">
    26  			<div class="formitem formlabel"><a>{{lang "panel_pages_create_name"}}</a></div>
    27  			<div class="formitem"><input name="name"type="text"placeholder="{{lang "panel_pages_create_name_placeholder"}}"></div>
    28  		</div>
    29  		<div class="formrow">
    30  			<div class="formitem formlabel"><a>{{lang "panel_pages_create_title"}}</a></div>
    31  			<div class="formitem"><input name="title"type="text"placeholder="{{lang "panel_pages_create_title_placeholder"}}"></div>
    32  		</div>
    33  		<div class="formrow">
    34  			<div class="formitem">
    35  				<textarea name="body"placeholder="{{lang "panel_pages_create_body_placeholder"}}"></textarea>
    36  			</div>
    37  		</div>
    38  		<div class="formrow">
    39  			<div class="formitem"><button name="panel-button"class="formbutton form_middle_button">{{lang "panel_pages_create_button"}}</button></div>
    40  		</div>
    41  	</form>
    42  </div>