2013-05-11 20:44:25 +04:00
|
|
|
{{!< default}}
|
2013-06-24 00:55:03 +04:00
|
|
|
<div id="debug-page" class="wrapper">
|
2013-05-11 20:44:25 +04:00
|
|
|
<aside class="settings-sidebar" role="complementary">
|
2013-05-19 12:04:20 +04:00
|
|
|
<header>
|
|
|
|
<h1 class="title">Ugly Debug Tools</h1>
|
|
|
|
</header>
|
|
|
|
<nav class="settings-menu">
|
|
|
|
<ul>
|
2013-06-24 00:55:03 +04:00
|
|
|
<li><a class="general" href="javascript:void(0);">General</a></li>
|
2013-05-19 12:04:20 +04:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2013-05-11 20:44:25 +04:00
|
|
|
</aside>
|
2013-06-24 00:55:03 +04:00
|
|
|
<section id="debug-general" class="settings-content" style="display: block">
|
2013-05-19 12:04:20 +04:00
|
|
|
<header>
|
|
|
|
<h2 class="title">General</h2>
|
|
|
|
</header>
|
|
|
|
<section class="content">
|
2013-06-24 00:55:03 +04:00
|
|
|
<form id="settings-export">
|
2013-10-17 23:36:32 +04:00
|
|
|
<input type="hidden" name="_csrf" value="{{csrfToken}}" />
|
2013-05-19 12:04:20 +04:00
|
|
|
<fieldset>
|
2013-09-16 21:53:09 +04:00
|
|
|
<div class="form-group">
|
|
|
|
<label>Export</label>
|
2014-01-03 04:37:21 +04:00
|
|
|
<a href="{{adminUrl}}/api/v0.1/db/" class="button-save">Export</a>
|
2013-06-24 00:55:03 +04:00
|
|
|
<p>Export the blog settings and data.</p>
|
2013-09-16 21:53:09 +04:00
|
|
|
</div>
|
2013-06-24 00:55:03 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2014-01-06 18:05:31 +04:00
|
|
|
<form id="settings-import" enctype="multipart/form-data">
|
2013-06-24 00:55:03 +04:00
|
|
|
<fieldset>
|
2013-09-16 21:53:09 +04:00
|
|
|
<div class="form-group">
|
|
|
|
<label>Import</label>
|
2014-01-06 18:05:31 +04:00
|
|
|
<input type="file" class="button-add" name="importfile" id="importfile" />
|
|
|
|
<button type="submit" class="button-save" value="Import" id="startupload" >Import</button>
|
2013-08-03 19:11:16 +04:00
|
|
|
<p>Import from another Ghost installation. If you import a user, this will replace the current user & log you out.</p>
|
2013-09-16 21:53:09 +04:00
|
|
|
</div>
|
2013-06-24 00:55:03 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2013-12-25 04:05:20 +04:00
|
|
|
<form id="settings-resetdb">
|
|
|
|
<fieldset>
|
|
|
|
<div class="form-group">
|
|
|
|
<label>Delete all Content</label>
|
|
|
|
<a href="javascript:void(0);" class="button-delete js-delete">Delete</a>
|
|
|
|
<p>Delete all posts and tags from the database.</p>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</form>
|
2013-05-19 12:04:20 +04:00
|
|
|
</section>
|
2013-05-11 20:44:25 +04:00
|
|
|
</section>
|
2013-11-27 06:00:55 +04:00
|
|
|
</div>
|