0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/views/debug.hbs

41 lines
1.7 KiB
Handlebars
Raw Normal View History

2013-05-11 11:44:25 -05:00
{{!< default}}
<div id="debug-page" class="wrapper">
2013-05-11 11:44:25 -05:00
<aside class="settings-sidebar" role="complementary">
<header>
<h1 class="title">Ugly Debug Tools</h1>
</header>
<nav class="settings-menu">
<ul>
<li><a class="general" href="javascript:void(0);">General</a></li>
</ul>
</nav>
2013-05-11 11:44:25 -05:00
</aside>
<section id="debug-general" class="settings-content" style="display: block">
<header>
<h2 class="title">General</h2>
</header>
<section class="content">
<form id="settings-export">
2013-10-17 14:36:32 -05:00
<input type="hidden" name="_csrf" value="{{csrfToken}}" />
<fieldset>
2013-09-16 12:53:09 -05:00
<div class="form-group">
<label>Export</label>
<a href="/api/v0.1/db/" class="button-save">Export</a>
<p>Export the blog settings and data.</p>
2013-09-16 12:53:09 -05:00
</div>
</fieldset>
</form>
<form id="settings-import" method="post" action="/api/v0.1/db/" enctype="multipart/form-data">
2013-10-17 14:36:32 -05:00
<input type="hidden" name="_csrf" value="{{csrfToken}}" />
<fieldset>
2013-09-16 12:53:09 -05:00
<div class="form-group">
<label>Import</label>
2013-10-17 14:36:32 -05:00
<input type="file" class="button-add" name="importfile" />
<input type="submit" class="button-save" value="Import" />
<p>Import from another Ghost installation. If you import a user, this will replace the current user & log you out.</p>
2013-09-16 12:53:09 -05:00
</div>
</fieldset>
</form>
</section>
2013-05-11 11:44:25 -05:00
</section>
</div>