mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
60 lines
2.6 KiB
Handlebars
60 lines
2.6 KiB
Handlebars
<header class="page-header">
|
|
<button class="menu-button js-menu-button" {{action "toggleGlobalMobileNav"}}><span class="sr-only">Menu</span></button>
|
|
<h2 class="page-title">Settings</h2>
|
|
</header>
|
|
|
|
<div class="page-content">
|
|
|
|
<div class="settings-content">
|
|
|
|
<header class="settings-view-header">
|
|
<h2 class="page-title">Ugly Debug Tools</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>
|
|
<a class="btn btn-blue" {{action "exportData"}}>Export</a>
|
|
<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>
|
|
<a href="javascript:void(0);" class="btn btn-red js-delete" {{action "openModal" "deleteAll"}}>Delete</a>
|
|
<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="submit" id="sendtestmail" class="btn btn-blue" {{action "sendTestEmail"}}>Send</button>
|
|
<p>Sends a test email to your address.</p>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div> |