0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/templates/settings/labs.hbs

75 lines
3 KiB
Handlebars
Raw Normal View History

<header class="settings-view-header">
<h2 class="page-title">Labs</h2>
<div class="js-settings-header-inner settings-header-inner">
{{#link-to 'settings' class='btn btn-default btn-back'}}Back{{/link-to}}
</div>
</header>
<section class="content settings-debug">
<form id="settings-export">
<fieldset>
<div class="form-group">
<label>Export</label>
<button type="button" class="btn btn-blue" {{action "exportData"}}>Export</button>
<p>Export the blog settings and data.</p>
</div>
</fieldset>
</form>
{{#gh-form id="settings-import" enctype="multipart/form-data"}}
<fieldset>
<div class="form-group">
<label>Import</label>
{{partial "import-errors"}}
{{gh-file-upload id="importfile" uploadButtonText=uploadButtonText}}
<p>Import from another Ghost installation. If you import a user, this will replace the current user & log you out.</p>
</div>
</fieldset>
{{/gh-form}}
<form id="settings-resetdb">
<fieldset>
<div class="form-group">
<label>Delete all Content</label>
<button type="button" class="btn btn-red js-delete" {{action "openModal" "deleteAll"}}>Delete</button>
<p>Delete all posts and tags from the database.</p>
</div>
</fieldset>
</form>
<form id="settings-testmail">
<fieldset>
<div class="form-group">
<label>Send a test email</label>
<button type="button" id="sendtestmail" class="btn btn-blue" {{action "sendTestEmail"}}>Send</button>
<p>Sends a test email to your address.</p>
</div>
</fieldset>
</form>
2014-12-14 17:56:04 +00:00
<hr>
<form>
<fieldset>
<div class="form-group for-checkbox">
<label for="labs-tagsUI">Tag Management</label>
<label class="checkbox" for="labs-tagsUI">
{{input id="labs-tagsUI" name="labs[tagsUI]" type="checkbox" checked=useTagsUI}}
<span class="input-toggle-component"></span>
<p>Enable the tag management interface (work in progress)</p>
<p>A settings screen which enables you to add, edit and delete tags</p>
</label>
</div>
<div class="form-group for-checkbox">
<label for="labs-codeInjectionUI">Code Injection</label>
<label class="checkbox" for="labs-codeInjectionUI">
{{input id="labs-codeInjectionUI" name="labs[codeInjectionUI]" type="checkbox" checked=useCodeInjectionUI}}
<span class="input-toggle-component"></span>
<p>Enable the code injection interface (work in progress)</p>
<p>A settings screen which enables you to add code into your theme</p>
</label>
</div>
</fieldset>
</form>
</section>