2015-06-13 09:34:09 -05:00
<section class="gh-view">
<header class="view-header">
2015-08-12 09:17:01 +02:00
{{ # gh-view-title openMobileMenu = "openMobileMenu" }} <span>Labs</span> {{ / gh-view-title }}
2015-06-13 09:34:09 -05:00
</header>
2014-12-14 17:56:04 +00:00
2015-06-13 09:34:09 -05:00
<section class="view-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>
<form id="settings-import" enctype="multipart/form-data">
<fieldset>
<div class="form-group">
<label>Import</label>
{{ partial "import-errors" }}
{{ gh-file-upload id = "importfile" classNames = "flex" uploadButtonText = uploadButtonText onUpload = "onUpload" }}
<p>Import from another Ghost installation. If you import a user, this will replace the current user & log you out.</p>
</div>
</fieldset>
</form>
<form id="settings-resetdb">
<fieldset>
<div class="form-group">
<label>Delete all Content</label>
2015-11-18 10:50:48 +00:00
<button type="button" class="btn btn-red js-delete" {{ action "toggleDeleteAllModal" }} >Delete</button>
2015-06-13 09:34:09 -05:00
<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>
2015-08-25 21:15:59 +01:00
{{ # gh-spin-button id = "sendtestemail" class = "btn btn-blue" action = "sendTestEmail" submitting = submitting }} Send {{ / gh-spin-button }}
2015-06-13 09:34:09 -05:00
<p>Sends a test email to your address.</p>
</div>
</fieldset>
</form>
2015-10-23 11:03:38 +02:00
<hr>
<form>
<fieldset>
<div class="form-group for-checkbox">
2015-11-05 12:00:22 +00:00
<h3>Enable Beta Features</h3>
2016-01-19 08:25:36 -06:00
{{ # gh-feature-flag "publicAPI" }}
Public API - For full instructions, read the <a href="http://support.ghost.org/public-api-beta/">developer guide</a>.
{{ / gh-feature-flag }}
2015-10-23 11:03:38 +02:00
</div>
</fieldset>
</form>
2015-06-13 09:34:09 -05:00
</section>
2014-12-01 11:39:11 +00:00
</section>
2015-11-18 10:50:48 +00:00
{{ # if showDeleteAllModal }}
{{ gh-fullscreen-modal "delete-all"
close=(action "toggleDeleteAllModal")
modifier="action wide"}}
{{ / if }}