mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
0b1497a75b
closes #1993 - remove the feature/config flag that means code injection has to be enabled
48 lines
1.9 KiB
Handlebars
48 lines
1.9 KiB
Handlebars
<header class="settings-view-header">
|
|
{{#link-to "settings" class="btn btn-default btn-back"}}Back{{/link-to}}
|
|
<h2 class="page-title">Labs</h2>
|
|
</header>
|
|
|
|
|
|
<section class="content settings-debug">
|
|
<p><strong>Important note:</strong> Labs is a testing ground for experimental features which aren't quite ready for primetime. They may change, break or inexplicably disappear at any time.</p>
|
|
<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>
|
|
|
|
</section>
|