79 lines
3.0 KiB
Plaintext
79 lines
3.0 KiB
Plaintext
<div id="gollum-editor">
|
|
<form name="gollum-editor" action="/create/{{escaped_name}}" method="post">
|
|
<fieldset id="gollum-editor-fields">
|
|
{{#show_title}}
|
|
<div id="gollum-editor-title-field" class="singleline">
|
|
<label for="page" class="jaws">Page Title</label>
|
|
<input type="text" name="page" id="gollum-editor-page-title" value="{{page_name}}">
|
|
</div>
|
|
{{/show_title}}
|
|
{{#hidden_title}}
|
|
<input type="hidden" name="page" id="gollum-editor-page-title" value="{{page_name}}">
|
|
{{/hidden_title}}
|
|
<div id="gollum-editor-function-bar">
|
|
<a href="#" id="function-bold" class="function-button">
|
|
<span>Bold</span></a>
|
|
<a href="#" id="function-italic" class="function-button">
|
|
<span>Italic</span></a>
|
|
<a href="#" id="function-code" class="function-button">
|
|
<span>Code</span></a>
|
|
<span class="function-divider"> </span>
|
|
<a href="#" id="function-ul" class="function-button">
|
|
<span>Unordered List</span></a>
|
|
<a href="#" id="function-ol" class="function-button">
|
|
<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>
|
|
<a href="#" id="function-h1" class="function-button">
|
|
<span>h1</span></a>
|
|
<a href="#" id="function-h2" class="function-button">
|
|
<span>h2</span></a>
|
|
<a href="#" id="function-h3" class="function-button">
|
|
<span>h3</span></a>
|
|
<span class="function-divider"> </span>
|
|
<a href="#" id="function-link" class="function-button">
|
|
<span>Link</span></a>
|
|
<a href="#" id="function-image" class="function-button">
|
|
<span>Image</span></a>
|
|
|
|
<div id="gollum-editor-format-selector">
|
|
<select id="wiki_format" name="format">
|
|
{{#formats}}
|
|
<option {{#selected}}selected="selected" {{/selected}}value="{{id}}">
|
|
{{name}}
|
|
</option>
|
|
{{/formats}}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<textarea id="gollum-editor-body"
|
|
data-markup-lang="markdown" name="content">{{content}}</textarea>
|
|
|
|
|
|
<div id="gollum-editor-edit-footer" class="collapsed">
|
|
<a href="#" class="button"><span>Expand/Collapse</span></a>
|
|
<h4>Footer</h4>
|
|
<textarea id="gollum-editor-footer" name="footer"></textarea>
|
|
</div>
|
|
|
|
<div id="gollum-editor-edit-sidebar" class="collapsed">
|
|
<a href="#" class="button"><span>Expand/Collapse</span></a>
|
|
<h4>Sidebar</h4>
|
|
<textarea id="gollum-editor-sidebar" name="sidebar"></textarea>
|
|
</div>
|
|
|
|
<div id="gollum-editor-edit-summary" class="singleline">
|
|
<label for="message" class="jaws">Edit message:</label>
|
|
<input type="text" name="message" id="gollum-editor-message-field" value="Write a small message here explaining this change. (Optional)">
|
|
</div>
|
|
|
|
|
|
<span class="jaws"><br></span>
|
|
<input type="submit" id="gollum-editor-submit" value="Save" title="Save current changes">
|
|
</fieldset>
|
|
</form>
|
|
</div> |