2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Merge pull request #4568 from jaswilli/buttons

Change anchors without hrefs to buttons.
This commit is contained in:
Paul Davis 2014-12-03 12:59:20 +00:00
commit 893bd1939c

View file

@ -11,7 +11,7 @@
<fieldset>
<div class="form-group">
<label>Export</label>
<a class="btn btn-blue" {{action "exportData"}}>Export</a>
<button type="button" class="btn btn-blue" {{action "exportData"}}>Export</button>
<p>Export the blog settings and data.</p>
</div>
</fieldset>
@ -30,7 +30,7 @@
<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>
<button type="button" class="btn btn-red js-delete" {{action "openModal" "deleteAll"}}>Delete</button>
<p>Delete all posts and tags from the database.</p>
</div>
</fieldset>
@ -39,7 +39,7 @@
<fieldset>
<div class="form-group">
<label>Send a test email</label>
<button type="submit" id="sendtestmail" class="btn btn-blue" {{action "sendTestEmail"}}>Send</button>
<button type="button" id="sendtestmail" class="btn btn-blue" {{action "sendTestEmail"}}>Send</button>
<p>Sends a test email to your address.</p>
</div>
</fieldset>