Make the Sinatra app directory aware.
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
{{#is_edit_page}}
|
||||
<input type="hidden" name="page" id="gollum-editor-page-title" value="{{page_name}}">
|
||||
{{/is_edit_page}}
|
||||
<input type="hidden" name="path" id="gollum-editor-page-path" value="{{path}}">
|
||||
<div id="gollum-editor-function-bar">
|
||||
<div id="gollum-editor-function-buttons">
|
||||
<a href="#" id="function-bold" class="function-button">
|
||||
@@ -30,7 +31,7 @@
|
||||
<span>Ordered List</span></a>
|
||||
<a href="#" id="function-blockquote" class="function-button">
|
||||
<span>Blockquote</span></a>
|
||||
|
||||
|
||||
<a href="#" id="function-hr" class="function-button">
|
||||
<span>Horizontal Rule</span></a>
|
||||
<span class="function-divider"> </span>
|
||||
@@ -49,8 +50,8 @@
|
||||
<a href="#" id="function-help" class="function-button">
|
||||
<span>Help</span></a>
|
||||
</div>
|
||||
|
||||
<div id="gollum-editor-format-selector">
|
||||
|
||||
<div id="gollum-editor-format-selector">
|
||||
<select id="wiki_format" name="format">
|
||||
{{#formats}}
|
||||
<option {{#selected}}selected="selected" {{/selected}}value="{{id}}">
|
||||
@@ -85,7 +86,7 @@
|
||||
</div>
|
||||
<textarea id="gollum-editor-body"
|
||||
data-markup-lang="{{format}}" name="content">{{content}}</textarea>
|
||||
|
||||
|
||||
{{#header}}
|
||||
<div id="gollum-editor-edit-header" class="collapsed">
|
||||
<a href="#" class="button"><span>Expand/Collapse</span></a>
|
||||
@@ -93,7 +94,7 @@
|
||||
<textarea id="gollum-editor-header" name="header">{{header}}</textarea>
|
||||
</div>
|
||||
{{/header}}
|
||||
|
||||
|
||||
{{#footer}}
|
||||
<div id="gollum-editor-edit-footer" class="collapsed">
|
||||
<a href="#" class="button"><span>Expand/Collapse</span></a>
|
||||
@@ -101,7 +102,7 @@
|
||||
<textarea id="gollum-editor-footer" name="footer">{{footer}}</textarea>
|
||||
</div>
|
||||
{{/footer}}
|
||||
|
||||
|
||||
{{#sidebar}}
|
||||
<div id="gollum-editor-edit-sidebar" class="collapsed">
|
||||
<a href="#" class="button"><span>Expand/Collapse</span></a>
|
||||
@@ -109,7 +110,7 @@
|
||||
<textarea id="gollum-editor-sidebar" name="sidebar">{{sidebar}}</textarea>
|
||||
</div>
|
||||
{{/sidebar}}
|
||||
|
||||
|
||||
<div id="gollum-editor-edit-summary" class="singleline">
|
||||
<label for="message" class="jaws">Edit message:</label>
|
||||
{{#is_create_page}}
|
||||
@@ -119,7 +120,7 @@
|
||||
<input type="text" name="message" id="gollum-editor-message-field" value="Updated {{page_name}} ({{format}})">
|
||||
{{/is_edit_page}}
|
||||
</div>
|
||||
|
||||
|
||||
<span class="jaws"><br></span>
|
||||
<input type="submit" id="gollum-editor-submit" value="Save" title="Save current changes">
|
||||
<a href="/preview" id="gollum-editor-preview" class="minibutton" title="Preview this Page">Preview</a>
|
||||
|
||||
Reference in New Issue
Block a user