2014-05-15 08:00:15 +04:00
|
|
|
<header class="fade-in">
|
2014-03-10 07:44:08 +04:00
|
|
|
<h2 class="title">General</h2>
|
|
|
|
</header>
|
2014-05-15 08:00:15 +04:00
|
|
|
<section class="content fade-in">
|
2014-03-10 07:44:08 +04:00
|
|
|
<form id="settings-export">
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Export</label>
|
2014-04-08 02:01:46 +04:00
|
|
|
<a class="button-save" {{bind-attr href=model.exportPath}}>Export</a>
|
2014-03-10 07:44:08 +04:00
|
|
|
<p>Export the blog settings and data.</p>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
2014-04-08 02:01:46 +04:00
|
|
|
{{#gh-form id="settings-import" enctype="multipart/form-data"}}
|
2014-03-10 07:44:08 +04:00
|
|
|
<fieldset>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Import</label>
|
2014-04-08 02:01:46 +04:00
|
|
|
{{file-upload onUpload="importData" uploadButtonText=uploadButtonText}}
|
2014-03-10 07:44:08 +04:00
|
|
|
<p>Import from another Ghost installation. If you import a user, this will replace the current user & log you out.</p>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
2014-04-08 02:01:46 +04:00
|
|
|
{{/gh-form}}
|
2014-03-10 07:44:08 +04:00
|
|
|
<form id="settings-resetdb">
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Delete all Content</label>
|
2014-03-31 08:07:05 +04:00
|
|
|
<a href="javascript:void(0);" class="button-delete js-delete" {{action "openModal" "deleteAll"}}>Delete</a>
|
2014-03-10 07:44:08 +04:00
|
|
|
<p>Delete all posts and tags from the database.</p>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
2014-04-08 02:01:46 +04:00
|
|
|
<form id="settings-testmail">
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Send a test email</label>
|
|
|
|
<button type="submit" id="sendtestmail" class="button-save" {{action "sendTestEmail"}}>Send</button>
|
|
|
|
<p>Sends a test email to your address.</p>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</section>
|