|
|
|
@ -11,27 +11,22 @@
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=adfafd">
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/dash.css?=asdfdf">
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block mainContent %}
|
|
|
|
|
<div id="settings-actions">
|
|
|
|
|
<div id="buttons">
|
|
|
|
|
<button id="save-toggle">
|
|
|
|
|
<svg id="submit-update" viewbox="0 0 20 20" class="icons">
|
|
|
|
|
<button id="save-toggle" title="save settings">
|
|
|
|
|
<svg id="submit-update" class="icons">
|
|
|
|
|
<use id="submit-update" xlink:href="/assets/images/global/sprite.svg#entypo-save"/>
|
|
|
|
|
</svg>
|
|
|
|
|
</button>
|
|
|
|
|
<button id="publish-pages">
|
|
|
|
|
<svg id="submit-update" viewbox="0 0 20 20" class="icons">
|
|
|
|
|
<button id="publish-pages" title="publish site">
|
|
|
|
|
<svg id="submit-update" class="icons">
|
|
|
|
|
<use id="submit-update" xlink:href="/assets/images/global/sprite.svg#entypo-publish"/>
|
|
|
|
|
</svg>
|
|
|
|
|
</button>
|
|
|
|
|
<button id="render-toggle" data-render="{{render}}">
|
|
|
|
|
<svg id="submit-update" viewbox="0 0 20 20" class="icons">
|
|
|
|
|
<use id="submit-update" xlink:href="/assets/images/global/sprite.svg#entypo-ccw"/>
|
|
|
|
|
</svg>
|
|
|
|
|
</button>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="site-background">
|
|
|
|
@ -42,39 +37,49 @@
|
|
|
|
|
<div id="settings-index">
|
|
|
|
|
<div id="settings-index-wrapper">
|
|
|
|
|
<div id="member-settings" class="columns">
|
|
|
|
|
<div id="member-settings-1" class="column">
|
|
|
|
|
<label> AVATAR </label>
|
|
|
|
|
<div id="member-settings-1" class="column is-one-third">
|
|
|
|
|
<div id="member-avatar-drop">
|
|
|
|
|
<img id="avatar" src="{{member['avatar']}}" for="avatar-upload"/>
|
|
|
|
|
<input id="avatar-upload" type="file" name="avatar-upload" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="member-settings-2" class="column">
|
|
|
|
|
<label>INFO</label>
|
|
|
|
|
<input type='text' name='handle' id='settings-handle' placeholder='handle' value="{{member['handle']}}" autofocus />
|
|
|
|
|
<input type='text' name='email' id='settings-email' placeholder='email' value="{{member['email']}}" autofocus />
|
|
|
|
|
<input type='text' name='base-url' id='settings-url' placeholder='url' value="{{baseUrl}}" autofocus />
|
|
|
|
|
<input type='text' name='base-title' id='settings-title' placeholder='site title' value="{{siteTitle}}" autofocus />
|
|
|
|
|
<textarea id="settings-desc" type='text' name='settings_desc' class='settings-dec' placeholder='description stuff', autofocus>{{desc}}</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="column is-three-fifths">
|
|
|
|
|
<div class="columns">
|
|
|
|
|
<div id="member-settings-2" class="column">
|
|
|
|
|
<input type='text' name='handle' id='settings-handle' placeholder='handle' value="{{member['handle']}}" autofocus />
|
|
|
|
|
<input type='text' name='email' id='settings-email' placeholder='email' value="{{member['email']}}" autofocus />
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div id="member-settings-3" class="column">
|
|
|
|
|
<input type='text' name='base-url' id='settings-url' placeholder='url' value="{{baseUrl}}" autofocus />
|
|
|
|
|
<input type='text' name='base-title' id='settings-title' placeholder='site title' value="{{siteTitle}}" autofocus />
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="columns">
|
|
|
|
|
<div class="column is-full">
|
|
|
|
|
<textarea id="settings-desc" type='text' name='settings_desc' class='settings-dec' placeholder='description stuff', autofocus>{{desc}}</textarea>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div id="member-utils" class="columns">
|
|
|
|
|
<div id="util-1" class="column">
|
|
|
|
|
<label>BACK UP TOOLS</label> <br />
|
|
|
|
|
<button id="create-backup">CREATE BACK UP</button><br />
|
|
|
|
|
<div id="util-1" class="column is-one-third">
|
|
|
|
|
<button id="create-backup">BACK UP YOUR SITE</button><br />
|
|
|
|
|
</div>
|
|
|
|
|
<div id="util-2" class="column is-three-fifths">
|
|
|
|
|
{% if lastBackup != '' %}
|
|
|
|
|
<div class="backup-meta">
|
|
|
|
|
The last back up was created <a href="/api/v1/files">{{lastBackup}}</a><br />
|
|
|
|
|
LAST BACK UP <a href="/api/v1/files">{{lastBackup}}</a><br />
|
|
|
|
|
</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
<span>span No back ups. Frowny face.</span>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
<div id="util-2" class="column">
|
|
|
|
|
<label> MAINTENANCE </label><br />
|
|
|
|
|
<button id="reindex-pages">REINDEX PAGES</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div id="option-settings" class="columns">
|
|
|
|
|
<div id="theme-settings" class="column">
|
|
|
|
|