4078915e7e6714e6179d5b88429568c911816710
templates.old/compare.mustache
... | ... | @@ -0,0 +1,69 @@ |
1 | +<div id="wiki-wrapper" class="compare"> |
|
2 | +<div id="head"> |
|
3 | + <h1>History for <strong>{{path}}</strong></h1> |
|
4 | + |
|
5 | + <ul class="actions"> |
|
6 | + <li class="minibutton"> |
|
7 | + {{>searchbar}} |
|
8 | + </li> |
|
9 | + <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
10 | + class="action-view-page">View Page</a></li> |
|
11 | + {{#allow_editing}} |
|
12 | + <li class="minibutton"><a href="{{base_url}}/edit/{{escaped_url_path}}" |
|
13 | + class="action-edit-page">Edit Page</a></li> |
|
14 | + {{/allow_editing}} |
|
15 | + <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
16 | + class="action-page-history">Page History</a></li> |
|
17 | + </ul> |
|
18 | +</div> |
|
19 | + |
|
20 | +{{#message}} |
|
21 | +<p>{{message}}</p> |
|
22 | +{{/message}} |
|
23 | + |
|
24 | +<div id="compare-content"> |
|
25 | + |
|
26 | + {{#show_revert}} |
|
27 | + <ul class="actions"> |
|
28 | + <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
29 | + class="action-page-history">Back to Page History</a></li> |
|
30 | + {{#allow_editing}} |
|
31 | + <li class="minibutton"> |
|
32 | + <form name="gollum-revert" action="{{base_url}}/revert/{{escaped_url_path}}/{{before}}/{{after}}" method="post" id="gollum-revert-form"> |
|
33 | + <a href="#" class="gollum-revert-button">Revert Changes</a> |
|
34 | + </form> |
|
35 | + </li> |
|
36 | + {{/allow_editing}} |
|
37 | + </ul> |
|
38 | + {{/show_revert}} |
|
39 | + |
|
40 | + <div class="data highlight"> |
|
41 | + <table cellpadding="0" cellspacing="0"> |
|
42 | + {{#lines}} |
|
43 | + <tr> |
|
44 | + <td class="line_numbers">{{ldln}}</td> |
|
45 | + <td class="line_numbers">{{rdln}}</td> |
|
46 | + <td> |
|
47 | + <pre><div class="{{class}}">{{line}}</div></pre> |
|
48 | + </td> |
|
49 | + </tr> |
|
50 | + {{/lines}} |
|
51 | + </table> |
|
52 | + </div> |
|
53 | +</div> |
|
54 | +<div id="footer"> |
|
55 | + <ul class="actions"> |
|
56 | + <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
57 | + class="action-page-history">Back to Page History</a></li> |
|
58 | + {{#show_revert}} |
|
59 | + {{#allow_editing}} |
|
60 | + <li class="minibutton"> |
|
61 | + <a href="#" class="gollum-revert-button">Revert Changes</a> |
|
62 | + </li> |
|
63 | + {{/allow_editing}} |
|
64 | + {{/show_revert}} |
|
65 | + <li class="minibutton"><a href="#">Back to Top</a></li> |
|
66 | + </ul> |
|
67 | +</div> |
|
68 | +</div> |
|
69 | +</div> |
templates.old/create.mustache
... | ... | @@ -0,0 +1,14 @@ |
1 | +<div id="wiki-wrapper" class="create"> |
|
2 | +<div id="head"> |
|
3 | + <h1>Create New Page</h1> |
|
4 | +</div> |
|
5 | +<div id="wiki-content" class="create edit"> |
|
6 | + <div class="has-sidebar"> |
|
7 | + {{>editor}} |
|
8 | + </div> |
|
9 | +</div> |
|
10 | +</div> |
|
11 | +<script type="text/javascript"> |
|
12 | +var default_markup = '{{default_markup}}'; |
|
13 | +</script> |
|
14 | +{{something}} |
templates.old/edit.mustache
... | ... | @@ -0,0 +1,12 @@ |
1 | +<div id="wiki-wrapper" class="edit"> |
|
2 | +<div id="head"> |
|
3 | + <h1>Editing <strong>{{title}}</strong></h1> |
|
4 | + <ul class="actions"> |
|
5 | + <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
6 | + class="action-view-page">View Page</a></li> |
|
7 | + <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
8 | + class="action-page-history">Page History</a></li> |
|
9 | + </ul> |
|
10 | +</div> |
|
11 | + <div id="wiki-content">{{>editor}}</div> |
|
12 | +</div> |
templates.old/editor.mustache
... | ... | @@ -0,0 +1,136 @@ |
1 | +<div id="gollum-editor" data-escaped-name="{{escaped_name}}" class="{{#is_create_page}}create{{/is_create_page}}{{#is_edit_page}}edit{{/is_edit_page}} {{#allow_uploads}}uploads-allowed{{/allow_uploads}}"> |
|
2 | +{{#is_create_page}} |
|
3 | +<form name="gollum-editor" action="{{base_url}}/create" method="post"> |
|
4 | +{{/is_create_page}} |
|
5 | +{{#is_edit_page}} |
|
6 | +<form name="gollum-editor" action="{{base_url}}/edit/{{escaped_name}}" method="post"> |
|
7 | +{{/is_edit_page}} |
|
8 | + <fieldset id="gollum-editor-fields"> |
|
9 | + {{#is_create_page}} |
|
10 | + <div id="gollum-editor-title-field" class="singleline"> |
|
11 | + <label for="page" class="jaws">Page Title</label> |
|
12 | + <input type="text" name="page" id="gollum-editor-page-title" value="{{page_name}}"> |
|
13 | + {{#has_path}} |
|
14 | + <p class="path_note"><strong>NOTE:</strong> This page will be created within the "<strong>{{path}}</strong>" directory</p> |
|
15 | + {{/has_path}} |
|
16 | + </div> |
|
17 | + {{/is_create_page}} |
|
18 | + {{#is_edit_page}} |
|
19 | + <input type="hidden" name="page" id="gollum-editor-page-title" value="{{page_name}}"> |
|
20 | + {{/is_edit_page}} |
|
21 | + <input type="hidden" name="path" id="gollum-editor-page-path" value="{{path}}"> |
|
22 | + <div id="gollum-editor-function-bar"> |
|
23 | + <div id="gollum-editor-function-buttons"> |
|
24 | + <a href="#" id="function-bold" class="function-button"> |
|
25 | + <span>Bold</span></a> |
|
26 | + <a href="#" id="function-italic" class="function-button"> |
|
27 | + <span>Italic</span></a> |
|
28 | + <a href="#" id="function-code" class="function-button"> |
|
29 | + <span>Code</span></a> |
|
30 | + <span class="function-divider"> </span> |
|
31 | + <a href="#" id="function-ul" class="function-button"> |
|
32 | + <span>Unordered List</span></a> |
|
33 | + <a href="#" id="function-ol" class="function-button"> |
|
34 | + <span>Ordered List</span></a> |
|
35 | + <a href="#" id="function-blockquote" class="function-button"> |
|
36 | + <span>Blockquote</span></a> |
|
37 | + |
|
38 | + <a href="#" id="function-hr" class="function-button"> |
|
39 | + <span>Horizontal Rule</span></a> |
|
40 | + <span class="function-divider"> </span> |
|
41 | + <a href="#" id="function-h1" class="function-button"> |
|
42 | + <span>h1</span></a> |
|
43 | + <a href="#" id="function-h2" class="function-button"> |
|
44 | + <span>h2</span></a> |
|
45 | + <a href="#" id="function-h3" class="function-button"> |
|
46 | + <span>h3</span></a> |
|
47 | + <span class="function-divider"> </span> |
|
48 | + <a href="#" id="function-link" class="function-button"> |
|
49 | + <span>Link</span></a> |
|
50 | + <a href="#" id="function-image" class="function-button"> |
|
51 | + <span>Image</span></a> |
|
52 | + <span class="function-divider"> </span> |
|
53 | + <a href="#" id="function-help" class="function-button"> |
|
54 | + <span>Help</span></a> |
|
55 | + </div> |
|
56 | + |
|
57 | + <div id="gollum-editor-format-selector"> |
|
58 | + <label for="format">Edit Mode</label> |
|
59 | + <select id="wiki_format" name="format"> |
|
60 | + {{#formats}} |
|
61 | + <option {{#selected}}selected="selected" {{/selected}}value="{{id}}"> |
|
62 | + {{name}} |
|
63 | + </option> |
|
64 | + {{/formats}} |
|
65 | + </select> |
|
66 | + </div> |
|
67 | + </div> |
|
68 | + <div id="gollum-editor-help" class="jaws"> |
|
69 | + <ul id="gollum-editor-help-parent"> |
|
70 | + <li><a href="javascript:void(0);" class="selected">Help 1</a></li> |
|
71 | + <li><a href="javascript:void(0);">Help 1</a></li> |
|
72 | + <li><a href="javascript:void(0);">Help 1</a></li> |
|
73 | + </ul> |
|
74 | + <ul id="gollum-editor-help-list"> |
|
75 | + <li><a href="javascript:void(0);">Help 2</a></li> |
|
76 | + <li><a href="javascript:void(0);">Help 3</a></li> |
|
77 | + <li><a href="javascript:void(0);">Help 4</a></li> |
|
78 | + <li><a href="javascript:void(0);">Help 5</a></li> |
|
79 | + <li><a href="javascript:void(0);">Help 6</a></li> |
|
80 | + <li><a href="javascript:void(0);">Help 7</a></li> |
|
81 | + <li><a href="javascript:void(0);">Help 8</a></li> |
|
82 | + </ul> |
|
83 | + <div id="gollum-editor-help-wrapper"> |
|
84 | + <div id="gollum-editor-help-content"> |
|
85 | + <p> |
|
86 | + </p> |
|
87 | + </div> |
|
88 | + </div> |
|
89 | + </div> |
|
90 | + <textarea id="gollum-editor-body" |
|
91 | + data-markup-lang="{{format}}" name="content" class="mousetrap">{{content}}</textarea> |
|
92 | + <div> |
|
93 | + <i class="fa fa-spinner fa-spin"></i> |
|
94 | + Uploading file ... |
|
95 | + </div> |
|
96 | + |
|
97 | + {{#header}} |
|
98 | + <div id="gollum-editor-edit-header" class="collapsed"> |
|
99 | + <a href="#" class="button"><span>Expand/Collapse</span></a> |
|
100 | + <h4>Header</h4> |
|
101 | + <textarea id="gollum-editor-header" name="header">{{header}}</textarea> |
|
102 | + </div> |
|
103 | + {{/header}} |
|
104 | + |
|
105 | + {{#footer}} |
|
106 | + <div id="gollum-editor-edit-footer" class="collapsed"> |
|
107 | + <a href="#" class="button"><span>Expand/Collapse</span></a> |
|
108 | + <h4>Footer</h4> |
|
109 | + <textarea id="gollum-editor-footer" name="footer">{{footer}}</textarea> |
|
110 | + </div> |
|
111 | + {{/footer}} |
|
112 | + |
|
113 | + {{#sidebar}} |
|
114 | + <div id="gollum-editor-edit-sidebar" class="collapsed"> |
|
115 | + <a href="#" class="button"><span>Expand/Collapse</span></a> |
|
116 | + <h4>Sidebar</h4> |
|
117 | + <textarea id="gollum-editor-sidebar" name="sidebar">{{sidebar}}</textarea> |
|
118 | + </div> |
|
119 | + {{/sidebar}} |
|
120 | + |
|
121 | + <div id="gollum-editor-edit-summary" class="singleline"> |
|
122 | + <label for="message" class="jaws">Edit message:</label> |
|
123 | + {{#is_create_page}} |
|
124 | + <input type="text" name="message" id="gollum-editor-message-field" value="Created {{page_name}} ({{format}})"> |
|
125 | + {{/is_create_page}} |
|
126 | + {{#is_edit_page}} |
|
127 | + <input type="text" name="message" id="gollum-editor-message-field" value="Updated {{page_name}} ({{format}})"> |
|
128 | + {{/is_edit_page}} |
|
129 | + </div> |
|
130 | + |
|
131 | + <span class="jaws"><br></span> |
|
132 | + <input type="submit" id="gollum-editor-submit" value="Save" title="Save current changes"> |
|
133 | + <a href="{{base_url}}/preview" id="gollum-editor-preview" class="minibutton" title="Preview this Page">Preview</a> |
|
134 | + </fieldset> |
|
135 | +</form> |
|
136 | +</div> |
templates.old/error.mustache
... | ... | @@ -0,0 +1,8 @@ |
1 | +<div id="wiki-wrapper" class="error"> |
|
2 | + <div id="error"> |
|
3 | + <h1>Error</h1> |
|
4 | + <p> |
|
5 | + {{message}} |
|
6 | + </p> |
|
7 | + </div> |
|
8 | +</div> |
|
... | ... | \ No newline at end of file |
templates.old/file_view.mustache
... | ... | @@ -0,0 +1,34 @@ |
1 | +<!DOCTYPE html> |
|
2 | +<html> |
|
3 | +<head> |
|
4 | + <meta http-equiv="Content-type" content="text/html;charset=utf-8"> |
|
5 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/gollum.css" media="all"> |
|
6 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/template.css" media="all"> |
|
7 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/_styles.css" media="all"> |
|
8 | + {{#css}}<link rel="stylesheet" type="text/css" href="{{base_url}}/custom.css" media="all">{{/css}} |
|
9 | + {{#js}}<script type="text/javascript" src="{{base_url}}/custom.js"></script>{{/js}} |
|
10 | + <title>{{title}}</title> |
|
11 | +</head> |
|
12 | +<body> |
|
13 | + |
|
14 | +<div id="home_button"> |
|
15 | + <ul class="actions"> |
|
16 | + <li class="minibutton"> |
|
17 | + <a href="{{base_url}}/" class="action-home-page">Home</a> |
|
18 | + </li> |
|
19 | + </ul> |
|
20 | +</div> |
|
21 | + |
|
22 | +{{#has_results}} |
|
23 | + <div id="results"> |
|
24 | + {{{results}}} |
|
25 | + </div> |
|
26 | +{{/has_results}} |
|
27 | + |
|
28 | +{{#no_results}} |
|
29 | + <p id="no-results"> |
|
30 | + There are no pages in <strong>{{ref}}</strong>. |
|
31 | + </p> |
|
32 | +{{/no_results}} |
|
33 | +</body> |
|
34 | +</html> |
templates.old/history.mustache
... | ... | @@ -0,0 +1,60 @@ |
1 | +<div id="wiki-wrapper" class="history"> |
|
2 | +<div id="head"> |
|
3 | + <h1>History for <strong>{{title}}</strong></h1> |
|
4 | + <ul class="actions"> |
|
5 | + <li class="minibutton"> |
|
6 | + {{>searchbar}} |
|
7 | + </li> |
|
8 | + <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
9 | + class="action-view-page">View Page</a></li> |
|
10 | + {{#allow_editing}} |
|
11 | + <li class="minibutton"><a href="{{base_url}}/edit/{{escaped_url_path}}" |
|
12 | + class="action-edit-page">Edit Page</a></li> |
|
13 | + {{/allow_editing}} |
|
14 | + </ul> |
|
15 | +</div> |
|
16 | +<div id="wiki-history"> |
|
17 | + |
|
18 | + <ul class="actions"> |
|
19 | + <li class="minibutton"><a href="javascript:void(0);" |
|
20 | + class="action-compare-revision">Compare Revisions</a></li> |
|
21 | + </ul> |
|
22 | + |
|
23 | + <form name="compare-versions" id="version-form" method="post" |
|
24 | + action="{{base_url}}/compare/{{escaped_url_path}}"> |
|
25 | + <fieldset> |
|
26 | + <table> |
|
27 | + <tbody> |
|
28 | + |
|
29 | + {{#versions}} |
|
30 | + <tr> |
|
31 | + <td class="checkbox"> |
|
32 | + <input type="checkbox" name="versions[]" value="{{id}}"> |
|
33 | + </td> |
|
34 | + <td class="author"> |
|
35 | + {{>author_template}} |
|
36 | + </td> |
|
37 | + <td class="commit-name"> |
|
38 | + <span class="time-elapsed" title="{{date_full}}">{{date}}:</span> |
|
39 | + {{message}} |
|
40 | + [<a href="{{base_url}}/{{escaped_url_path}}/{{id}}" title="View commit">{{id7}}</a>] |
|
41 | + </td> |
|
42 | + </tr> |
|
43 | + {{/versions}} |
|
44 | + |
|
45 | + </tbody> |
|
46 | + </table> |
|
47 | + </fieldset> |
|
48 | + </form> |
|
49 | +</div> |
|
50 | +<div id="footer"> |
|
51 | + <ul class="actions"> |
|
52 | + <li class="minibutton"><a href="javascript:void(0);" |
|
53 | + class="action-compare-revision">Compare Revisions</a></li> |
|
54 | + |
|
55 | + <!-- only show this button if we have more than 20 revisions --> |
|
56 | + <li class="minibutton"><a href="#" |
|
57 | + class="action-back-to-top">Back to Top</a></li> |
|
58 | + </ul> |
|
59 | +</div> |
|
60 | +</div> |
templates.old/history_authors/gravatar.mustache
... | ... | @@ -0,0 +1,5 @@ |
1 | +<a href="javascript:void(0)"> |
|
2 | +<img src="https://secure.gravatar.com/avatar/{{gravatar}}?s=16" |
|
3 | + alt="avatar: {{author}}" class="mini-gravatar"/> |
|
4 | + <span class="username">{{author}}</span> |
|
5 | +</a> |
templates.old/history_authors/identicon.mustache
... | ... | @@ -0,0 +1,5 @@ |
1 | +<a href="javascript:void(0)"> |
|
2 | + <img src="{{base_url}}/images/man_24.png" alt="avatar: {{author}}" |
|
3 | + class="mini-gravatar identicon" data-identicon="{{identicon}}"/> |
|
4 | + <span class="username">{{author}}</span> |
|
5 | +</a> |
templates.old/history_authors/none.mustache
... | ... | @@ -0,0 +1,3 @@ |
1 | +<a href="javascript:void(0)"> |
|
2 | + <span class="username">{{author}}</span> |
|
3 | +</a> |
templates.old/latest_changes.mustache
... | ... | @@ -0,0 +1,39 @@ |
1 | +<div id="wiki-wrapper" class="history"> |
|
2 | +<div id="head"> |
|
3 | + <h1><strong>{{title}}</strong></h1> |
|
4 | + <ul class="actions"> |
|
5 | + <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
6 | + class="action-view-page">Home</a></li> |
|
7 | + </ul> |
|
8 | +</div> |
|
9 | +<div id="wiki-history"> |
|
10 | + |
|
11 | + <fieldset> |
|
12 | + <table> |
|
13 | + <tbody> |
|
14 | + |
|
15 | + {{#versions}} |
|
16 | + <tr> |
|
17 | + <td class="author"> |
|
18 | + {{>author_template}} |
|
19 | + </td> |
|
20 | + <td class="commit-name"> |
|
21 | + <span class="time-elapsed" title="{{date_full}}">{{date}}:</span> |
|
22 | + {{message}} |
|
23 | + [{{id7}}] |
|
24 | + {{#files}} |
|
25 | + <br> |
|
26 | + <a href="{{link}}">{{file}}</a> |
|
27 | + {{/files}} |
|
28 | + </td> |
|
29 | + </tr> |
|
30 | + {{/versions}} |
|
31 | + |
|
32 | + </tbody> |
|
33 | + </table> |
|
34 | + </fieldset> |
|
35 | +</div> |
|
36 | +<div id="footer"> |
|
37 | + |
|
38 | +</div> |
|
39 | +</div> |
templates.old/layout.mustache
... | ... | @@ -0,0 +1,133 @@ |
1 | +<!DOCTYPE html> |
|
2 | +<html> |
|
3 | +<head> |
|
4 | + <meta http-equiv="Content-type" content="text/html;charset=utf-8"> |
|
5 | + <meta name="MobileOptimized" content="width"> |
|
6 | + <meta name="HandheldFriendly" content="true"> |
|
7 | + <meta name="viewport" content="width=device-width"> |
|
8 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/gollum.css" media="all"> |
|
9 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/editor.css" media="all"> |
|
10 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/dialog.css" media="all"> |
|
11 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/template.css" media="all"> |
|
12 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/print.css" media="print"> |
|
13 | + |
|
14 | + {{#css}}<link rel="stylesheet" type="text/css" href="{{custom_path}}/custom.css" media="all">{{/css}} |
|
15 | + |
|
16 | + {{#noindex}}<meta name="robots" content="noindex, nofollow" />{{/noindex}} |
|
17 | + |
|
18 | + <!--[if IE 7]> |
|
19 | + <link rel="stylesheet" type="text/css" href="{{base_url}}/css/ie7.css" media="all"> |
|
20 | + <![endif]--> |
|
21 | + |
|
22 | + <script> |
|
23 | + var baseUrl = '{{base_url}}'; |
|
24 | + var uploadDest = '{{upload_dest}}'; |
|
25 | + {{#page}} |
|
26 | + var pageFullPath = '{{url_path_display}}'; |
|
27 | + {{/page}} |
|
28 | + </script> |
|
29 | + <script type="text/javascript" src="{{base_url}}/javascript/jquery-1.7.2.min.js"></script> |
|
30 | + <script type="text/javascript" src="{{base_url}}/javascript/mousetrap.min.js"></script> |
|
31 | + <script type="text/javascript" src="{{base_url}}/javascript/gollum.js"></script> |
|
32 | + <script type="text/javascript" src="{{base_url}}/javascript/gollum.dialog.js"></script> |
|
33 | + <script type="text/javascript" src="{{base_url}}/javascript/gollum.placeholder.js"></script> |
|
34 | + <script type="text/javascript" src="{{base_url}}/javascript/editor/gollum.editor.js"></script> |
|
35 | + {{#use_identicon}} |
|
36 | + <script type="text/javascript" src="{{base_url}}/javascript/identicon_canvas.js"></script> |
|
37 | + {{/use_identicon}} |
|
38 | + {{#mathjax}} |
|
39 | + {{^mathjax_config}} |
|
40 | + <script type="text/javascript"> |
|
41 | + window.MathJax = { |
|
42 | + tex2jax: { |
|
43 | + inlineMath: [ ['$','$'], ['\\(','\\)'] ], |
|
44 | + displayMath: [ ['$$','$$'], ['\\[','\\]'] ], |
|
45 | + processEscapes: true |
|
46 | + }, |
|
47 | + TeX: { extensions: ["autoload-all.js"] } |
|
48 | + }; |
|
49 | + </script> |
|
50 | + {{/mathjax_config}} |
|
51 | + {{#mathjax_config}} |
|
52 | + <script type="text/javascript" src="{{base_url}}/{{mathjax_config}}"></script> |
|
53 | + {{/mathjax_config}} |
|
54 | + <script>(function(d,j){ |
|
55 | + j = d.createElement('script'); |
|
56 | + j.src = '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'; |
|
57 | + (d.head || d.getElementsByTagName('head')[0]).appendChild(j); |
|
58 | + }(document)); |
|
59 | + </script>{{/mathjax}} |
|
60 | + {{#js}}<script type="text/javascript" src="{{custom_path}}/custom.js"></script>{{/js}} |
|
61 | + |
|
62 | + <title>{{title}}</title> |
|
63 | +</head> |
|
64 | + |
|
65 | +<body> |
|
66 | + |
|
67 | +<!-- HEADER FROM SBgrid --> |
|
68 | + <header id="top"> |
|
69 | + |
|
70 | + <div class="container"> |
|
71 | + <a href="https://biogrids.org/"><div class="logo"> |
|
72 | + <!-- <img src="https://biogrids.org/static/images/logo.png" alt="https://biogrids.sbgrid.org/"> --> |
|
73 | + <img src="https://biogrids.org/wiki/images/logo.svg" alt="wiki/images/logo.png" style="width: 222px; height: 61px;"> |
|
74 | + </div></a> |
|
75 | + <nav class="main-navigation"> |
|
76 | + <ul> |
|
77 | + |
|
78 | + <!-- Links sbgrid.org must be changed to https://BIOGRIDS-DOMAIN.org/.../... when the page is published. --> |
|
79 | + |
|
80 | + <li><a href="#"><span>Supported </span>Software</a> |
|
81 | + <ol> |
|
82 | + <li><a href="/software/">Supported Applications</a></li> |
|
83 | + <li><a href="/newsletters/">Software Newsletter</a></li> |
|
84 | + <!-- <li><a href="#">Webinars</a></li> --> |
|
85 | + <li><a href="/software/tales/">Developer Tales</a></li> |
|
86 | + <li><a href="/software/deploy-your-software/">Deploy Your Software</a></li> |
|
87 | + </ol></li> |
|
88 | + |
|
89 | + <li><a href="#"><span>Get </span> Help</a> |
|
90 | + <ol> |
|
91 | + <li><a href="/wiki/" title="Biogrids Software Collection Help">Support Wiki</a></li> |
|
92 | + <li><a href="/help/?tab=bug">Report Software Bug</a></li> |
|
93 | + <li><a href="/help/?tab=software">Request New Software</a></li> |
|
94 | + <li><a href="/help/?tab=contact-us">Other Support</a></li> |
|
95 | + <li><a href="/help/?tab=grant">Grant Support</a></li> |
|
96 | + </ol></li> |
|
97 | + <li><a href="#">About Biogrids</a> |
|
98 | + <ol> |
|
99 | + <li><a href="/about/what-we-do/">What We Do</a></li> |
|
100 | + <li><a href="/members/">Members</a></li> |
|
101 | + <li><a href="/about/staff/">Staff</a></li> |
|
102 | + <li><a href="/about/history/">History</a></li> |
|
103 | + <li><a href="/about/advisory/">Advisory |
|
104 | + Board</a></li> |
|
105 | + <li><a href="/about/contact/">Contact Us</a></li> |
|
106 | + </ol></li> |
|
107 | + </ul> |
|
108 | + </nav> |
|
109 | + |
|
110 | + <a href="https://biogrids.org/"><div class="logo mobile-navigation" > |
|
111 | + <img src="/static/images/logo.svg" alt="images/logo.png" style="width: 222px; height: 61px;"> |
|
112 | + <!-- <img src="https://biogrids.org/static/images/logo.png" alt="https://biogrids.org/" style="padding: 0 0 0 0;" ></div> --> |
|
113 | + </a> |
|
114 | + |
|
115 | + </div> |
|
116 | + </header> |
|
117 | +<!--END HEADER FROM SBgrid --> |
|
118 | + |
|
119 | +{{{yield}}} |
|
120 | + |
|
121 | +<!-- FOOTER FROM SB/BIOgrid --> |
|
122 | + <footer id="footer_wiki"> |
|
123 | + |
|
124 | + <div class="copyrights"> |
|
125 | + <div class="container"> |
|
126 | + <p>Copyright © 2017, The President and Fellows of |
|
127 | + Harvard College</p> |
|
128 | + </div> |
|
129 | + </div> |
|
130 | + </footer> |
|
131 | +<!-- END FOOTER FROM SB/BIOgrid --> |
|
132 | +</body> |
|
133 | +</html> |
templates.old/livepreview.mustache
... | ... | @@ -0,0 +1,66 @@ |
1 | +<!DOCTYPE html> |
|
2 | +<html> |
|
3 | +<head> |
|
4 | +<title>Live Preview</title> |
|
5 | +<link rel='stylesheet' type='text/css' href='../css/template.css' /> |
|
6 | +<link rel='stylesheet' type='text/css' href='css/custom.css' /> |
|
7 | +</head> |
|
8 | + |
|
9 | +<body> |
|
10 | +<div id='editor'></div> |
|
11 | +<div id='previewframe'><div id='contentframe' class='markdown-body'></div></div> |
|
12 | +<!-- tool panel from notepage.es. save & savecomment icons from Retina Display Icon Set. --> |
|
13 | +<div id='toolpanel' class='toolpanel edit' style='width: 500px; right: 0px; visibility: hidden;'> |
|
14 | + <a id='preview' class='edit'><img src='images/globe_24.png' alt='Preview' title='Preview'></a> |
|
15 | + <a id='save' class='edit'><img src='images/save_24.png' alt='Save' title='Save'></a> |
|
16 | + <a id='savecomment' class='edit'><img src='images/savecomment_24.png' alt='Save with comment' title='Save with comment'></a> |
|
17 | + <a id='toggle' class='edit' href='javascript:void(0)' onclick='jsm.toggleLeftRight();'><img src='images/lr_24.png' alt='Toggle left to right' title='Toggle left to right'></a> |
|
18 | +</div> |
|
19 | + |
|
20 | +<div id='editor_bg' class='editor_bg'></div> |
|
21 | +<div class='toolpanel_bg'></div> |
|
22 | + |
|
23 | +<div id='commenttoolpanel' class='toolpanel edit' style='width: 500px; right: 0px; '> |
|
24 | + <a id='savecommentconfirm' class='edit'><img src='images/savecomment_24.png' alt='Confirm save with comment' title='Confirm save with comment'></a> |
|
25 | + <a id='commentcancel' class='edit'><img src='images/cancel_24.png' alt='Cancel save with comment' title='Cancel save with comment'></a> |
|
26 | +</div> |
|
27 | +<div id='comment'></div> |
|
28 | +<div id='darkness'></div> |
|
29 | + |
|
30 | +<script> |
|
31 | +var require = { |
|
32 | + paths: { |
|
33 | + ace: 'js/ace/lib/ace' |
|
34 | + } |
|
35 | +}; |
|
36 | +</script> |
|
37 | +<script src='js/requirejs.min.js'></script> |
|
38 | +<script src='../javascript/jquery-1.7.2.min.js'></script> |
|
39 | +<script src='js/jquery.ba-throttle-debounce.min.js'></script> |
|
40 | +<script src='js/sundown.js'></script> |
|
41 | +<script src='js/md_sundown.js'></script> |
|
42 | +<script src='js/livepreview.js'></script> |
|
43 | +{{#mathjax}} |
|
44 | +{{^mathjax_config}} |
|
45 | +<script type="text/javascript"> |
|
46 | +window.MathJax = { |
|
47 | +tex2jax: { |
|
48 | + inlineMath: [ ['$','$'], ['\\(','\\)'] ], |
|
49 | + displayMath: [ ['$$','$$'], ['\\[','\\]'] ], |
|
50 | + processEscapes: true |
|
51 | +}, |
|
52 | +TeX: { extensions: ["autoload-all.js"] } |
|
53 | +}; |
|
54 | +</script> |
|
55 | +{{/mathjax_config}} |
|
56 | +{{#mathjax_config}} |
|
57 | +<script type="text/javascript" src="{{base_url}}/{{mathjax_config}}"></script> |
|
58 | +{{/mathjax_config}} |
|
59 | +<script>(function(d,j){ |
|
60 | +j = d.createElement('script'); |
|
61 | +j.src = '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'; |
|
62 | +(d.head || d.getElementsByTagName('head')[0]).appendChild(j); |
|
63 | +}(document)); |
|
64 | +</script>{{/mathjax}} |
|
65 | +</body> |
|
66 | +</html> |
templates.old/page.mustache
... | ... | @@ -0,0 +1,100 @@ |
1 | +<script> |
|
2 | +Mousetrap.bind(['e'], function( e ) { |
|
3 | + e.preventDefault(); |
|
4 | + window.location = "/edit" + window.location.pathname; |
|
5 | + return false; |
|
6 | +}); |
|
7 | +</script> |
|
8 | +<div id="wiki-wrapper" class="page"> |
|
9 | + <div id="head"> |
|
10 | + <h1>{{page_header}}</h1> |
|
11 | + <ul class="actions"> |
|
12 | + <li class="minibutton"> |
|
13 | + {{>searchbar}} |
|
14 | + </li> |
|
15 | + <li class="minibutton"><a href="{{base_url}}/" |
|
16 | + class="action-home-page">Home</a></li> |
|
17 | + <li class="minibutton"><a href="{{base_url}}/pages" |
|
18 | + class="action-all-pages">All</a></li> |
|
19 | + <li class="minibutton"><a href="{{base_url}}/fileview" |
|
20 | + class="action-fileview">Files</a></li> |
|
21 | + {{#allow_editing}} |
|
22 | + <li class="minibutton jaws"> |
|
23 | + <a href="#" id="minibutton-new-page">New</a></li> |
|
24 | + {{/allow_editing}} |
|
25 | + {{#allow_editing}} |
|
26 | + {{#allow_uploads}} |
|
27 | + <li class="minibutton jaws"> |
|
28 | + <a href="#" id="minibutton-upload-page">Upload</a></li> |
|
29 | + {{/allow_uploads}} |
|
30 | + {{/allow_editing}} |
|
31 | + {{#allow_editing}} |
|
32 | + {{#editable}} |
|
33 | + <li class="minibutton jaws"> |
|
34 | + <a href="#" id="minibutton-rename-page">Rename</a></li> |
|
35 | + {{/editable}} |
|
36 | + {{/allow_editing}} |
|
37 | + {{#allow_editing}} |
|
38 | + {{#editable}} |
|
39 | + <li class="minibutton"><a href="{{base_url}}/edit/{{escaped_url_path}}" |
|
40 | + class="action-edit-page">Edit</a></li> |
|
41 | + {{/editable}} |
|
42 | + {{/allow_editing}} |
|
43 | + {{#page_exists}} |
|
44 | + <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
45 | + class="action-page-history">History</a></li> |
|
46 | + <li class="minibutton"><a href="{{base_url}}/latest_changes" |
|
47 | + class="action-page-history">Latest Changes</a></li> |
|
48 | + {{/page_exists}} |
|
49 | + </ul> |
|
50 | + </div> |
|
51 | +<div id="wiki-content"> |
|
52 | +<div class="{{#has_header}}has-header{{/has_header}}{{#has_footer}} has-footer{{/has_footer}}{{#has_sidebar}} has-sidebar has-{{bar_side}}bar{{/has_sidebar}}{{#has_toc}} has-toc{{/has_toc}}"> |
|
53 | + {{#has_toc}} |
|
54 | + <div id="wiki-toc-main"> |
|
55 | + {{{toc_content}}} |
|
56 | + </div> |
|
57 | + {{/has_toc}} |
|
58 | + {{#has_sidebar}} |
|
59 | + <div id="wiki-sidebar" class="gollum-{{sidebar_format}}-content"> |
|
60 | + <div id="sidebar-content" class="markdown-body"> |
|
61 | + {{{sidebar_content}}} |
|
62 | + </div> |
|
63 | + </div> |
|
64 | + {{/has_sidebar}} |
|
65 | + <div id="wiki-body" class="gollum-{{format}}-content"> |
|
66 | + {{#has_header}} |
|
67 | + <div id="wiki-header" class="gollum-{{header_format}}-content"> |
|
68 | + <div id="header-content" class="markdown-body"> |
|
69 | + {{{header_content}}} |
|
70 | + </div> |
|
71 | + </div> |
|
72 | + {{/has_header}} |
|
73 | + <div class="markdown-body"> |
|
74 | + {{{content}}} |
|
75 | + </div> |
|
76 | + </div> |
|
77 | + {{#has_footer}} |
|
78 | + <div id="wiki-footer" class="gollum-{{footer_format}}-content"> |
|
79 | + <div id="footer-content" class="markdown-body"> |
|
80 | + {{{footer_content}}} |
|
81 | + </div> |
|
82 | + </div> |
|
83 | + {{/has_footer}} |
|
84 | + </div> |
|
85 | + |
|
86 | +</div> |
|
87 | +<div id="footer"> |
|
88 | + <p id="last-edit">Last edited by <b>{{author}}</b>, {{date}}</p> |
|
89 | + {{#allow_editing}} |
|
90 | + <p> |
|
91 | + <a id="delete-link" href="{{base_url}}/{{escaped_url_path}}" data-confirm="Are you sure you want to delete this page?"><span>Delete this Page</span></a> |
|
92 | + </p> |
|
93 | + {{/allow_editing}} |
|
94 | +</div> |
|
95 | +</div> |
|
96 | + |
|
97 | +<form name="rename" method="POST" action="{{base_url}}/rename/{{escaped_url_path}}"> |
|
98 | + <input type="hidden" name="rename"/> |
|
99 | + <input type="hidden" name="message"/> |
|
100 | +</form> |
templates.old/pages.mustache
... | ... | @@ -0,0 +1,42 @@ |
1 | +<div id="wiki-wrapper" class="results"> |
|
2 | +<div id="head" style="border:none;"> |
|
3 | + <h1>{{title}}</h1> |
|
4 | + <ul class="actions"> |
|
5 | + <li class="minibutton"> |
|
6 | + {{>searchbar}} |
|
7 | + </li> |
|
8 | + <li class="minibutton"><a href="{{base_url}}/" |
|
9 | + class="action-home-page">Home</a></li> |
|
10 | + {{#allow_editing}} |
|
11 | + <li class="minibutton jaws"> |
|
12 | + <a href="#" id="minibutton-new-page">New</a></li> |
|
13 | + {{/allow_editing}} |
|
14 | + </ul> |
|
15 | +</div> |
|
16 | +<div id="pages"> |
|
17 | + |
|
18 | +{{#has_results}} |
|
19 | + <div id="file-browser"> |
|
20 | + <div class="breadcrumb"> |
|
21 | + {{{breadcrumb}}} |
|
22 | + </div> |
|
23 | + <ul> |
|
24 | + {{{files_folders}}} |
|
25 | + </ul> |
|
26 | + </div> |
|
27 | +{{/has_results}} |
|
28 | + |
|
29 | +{{#no_results}} |
|
30 | + <p id="no-results"> |
|
31 | + There are no pages in <strong>{{ref}}</strong>. |
|
32 | + </p> |
|
33 | +{{/no_results}} |
|
34 | + |
|
35 | +</div> |
|
36 | +<div id="footer"> |
|
37 | + <ul class="actions"> |
|
38 | + <li class="minibutton"><a href="#">Back to Top</a></li> |
|
39 | + </ul> |
|
40 | +</div> |
|
41 | +</div> |
|
42 | + |
templates.old/search.mustache
... | ... | @@ -0,0 +1,38 @@ |
1 | +<div id="wiki-wrapper" class="results"> |
|
2 | +<div id="head"> |
|
3 | + <h1>Search Results for <strong>{{query}}</strong></h1> |
|
4 | + <ul class="actions"> |
|
5 | + <li class="minibutton"> |
|
6 | + {{>searchbar}} |
|
7 | + </li> |
|
8 | + <li class="minibutton"><a href="{{base_url}}/" |
|
9 | + class="action-home-page">Home</a></li> |
|
10 | + </ul> |
|
11 | +</div> |
|
12 | +<div id="results"> |
|
13 | + |
|
14 | +{{#has_results}} |
|
15 | + <ul> |
|
16 | + {{#results}} |
|
17 | + <li> |
|
18 | + <a href="{{base_url}}/{{name}}">{{name}}</a> |
|
19 | + <span class="count">({{count}} matches)</span> |
|
20 | + </li> |
|
21 | + {{/results}} |
|
22 | + </ul> |
|
23 | +{{/has_results}} |
|
24 | + |
|
25 | +{{#no_results}} |
|
26 | + <p id="no-results"> |
|
27 | + There are no results for your search <strong>{{query}}</strong>. |
|
28 | + </p> |
|
29 | +{{/no_results}} |
|
30 | + |
|
31 | +</div> |
|
32 | +<div id="footer"> |
|
33 | + <ul class="actions"> |
|
34 | + <li class="minibutton"><a href="#">Back to Top</a></li> |
|
35 | + </ul> |
|
36 | +</div> |
|
37 | +</div> |
|
38 | + |
templates.old/searchbar.mustache
... | ... | @@ -0,0 +1,10 @@ |
1 | +<div id="searchbar"> |
|
2 | + <form action="{{base_url}}/search" method="get" id="search-form"> |
|
3 | + <div id="searchbar-fauxtext"> |
|
4 | + <input type="text" name="q" id="search-query" value="Search…" autocomplete="off"> |
|
5 | + <a href="#" id="search-submit" title="Search this wiki"> |
|
6 | + <span>Search</span> |
|
7 | + </a> |
|
8 | + </div> |
|
9 | + </form> |
|
10 | +</div> |
|
... | ... | \ No newline at end of file |
templates/compare.mustache
... | ... | @@ -1,69 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="compare"> |
|
2 | -<div id="head"> |
|
3 | - <h1>History for <strong>{{path}}</strong></h1> |
|
4 | - |
|
5 | - <ul class="actions"> |
|
6 | - <li class="minibutton"> |
|
7 | - {{>searchbar}} |
|
8 | - </li> |
|
9 | - <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
10 | - class="action-view-page">View Page</a></li> |
|
11 | - {{#allow_editing}} |
|
12 | - <li class="minibutton"><a href="{{base_url}}/edit/{{escaped_url_path}}" |
|
13 | - class="action-edit-page">Edit Page</a></li> |
|
14 | - {{/allow_editing}} |
|
15 | - <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
16 | - class="action-page-history">Page History</a></li> |
|
17 | - </ul> |
|
18 | -</div> |
|
19 | - |
|
20 | -{{#message}} |
|
21 | -<p>{{message}}</p> |
|
22 | -{{/message}} |
|
23 | - |
|
24 | -<div id="compare-content"> |
|
25 | - |
|
26 | - {{#show_revert}} |
|
27 | - <ul class="actions"> |
|
28 | - <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
29 | - class="action-page-history">Back to Page History</a></li> |
|
30 | - {{#allow_editing}} |
|
31 | - <li class="minibutton"> |
|
32 | - <form name="gollum-revert" action="{{base_url}}/revert/{{escaped_url_path}}/{{before}}/{{after}}" method="post" id="gollum-revert-form"> |
|
33 | - <a href="#" class="gollum-revert-button">Revert Changes</a> |
|
34 | - </form> |
|
35 | - </li> |
|
36 | - {{/allow_editing}} |
|
37 | - </ul> |
|
38 | - {{/show_revert}} |
|
39 | - |
|
40 | - <div class="data highlight"> |
|
41 | - <table cellpadding="0" cellspacing="0"> |
|
42 | - {{#lines}} |
|
43 | - <tr> |
|
44 | - <td class="line_numbers">{{ldln}}</td> |
|
45 | - <td class="line_numbers">{{rdln}}</td> |
|
46 | - <td> |
|
47 | - <pre><div class="{{class}}">{{line}}</div></pre> |
|
48 | - </td> |
|
49 | - </tr> |
|
50 | - {{/lines}} |
|
51 | - </table> |
|
52 | - </div> |
|
53 | -</div> |
|
54 | -<div id="footer"> |
|
55 | - <ul class="actions"> |
|
56 | - <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
57 | - class="action-page-history">Back to Page History</a></li> |
|
58 | - {{#show_revert}} |
|
59 | - {{#allow_editing}} |
|
60 | - <li class="minibutton"> |
|
61 | - <a href="#" class="gollum-revert-button">Revert Changes</a> |
|
62 | - </li> |
|
63 | - {{/allow_editing}} |
|
64 | - {{/show_revert}} |
|
65 | - <li class="minibutton"><a href="#">Back to Top</a></li> |
|
66 | - </ul> |
|
67 | -</div> |
|
68 | -</div> |
|
69 | -</div> |
templates/create.mustache
... | ... | @@ -1,14 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="create"> |
|
2 | -<div id="head"> |
|
3 | - <h1>Create New Page</h1> |
|
4 | -</div> |
|
5 | -<div id="wiki-content" class="create edit"> |
|
6 | - <div class="has-sidebar"> |
|
7 | - {{>editor}} |
|
8 | - </div> |
|
9 | -</div> |
|
10 | -</div> |
|
11 | -<script type="text/javascript"> |
|
12 | -var default_markup = '{{default_markup}}'; |
|
13 | -</script> |
|
14 | -{{something}} |
templates/edit.mustache
... | ... | @@ -1,12 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="edit"> |
|
2 | -<div id="head"> |
|
3 | - <h1>Editing <strong>{{title}}</strong></h1> |
|
4 | - <ul class="actions"> |
|
5 | - <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
6 | - class="action-view-page">View Page</a></li> |
|
7 | - <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
8 | - class="action-page-history">Page History</a></li> |
|
9 | - </ul> |
|
10 | -</div> |
|
11 | - <div id="wiki-content">{{>editor}}</div> |
|
12 | -</div> |
templates/editor.mustache
... | ... | @@ -1,136 +0,0 @@ |
1 | -<div id="gollum-editor" data-escaped-name="{{escaped_name}}" class="{{#is_create_page}}create{{/is_create_page}}{{#is_edit_page}}edit{{/is_edit_page}} {{#allow_uploads}}uploads-allowed{{/allow_uploads}}"> |
|
2 | -{{#is_create_page}} |
|
3 | -<form name="gollum-editor" action="{{base_url}}/create" method="post"> |
|
4 | -{{/is_create_page}} |
|
5 | -{{#is_edit_page}} |
|
6 | -<form name="gollum-editor" action="{{base_url}}/edit/{{escaped_name}}" method="post"> |
|
7 | -{{/is_edit_page}} |
|
8 | - <fieldset id="gollum-editor-fields"> |
|
9 | - {{#is_create_page}} |
|
10 | - <div id="gollum-editor-title-field" class="singleline"> |
|
11 | - <label for="page" class="jaws">Page Title</label> |
|
12 | - <input type="text" name="page" id="gollum-editor-page-title" value="{{page_name}}"> |
|
13 | - {{#has_path}} |
|
14 | - <p class="path_note"><strong>NOTE:</strong> This page will be created within the "<strong>{{path}}</strong>" directory</p> |
|
15 | - {{/has_path}} |
|
16 | - </div> |
|
17 | - {{/is_create_page}} |
|
18 | - {{#is_edit_page}} |
|
19 | - <input type="hidden" name="page" id="gollum-editor-page-title" value="{{page_name}}"> |
|
20 | - {{/is_edit_page}} |
|
21 | - <input type="hidden" name="path" id="gollum-editor-page-path" value="{{path}}"> |
|
22 | - <div id="gollum-editor-function-bar"> |
|
23 | - <div id="gollum-editor-function-buttons"> |
|
24 | - <a href="#" id="function-bold" class="function-button"> |
|
25 | - <span>Bold</span></a> |
|
26 | - <a href="#" id="function-italic" class="function-button"> |
|
27 | - <span>Italic</span></a> |
|
28 | - <a href="#" id="function-code" class="function-button"> |
|
29 | - <span>Code</span></a> |
|
30 | - <span class="function-divider"> </span> |
|
31 | - <a href="#" id="function-ul" class="function-button"> |
|
32 | - <span>Unordered List</span></a> |
|
33 | - <a href="#" id="function-ol" class="function-button"> |
|
34 | - <span>Ordered List</span></a> |
|
35 | - <a href="#" id="function-blockquote" class="function-button"> |
|
36 | - <span>Blockquote</span></a> |
|
37 | - |
|
38 | - <a href="#" id="function-hr" class="function-button"> |
|
39 | - <span>Horizontal Rule</span></a> |
|
40 | - <span class="function-divider"> </span> |
|
41 | - <a href="#" id="function-h1" class="function-button"> |
|
42 | - <span>h1</span></a> |
|
43 | - <a href="#" id="function-h2" class="function-button"> |
|
44 | - <span>h2</span></a> |
|
45 | - <a href="#" id="function-h3" class="function-button"> |
|
46 | - <span>h3</span></a> |
|
47 | - <span class="function-divider"> </span> |
|
48 | - <a href="#" id="function-link" class="function-button"> |
|
49 | - <span>Link</span></a> |
|
50 | - <a href="#" id="function-image" class="function-button"> |
|
51 | - <span>Image</span></a> |
|
52 | - <span class="function-divider"> </span> |
|
53 | - <a href="#" id="function-help" class="function-button"> |
|
54 | - <span>Help</span></a> |
|
55 | - </div> |
|
56 | - |
|
57 | - <div id="gollum-editor-format-selector"> |
|
58 | - <label for="format">Edit Mode</label> |
|
59 | - <select id="wiki_format" name="format"> |
|
60 | - {{#formats}} |
|
61 | - <option {{#selected}}selected="selected" {{/selected}}value="{{id}}"> |
|
62 | - {{name}} |
|
63 | - </option> |
|
64 | - {{/formats}} |
|
65 | - </select> |
|
66 | - </div> |
|
67 | - </div> |
|
68 | - <div id="gollum-editor-help" class="jaws"> |
|
69 | - <ul id="gollum-editor-help-parent"> |
|
70 | - <li><a href="javascript:void(0);" class="selected">Help 1</a></li> |
|
71 | - <li><a href="javascript:void(0);">Help 1</a></li> |
|
72 | - <li><a href="javascript:void(0);">Help 1</a></li> |
|
73 | - </ul> |
|
74 | - <ul id="gollum-editor-help-list"> |
|
75 | - <li><a href="javascript:void(0);">Help 2</a></li> |
|
76 | - <li><a href="javascript:void(0);">Help 3</a></li> |
|
77 | - <li><a href="javascript:void(0);">Help 4</a></li> |
|
78 | - <li><a href="javascript:void(0);">Help 5</a></li> |
|
79 | - <li><a href="javascript:void(0);">Help 6</a></li> |
|
80 | - <li><a href="javascript:void(0);">Help 7</a></li> |
|
81 | - <li><a href="javascript:void(0);">Help 8</a></li> |
|
82 | - </ul> |
|
83 | - <div id="gollum-editor-help-wrapper"> |
|
84 | - <div id="gollum-editor-help-content"> |
|
85 | - <p> |
|
86 | - </p> |
|
87 | - </div> |
|
88 | - </div> |
|
89 | - </div> |
|
90 | - <textarea id="gollum-editor-body" |
|
91 | - data-markup-lang="{{format}}" name="content" class="mousetrap">{{content}}</textarea> |
|
92 | - <div> |
|
93 | - <i class="fa fa-spinner fa-spin"></i> |
|
94 | - Uploading file ... |
|
95 | - </div> |
|
96 | - |
|
97 | - {{#header}} |
|
98 | - <div id="gollum-editor-edit-header" class="collapsed"> |
|
99 | - <a href="#" class="button"><span>Expand/Collapse</span></a> |
|
100 | - <h4>Header</h4> |
|
101 | - <textarea id="gollum-editor-header" name="header">{{header}}</textarea> |
|
102 | - </div> |
|
103 | - {{/header}} |
|
104 | - |
|
105 | - {{#footer}} |
|
106 | - <div id="gollum-editor-edit-footer" class="collapsed"> |
|
107 | - <a href="#" class="button"><span>Expand/Collapse</span></a> |
|
108 | - <h4>Footer</h4> |
|
109 | - <textarea id="gollum-editor-footer" name="footer">{{footer}}</textarea> |
|
110 | - </div> |
|
111 | - {{/footer}} |
|
112 | - |
|
113 | - {{#sidebar}} |
|
114 | - <div id="gollum-editor-edit-sidebar" class="collapsed"> |
|
115 | - <a href="#" class="button"><span>Expand/Collapse</span></a> |
|
116 | - <h4>Sidebar</h4> |
|
117 | - <textarea id="gollum-editor-sidebar" name="sidebar">{{sidebar}}</textarea> |
|
118 | - </div> |
|
119 | - {{/sidebar}} |
|
120 | - |
|
121 | - <div id="gollum-editor-edit-summary" class="singleline"> |
|
122 | - <label for="message" class="jaws">Edit message:</label> |
|
123 | - {{#is_create_page}} |
|
124 | - <input type="text" name="message" id="gollum-editor-message-field" value="Created {{page_name}} ({{format}})"> |
|
125 | - {{/is_create_page}} |
|
126 | - {{#is_edit_page}} |
|
127 | - <input type="text" name="message" id="gollum-editor-message-field" value="Updated {{page_name}} ({{format}})"> |
|
128 | - {{/is_edit_page}} |
|
129 | - </div> |
|
130 | - |
|
131 | - <span class="jaws"><br></span> |
|
132 | - <input type="submit" id="gollum-editor-submit" value="Save" title="Save current changes"> |
|
133 | - <a href="{{base_url}}/preview" id="gollum-editor-preview" class="minibutton" title="Preview this Page">Preview</a> |
|
134 | - </fieldset> |
|
135 | -</form> |
|
136 | -</div> |
templates/error.mustache
... | ... | @@ -1,8 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="error"> |
|
2 | - <div id="error"> |
|
3 | - <h1>Error</h1> |
|
4 | - <p> |
|
5 | - {{message}} |
|
6 | - </p> |
|
7 | - </div> |
|
8 | -</div> |
|
... | ... | \ No newline at end of file |
templates/file_view.mustache
... | ... | @@ -1,34 +0,0 @@ |
1 | -<!DOCTYPE html> |
|
2 | -<html> |
|
3 | -<head> |
|
4 | - <meta http-equiv="Content-type" content="text/html;charset=utf-8"> |
|
5 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/gollum.css" media="all"> |
|
6 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/template.css" media="all"> |
|
7 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/_styles.css" media="all"> |
|
8 | - {{#css}}<link rel="stylesheet" type="text/css" href="{{base_url}}/custom.css" media="all">{{/css}} |
|
9 | - {{#js}}<script type="text/javascript" src="{{base_url}}/custom.js"></script>{{/js}} |
|
10 | - <title>{{title}}</title> |
|
11 | -</head> |
|
12 | -<body> |
|
13 | - |
|
14 | -<div id="home_button"> |
|
15 | - <ul class="actions"> |
|
16 | - <li class="minibutton"> |
|
17 | - <a href="{{base_url}}/" class="action-home-page">Home</a> |
|
18 | - </li> |
|
19 | - </ul> |
|
20 | -</div> |
|
21 | - |
|
22 | -{{#has_results}} |
|
23 | - <div id="results"> |
|
24 | - {{{results}}} |
|
25 | - </div> |
|
26 | -{{/has_results}} |
|
27 | - |
|
28 | -{{#no_results}} |
|
29 | - <p id="no-results"> |
|
30 | - There are no pages in <strong>{{ref}}</strong>. |
|
31 | - </p> |
|
32 | -{{/no_results}} |
|
33 | -</body> |
|
34 | -</html> |
templates/history.mustache
... | ... | @@ -1,60 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="history"> |
|
2 | -<div id="head"> |
|
3 | - <h1>History for <strong>{{title}}</strong></h1> |
|
4 | - <ul class="actions"> |
|
5 | - <li class="minibutton"> |
|
6 | - {{>searchbar}} |
|
7 | - </li> |
|
8 | - <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
9 | - class="action-view-page">View Page</a></li> |
|
10 | - {{#allow_editing}} |
|
11 | - <li class="minibutton"><a href="{{base_url}}/edit/{{escaped_url_path}}" |
|
12 | - class="action-edit-page">Edit Page</a></li> |
|
13 | - {{/allow_editing}} |
|
14 | - </ul> |
|
15 | -</div> |
|
16 | -<div id="wiki-history"> |
|
17 | - |
|
18 | - <ul class="actions"> |
|
19 | - <li class="minibutton"><a href="javascript:void(0);" |
|
20 | - class="action-compare-revision">Compare Revisions</a></li> |
|
21 | - </ul> |
|
22 | - |
|
23 | - <form name="compare-versions" id="version-form" method="post" |
|
24 | - action="{{base_url}}/compare/{{escaped_url_path}}"> |
|
25 | - <fieldset> |
|
26 | - <table> |
|
27 | - <tbody> |
|
28 | - |
|
29 | - {{#versions}} |
|
30 | - <tr> |
|
31 | - <td class="checkbox"> |
|
32 | - <input type="checkbox" name="versions[]" value="{{id}}"> |
|
33 | - </td> |
|
34 | - <td class="author"> |
|
35 | - {{>author_template}} |
|
36 | - </td> |
|
37 | - <td class="commit-name"> |
|
38 | - <span class="time-elapsed" title="{{date_full}}">{{date}}:</span> |
|
39 | - {{message}} |
|
40 | - [<a href="{{base_url}}/{{escaped_url_path}}/{{id}}" title="View commit">{{id7}}</a>] |
|
41 | - </td> |
|
42 | - </tr> |
|
43 | - {{/versions}} |
|
44 | - |
|
45 | - </tbody> |
|
46 | - </table> |
|
47 | - </fieldset> |
|
48 | - </form> |
|
49 | -</div> |
|
50 | -<div id="footer"> |
|
51 | - <ul class="actions"> |
|
52 | - <li class="minibutton"><a href="javascript:void(0);" |
|
53 | - class="action-compare-revision">Compare Revisions</a></li> |
|
54 | - |
|
55 | - <!-- only show this button if we have more than 20 revisions --> |
|
56 | - <li class="minibutton"><a href="#" |
|
57 | - class="action-back-to-top">Back to Top</a></li> |
|
58 | - </ul> |
|
59 | -</div> |
|
60 | -</div> |
templates/history_authors/gravatar.mustache
... | ... | @@ -1,5 +0,0 @@ |
1 | -<a href="javascript:void(0)"> |
|
2 | -<img src="https://secure.gravatar.com/avatar/{{gravatar}}?s=16" |
|
3 | - alt="avatar: {{author}}" class="mini-gravatar"/> |
|
4 | - <span class="username">{{author}}</span> |
|
5 | -</a> |
templates/history_authors/identicon.mustache
... | ... | @@ -1,5 +0,0 @@ |
1 | -<a href="javascript:void(0)"> |
|
2 | - <img src="{{base_url}}/images/man_24.png" alt="avatar: {{author}}" |
|
3 | - class="mini-gravatar identicon" data-identicon="{{identicon}}"/> |
|
4 | - <span class="username">{{author}}</span> |
|
5 | -</a> |
templates/history_authors/none.mustache
... | ... | @@ -1,3 +0,0 @@ |
1 | -<a href="javascript:void(0)"> |
|
2 | - <span class="username">{{author}}</span> |
|
3 | -</a> |
templates/latest_changes.mustache
... | ... | @@ -1,39 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="history"> |
|
2 | -<div id="head"> |
|
3 | - <h1><strong>{{title}}</strong></h1> |
|
4 | - <ul class="actions"> |
|
5 | - <li class="minibutton"><a href="{{base_url}}/{{escaped_url_path}}" |
|
6 | - class="action-view-page">Home</a></li> |
|
7 | - </ul> |
|
8 | -</div> |
|
9 | -<div id="wiki-history"> |
|
10 | - |
|
11 | - <fieldset> |
|
12 | - <table> |
|
13 | - <tbody> |
|
14 | - |
|
15 | - {{#versions}} |
|
16 | - <tr> |
|
17 | - <td class="author"> |
|
18 | - {{>author_template}} |
|
19 | - </td> |
|
20 | - <td class="commit-name"> |
|
21 | - <span class="time-elapsed" title="{{date_full}}">{{date}}:</span> |
|
22 | - {{message}} |
|
23 | - [{{id7}}] |
|
24 | - {{#files}} |
|
25 | - <br> |
|
26 | - <a href="{{link}}">{{file}}</a> |
|
27 | - {{/files}} |
|
28 | - </td> |
|
29 | - </tr> |
|
30 | - {{/versions}} |
|
31 | - |
|
32 | - </tbody> |
|
33 | - </table> |
|
34 | - </fieldset> |
|
35 | -</div> |
|
36 | -<div id="footer"> |
|
37 | - |
|
38 | -</div> |
|
39 | -</div> |
templates/layout.mustache
... | ... | @@ -1,133 +0,0 @@ |
1 | -<!DOCTYPE html> |
|
2 | -<html> |
|
3 | -<head> |
|
4 | - <meta http-equiv="Content-type" content="text/html;charset=utf-8"> |
|
5 | - <meta name="MobileOptimized" content="width"> |
|
6 | - <meta name="HandheldFriendly" content="true"> |
|
7 | - <meta name="viewport" content="width=device-width"> |
|
8 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/gollum.css" media="all"> |
|
9 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/editor.css" media="all"> |
|
10 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/dialog.css" media="all"> |
|
11 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/template.css" media="all"> |
|
12 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/print.css" media="print"> |
|
13 | - |
|
14 | - {{#css}}<link rel="stylesheet" type="text/css" href="{{custom_path}}/custom.css" media="all">{{/css}} |
|
15 | - |
|
16 | - {{#noindex}}<meta name="robots" content="noindex, nofollow" />{{/noindex}} |
|
17 | - |
|
18 | - <!--[if IE 7]> |
|
19 | - <link rel="stylesheet" type="text/css" href="{{base_url}}/css/ie7.css" media="all"> |
|
20 | - <![endif]--> |
|
21 | - |
|
22 | - <script> |
|
23 | - var baseUrl = '{{base_url}}'; |
|
24 | - var uploadDest = '{{upload_dest}}'; |
|
25 | - {{#page}} |
|
26 | - var pageFullPath = '{{url_path_display}}'; |
|
27 | - {{/page}} |
|
28 | - </script> |
|
29 | - <script type="text/javascript" src="{{base_url}}/javascript/jquery-1.7.2.min.js"></script> |
|
30 | - <script type="text/javascript" src="{{base_url}}/javascript/mousetrap.min.js"></script> |
|
31 | - <script type="text/javascript" src="{{base_url}}/javascript/gollum.js"></script> |
|
32 | - <script type="text/javascript" src="{{base_url}}/javascript/gollum.dialog.js"></script> |
|
33 | - <script type="text/javascript" src="{{base_url}}/javascript/gollum.placeholder.js"></script> |
|
34 | - <script type="text/javascript" src="{{base_url}}/javascript/editor/gollum.editor.js"></script> |
|
35 | - {{#use_identicon}} |
|
36 | - <script type="text/javascript" src="{{base_url}}/javascript/identicon_canvas.js"></script> |
|
37 | - {{/use_identicon}} |
|
38 | - {{#mathjax}} |
|
39 | - {{^mathjax_config}} |
|
40 | - <script type="text/javascript"> |
|
41 | - window.MathJax = { |
|
42 | - tex2jax: { |
|
43 | - inlineMath: [ ['$','$'], ['\\(','\\)'] ], |
|
44 | - displayMath: [ ['$$','$$'], ['\\[','\\]'] ], |
|
45 | - processEscapes: true |
|
46 | - }, |
|
47 | - TeX: { extensions: ["autoload-all.js"] } |
|
48 | - }; |
|
49 | - </script> |
|
50 | - {{/mathjax_config}} |
|
51 | - {{#mathjax_config}} |
|
52 | - <script type="text/javascript" src="{{base_url}}/{{mathjax_config}}"></script> |
|
53 | - {{/mathjax_config}} |
|
54 | - <script>(function(d,j){ |
|
55 | - j = d.createElement('script'); |
|
56 | - j.src = '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'; |
|
57 | - (d.head || d.getElementsByTagName('head')[0]).appendChild(j); |
|
58 | - }(document)); |
|
59 | - </script>{{/mathjax}} |
|
60 | - {{#js}}<script type="text/javascript" src="{{custom_path}}/custom.js"></script>{{/js}} |
|
61 | - |
|
62 | - <title>{{title}}</title> |
|
63 | -</head> |
|
64 | - |
|
65 | -<body> |
|
66 | - |
|
67 | -<!-- HEADER FROM SBgrid --> |
|
68 | - <header id="top"> |
|
69 | - |
|
70 | - <div class="container"> |
|
71 | - <a href="https://biogrids.org/"><div class="logo"> |
|
72 | - <!-- <img src="https://biogrids.org/static/images/logo.png" alt="https://biogrids.sbgrid.org/"> --> |
|
73 | - <img src="https://biogrids.org/wiki/images/logo.svg" alt="wiki/images/logo.png" style="width: 222px; height: 61px;"> |
|
74 | - </div></a> |
|
75 | - <nav class="main-navigation"> |
|
76 | - <ul> |
|
77 | - |
|
78 | - <!-- Links sbgrid.org must be changed to https://BIOGRIDS-DOMAIN.org/.../... when the page is published. --> |
|
79 | - |
|
80 | - <li><a href="#"><span>Supported </span>Software</a> |
|
81 | - <ol> |
|
82 | - <li><a href="/software/">Supported Applications</a></li> |
|
83 | - <li><a href="/newsletters/">Software Newsletter</a></li> |
|
84 | - <!-- <li><a href="#">Webinars</a></li> --> |
|
85 | - <li><a href="/software/tales/">Developer Tales</a></li> |
|
86 | - <li><a href="/software/deploy-your-software/">Deploy Your Software</a></li> |
|
87 | - </ol></li> |
|
88 | - |
|
89 | - <li><a href="#"><span>Get </span> Help</a> |
|
90 | - <ol> |
|
91 | - <li><a href="/wiki/" title="Biogrids Software Collection Help">Support Wiki</a></li> |
|
92 | - <li><a href="/help/?tab=bug">Report Software Bug</a></li> |
|
93 | - <li><a href="/help/?tab=software">Request New Software</a></li> |
|
94 | - <li><a href="/help/?tab=contact-us">Other Support</a></li> |
|
95 | - <li><a href="/help/?tab=grant">Grant Support</a></li> |
|
96 | - </ol></li> |
|
97 | - <li><a href="#">About Biogrids</a> |
|
98 | - <ol> |
|
99 | - <li><a href="/about/what-we-do/">What We Do</a></li> |
|
100 | - <li><a href="/members/">Members</a></li> |
|
101 | - <li><a href="/about/staff/">Staff</a></li> |
|
102 | - <li><a href="/about/history/">History</a></li> |
|
103 | - <li><a href="/about/advisory/">Advisory |
|
104 | - Board</a></li> |
|
105 | - <li><a href="/about/contact/">Contact Us</a></li> |
|
106 | - </ol></li> |
|
107 | - </ul> |
|
108 | - </nav> |
|
109 | - |
|
110 | - <a href="https://biogrids.org/"><div class="logo mobile-navigation" > |
|
111 | - <img src="/static/images/logo.svg" alt="images/logo.png" style="width: 222px; height: 61px;"> |
|
112 | - <!-- <img src="https://biogrids.org/static/images/logo.png" alt="https://biogrids.org/" style="padding: 0 0 0 0;" ></div> --> |
|
113 | - </a> |
|
114 | - |
|
115 | - </div> |
|
116 | - </header> |
|
117 | -<!--END HEADER FROM SBgrid --> |
|
118 | - |
|
119 | -{{{yield}}} |
|
120 | - |
|
121 | -<!-- FOOTER FROM SB/BIOgrid --> |
|
122 | - <footer id="footer_wiki"> |
|
123 | - |
|
124 | - <div class="copyrights"> |
|
125 | - <div class="container"> |
|
126 | - <p>Copyright © 2017, The President and Fellows of |
|
127 | - Harvard College</p> |
|
128 | - </div> |
|
129 | - </div> |
|
130 | - </footer> |
|
131 | -<!-- END FOOTER FROM SB/BIOgrid --> |
|
132 | -</body> |
|
133 | -</html> |
templates/livepreview.mustache
... | ... | @@ -1,66 +0,0 @@ |
1 | -<!DOCTYPE html> |
|
2 | -<html> |
|
3 | -<head> |
|
4 | -<title>Live Preview</title> |
|
5 | -<link rel='stylesheet' type='text/css' href='../css/template.css' /> |
|
6 | -<link rel='stylesheet' type='text/css' href='css/custom.css' /> |
|
7 | -</head> |
|
8 | - |
|
9 | -<body> |
|
10 | -<div id='editor'></div> |
|
11 | -<div id='previewframe'><div id='contentframe' class='markdown-body'></div></div> |
|
12 | -<!-- tool panel from notepage.es. save & savecomment icons from Retina Display Icon Set. --> |
|
13 | -<div id='toolpanel' class='toolpanel edit' style='width: 500px; right: 0px; visibility: hidden;'> |
|
14 | - <a id='preview' class='edit'><img src='images/globe_24.png' alt='Preview' title='Preview'></a> |
|
15 | - <a id='save' class='edit'><img src='images/save_24.png' alt='Save' title='Save'></a> |
|
16 | - <a id='savecomment' class='edit'><img src='images/savecomment_24.png' alt='Save with comment' title='Save with comment'></a> |
|
17 | - <a id='toggle' class='edit' href='javascript:void(0)' onclick='jsm.toggleLeftRight();'><img src='images/lr_24.png' alt='Toggle left to right' title='Toggle left to right'></a> |
|
18 | -</div> |
|
19 | - |
|
20 | -<div id='editor_bg' class='editor_bg'></div> |
|
21 | -<div class='toolpanel_bg'></div> |
|
22 | - |
|
23 | -<div id='commenttoolpanel' class='toolpanel edit' style='width: 500px; right: 0px; '> |
|
24 | - <a id='savecommentconfirm' class='edit'><img src='images/savecomment_24.png' alt='Confirm save with comment' title='Confirm save with comment'></a> |
|
25 | - <a id='commentcancel' class='edit'><img src='images/cancel_24.png' alt='Cancel save with comment' title='Cancel save with comment'></a> |
|
26 | -</div> |
|
27 | -<div id='comment'></div> |
|
28 | -<div id='darkness'></div> |
|
29 | - |
|
30 | -<script> |
|
31 | -var require = { |
|
32 | - paths: { |
|
33 | - ace: 'js/ace/lib/ace' |
|
34 | - } |
|
35 | -}; |
|
36 | -</script> |
|
37 | -<script src='js/requirejs.min.js'></script> |
|
38 | -<script src='../javascript/jquery-1.7.2.min.js'></script> |
|
39 | -<script src='js/jquery.ba-throttle-debounce.min.js'></script> |
|
40 | -<script src='js/sundown.js'></script> |
|
41 | -<script src='js/md_sundown.js'></script> |
|
42 | -<script src='js/livepreview.js'></script> |
|
43 | -{{#mathjax}} |
|
44 | -{{^mathjax_config}} |
|
45 | -<script type="text/javascript"> |
|
46 | -window.MathJax = { |
|
47 | -tex2jax: { |
|
48 | - inlineMath: [ ['$','$'], ['\\(','\\)'] ], |
|
49 | - displayMath: [ ['$$','$$'], ['\\[','\\]'] ], |
|
50 | - processEscapes: true |
|
51 | -}, |
|
52 | -TeX: { extensions: ["autoload-all.js"] } |
|
53 | -}; |
|
54 | -</script> |
|
55 | -{{/mathjax_config}} |
|
56 | -{{#mathjax_config}} |
|
57 | -<script type="text/javascript" src="{{base_url}}/{{mathjax_config}}"></script> |
|
58 | -{{/mathjax_config}} |
|
59 | -<script>(function(d,j){ |
|
60 | -j = d.createElement('script'); |
|
61 | -j.src = '//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'; |
|
62 | -(d.head || d.getElementsByTagName('head')[0]).appendChild(j); |
|
63 | -}(document)); |
|
64 | -</script>{{/mathjax}} |
|
65 | -</body> |
|
66 | -</html> |
templates/page.mustache
... | ... | @@ -1,100 +0,0 @@ |
1 | -<script> |
|
2 | -Mousetrap.bind(['e'], function( e ) { |
|
3 | - e.preventDefault(); |
|
4 | - window.location = "/edit" + window.location.pathname; |
|
5 | - return false; |
|
6 | -}); |
|
7 | -</script> |
|
8 | -<div id="wiki-wrapper" class="page"> |
|
9 | - <div id="head"> |
|
10 | - <h1>{{page_header}}</h1> |
|
11 | - <ul class="actions"> |
|
12 | - <li class="minibutton"> |
|
13 | - {{>searchbar}} |
|
14 | - </li> |
|
15 | - <li class="minibutton"><a href="{{base_url}}/" |
|
16 | - class="action-home-page">Home</a></li> |
|
17 | - <li class="minibutton"><a href="{{base_url}}/pages" |
|
18 | - class="action-all-pages">All</a></li> |
|
19 | - <li class="minibutton"><a href="{{base_url}}/fileview" |
|
20 | - class="action-fileview">Files</a></li> |
|
21 | - {{#allow_editing}} |
|
22 | - <li class="minibutton jaws"> |
|
23 | - <a href="#" id="minibutton-new-page">New</a></li> |
|
24 | - {{/allow_editing}} |
|
25 | - {{#allow_editing}} |
|
26 | - {{#allow_uploads}} |
|
27 | - <li class="minibutton jaws"> |
|
28 | - <a href="#" id="minibutton-upload-page">Upload</a></li> |
|
29 | - {{/allow_uploads}} |
|
30 | - {{/allow_editing}} |
|
31 | - {{#allow_editing}} |
|
32 | - {{#editable}} |
|
33 | - <li class="minibutton jaws"> |
|
34 | - <a href="#" id="minibutton-rename-page">Rename</a></li> |
|
35 | - {{/editable}} |
|
36 | - {{/allow_editing}} |
|
37 | - {{#allow_editing}} |
|
38 | - {{#editable}} |
|
39 | - <li class="minibutton"><a href="{{base_url}}/edit/{{escaped_url_path}}" |
|
40 | - class="action-edit-page">Edit</a></li> |
|
41 | - {{/editable}} |
|
42 | - {{/allow_editing}} |
|
43 | - {{#page_exists}} |
|
44 | - <li class="minibutton"><a href="{{base_url}}/history/{{escaped_url_path}}" |
|
45 | - class="action-page-history">History</a></li> |
|
46 | - <li class="minibutton"><a href="{{base_url}}/latest_changes" |
|
47 | - class="action-page-history">Latest Changes</a></li> |
|
48 | - {{/page_exists}} |
|
49 | - </ul> |
|
50 | - </div> |
|
51 | -<div id="wiki-content"> |
|
52 | -<div class="{{#has_header}}has-header{{/has_header}}{{#has_footer}} has-footer{{/has_footer}}{{#has_sidebar}} has-sidebar has-{{bar_side}}bar{{/has_sidebar}}{{#has_toc}} has-toc{{/has_toc}}"> |
|
53 | - {{#has_toc}} |
|
54 | - <div id="wiki-toc-main"> |
|
55 | - {{{toc_content}}} |
|
56 | - </div> |
|
57 | - {{/has_toc}} |
|
58 | - {{#has_sidebar}} |
|
59 | - <div id="wiki-sidebar" class="gollum-{{sidebar_format}}-content"> |
|
60 | - <div id="sidebar-content" class="markdown-body"> |
|
61 | - {{{sidebar_content}}} |
|
62 | - </div> |
|
63 | - </div> |
|
64 | - {{/has_sidebar}} |
|
65 | - <div id="wiki-body" class="gollum-{{format}}-content"> |
|
66 | - {{#has_header}} |
|
67 | - <div id="wiki-header" class="gollum-{{header_format}}-content"> |
|
68 | - <div id="header-content" class="markdown-body"> |
|
69 | - {{{header_content}}} |
|
70 | - </div> |
|
71 | - </div> |
|
72 | - {{/has_header}} |
|
73 | - <div class="markdown-body"> |
|
74 | - {{{content}}} |
|
75 | - </div> |
|
76 | - </div> |
|
77 | - {{#has_footer}} |
|
78 | - <div id="wiki-footer" class="gollum-{{footer_format}}-content"> |
|
79 | - <div id="footer-content" class="markdown-body"> |
|
80 | - {{{footer_content}}} |
|
81 | - </div> |
|
82 | - </div> |
|
83 | - {{/has_footer}} |
|
84 | - </div> |
|
85 | - |
|
86 | -</div> |
|
87 | -<div id="footer"> |
|
88 | - <p id="last-edit">Last edited by <b>{{author}}</b>, {{date}}</p> |
|
89 | - {{#allow_editing}} |
|
90 | - <p> |
|
91 | - <a id="delete-link" href="{{base_url}}/{{escaped_url_path}}" data-confirm="Are you sure you want to delete this page?"><span>Delete this Page</span></a> |
|
92 | - </p> |
|
93 | - {{/allow_editing}} |
|
94 | -</div> |
|
95 | -</div> |
|
96 | - |
|
97 | -<form name="rename" method="POST" action="{{base_url}}/rename/{{escaped_url_path}}"> |
|
98 | - <input type="hidden" name="rename"/> |
|
99 | - <input type="hidden" name="message"/> |
|
100 | -</form> |
templates/pages.mustache
... | ... | @@ -1,42 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="results"> |
|
2 | -<div id="head" style="border:none;"> |
|
3 | - <h1>{{title}}</h1> |
|
4 | - <ul class="actions"> |
|
5 | - <li class="minibutton"> |
|
6 | - {{>searchbar}} |
|
7 | - </li> |
|
8 | - <li class="minibutton"><a href="{{base_url}}/" |
|
9 | - class="action-home-page">Home</a></li> |
|
10 | - {{#allow_editing}} |
|
11 | - <li class="minibutton jaws"> |
|
12 | - <a href="#" id="minibutton-new-page">New</a></li> |
|
13 | - {{/allow_editing}} |
|
14 | - </ul> |
|
15 | -</div> |
|
16 | -<div id="pages"> |
|
17 | - |
|
18 | -{{#has_results}} |
|
19 | - <div id="file-browser"> |
|
20 | - <div class="breadcrumb"> |
|
21 | - {{{breadcrumb}}} |
|
22 | - </div> |
|
23 | - <ul> |
|
24 | - {{{files_folders}}} |
|
25 | - </ul> |
|
26 | - </div> |
|
27 | -{{/has_results}} |
|
28 | - |
|
29 | -{{#no_results}} |
|
30 | - <p id="no-results"> |
|
31 | - There are no pages in <strong>{{ref}}</strong>. |
|
32 | - </p> |
|
33 | -{{/no_results}} |
|
34 | - |
|
35 | -</div> |
|
36 | -<div id="footer"> |
|
37 | - <ul class="actions"> |
|
38 | - <li class="minibutton"><a href="#">Back to Top</a></li> |
|
39 | - </ul> |
|
40 | -</div> |
|
41 | -</div> |
|
42 | - |
templates/search.mustache
... | ... | @@ -1,38 +0,0 @@ |
1 | -<div id="wiki-wrapper" class="results"> |
|
2 | -<div id="head"> |
|
3 | - <h1>Search Results for <strong>{{query}}</strong></h1> |
|
4 | - <ul class="actions"> |
|
5 | - <li class="minibutton"> |
|
6 | - {{>searchbar}} |
|
7 | - </li> |
|
8 | - <li class="minibutton"><a href="{{base_url}}/" |
|
9 | - class="action-home-page">Home</a></li> |
|
10 | - </ul> |
|
11 | -</div> |
|
12 | -<div id="results"> |
|
13 | - |
|
14 | -{{#has_results}} |
|
15 | - <ul> |
|
16 | - {{#results}} |
|
17 | - <li> |
|
18 | - <a href="{{base_url}}/{{name}}">{{name}}</a> |
|
19 | - <span class="count">({{count}} matches)</span> |
|
20 | - </li> |
|
21 | - {{/results}} |
|
22 | - </ul> |
|
23 | -{{/has_results}} |
|
24 | - |
|
25 | -{{#no_results}} |
|
26 | - <p id="no-results"> |
|
27 | - There are no results for your search <strong>{{query}}</strong>. |
|
28 | - </p> |
|
29 | -{{/no_results}} |
|
30 | - |
|
31 | -</div> |
|
32 | -<div id="footer"> |
|
33 | - <ul class="actions"> |
|
34 | - <li class="minibutton"><a href="#">Back to Top</a></li> |
|
35 | - </ul> |
|
36 | -</div> |
|
37 | -</div> |
|
38 | - |
templates/searchbar.mustache
... | ... | @@ -1,10 +0,0 @@ |
1 | -<div id="searchbar"> |
|
2 | - <form action="{{base_url}}/search" method="get" id="search-form"> |
|
3 | - <div id="searchbar-fauxtext"> |
|
4 | - <input type="text" name="q" id="search-query" value="Search…" autocomplete="off"> |
|
5 | - <a href="#" id="search-submit" title="Search this wiki"> |
|
6 | - <span>Search</span> |
|
7 | - </a> |
|
8 | - </div> |
|
9 | - </form> |
|
10 | -</div> |
|
... | ... | \ No newline at end of file |