Add cancel button to editor. Resolves issue #1282.

This commit is contained in:
Bart Kamphorst
2018-02-05 16:44:55 +01:00
parent 6f54af5556
commit d87a481ffb
2 changed files with 3 additions and 1 deletions
@@ -318,13 +318,14 @@ a {
/* @control preview */
#gollum-editor-preview {
#gollum-editor-preview, #gollum-editor-cancel {
float: left;
font-weight: normal;
padding: left;
@include alt-box-model;
}
}
/* @control title */
+1
View File
@@ -146,6 +146,7 @@
<span class="jaws"><br></span>
<input type="submit" id="gollum-editor-submit" value="Save" title="Save current changes">
<a href="" id="gollum-editor-cancel" class="minibutton" title="Cancel editing" onClick="window.history.back()">Cancel</a>
<a href="{{base_url}}/preview" id="gollum-editor-preview" class="minibutton" title="Preview this Page">Preview</a>
</fieldset>
</form>