Adding searchbar markup
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
<li class="minibutton"><a href="/edit/{{escaped_name}}"
|
<li class="minibutton"><a href="/edit/{{escaped_name}}"
|
||||||
class="action-edit-page">Edit Page</a></li>
|
class="action-edit-page">Edit Page</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
{{>searchbar}}
|
||||||
</div>
|
</div>
|
||||||
<div id="wiki-history">
|
<div id="wiki-history">
|
||||||
|
|
||||||
@@ -39,7 +40,7 @@
|
|||||||
[<a href="/{{escaped_name}}/{{id}}" title="View commit">{{id7}}…</a>]
|
[<a href="/{{escaped_name}}/{{id}}" title="View commit">{{id7}}…</a>]
|
||||||
</td>
|
</td>
|
||||||
<td class="revert-action">
|
<td class="revert-action">
|
||||||
<a href="javascript:void(0);" title="Revert to this change">Revert to <span>{{id7}}…</span></a>
|
<a href="#" title="Revert to this change" rel="{{id}}">Revert to <span>{{id7}}…</span></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/versions}}
|
{{/versions}}
|
||||||
@@ -55,7 +56,7 @@
|
|||||||
class="action-compare-revision">Compare Revisions</a></li>
|
class="action-compare-revision">Compare Revisions</a></li>
|
||||||
|
|
||||||
<!-- only show this button if we have more than 20 revisions -->
|
<!-- only show this button if we have more than 20 revisions -->
|
||||||
<li class="minibutton"><a href="javascript:void(0);"
|
<li class="minibutton"><a href="#"
|
||||||
class="action-back-to-top">Back to Top</a></li>
|
class="action-back-to-top">Back to Top</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -4,10 +4,12 @@
|
|||||||
<meta http-equiv="Content-type" content="text/html;charset=utf-8">
|
<meta http-equiv="Content-type" content="text/html;charset=utf-8">
|
||||||
<link rel="stylesheet" type="text/css" href="/css/gollum.css" media="all">
|
<link rel="stylesheet" type="text/css" href="/css/gollum.css" media="all">
|
||||||
<link rel="stylesheet" type="text/css" href="/css/editor.css" media="all">
|
<link rel="stylesheet" type="text/css" href="/css/editor.css" media="all">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/dialog.css" media="all">
|
||||||
<link rel="stylesheet" type="text/css" href="/css/template.css" media="all">
|
<link rel="stylesheet" type="text/css" href="/css/template.css" media="all">
|
||||||
|
|
||||||
<script type="text/javascript" src="/javascript/jquery.js"></script>
|
<script type="text/javascript" src="/javascript/jquery.js"></script>
|
||||||
<script type="text/javascript" src="/javascript/gollum.js"></script>
|
<script type="text/javascript" src="/javascript/gollum.js"></script>
|
||||||
|
<script type="text/javascript" src="/javascript/gollum.dialog.js"></script>
|
||||||
<script type="text/javascript" src="/javascript/gollum.fx.js"></script>
|
<script type="text/javascript" src="/javascript/gollum.fx.js"></script>
|
||||||
<!-- TODO: only load this on the edit page -->
|
<!-- TODO: only load this on the edit page -->
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
<li class="minibutton"><a href="/history/{{escaped_name}}"
|
<li class="minibutton"><a href="/history/{{escaped_name}}"
|
||||||
class="action-page-history">Page History</a></li>
|
class="action-page-history">Page History</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
{{>searchbar}}
|
||||||
</div>
|
</div>
|
||||||
<div id="wiki-content">
|
<div id="wiki-content">
|
||||||
<div class="wrap{{#has_footer}} has-footer{{/has_footer}}{{#has_sidebar}}has-rightbar{{/has_sidebar}}">
|
<div class="wrap{{#has_footer}} has-footer{{/has_footer}}{{#has_sidebar}}has-rightbar{{/has_sidebar}}">
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<div id="searchbar">
|
||||||
|
<div id="searchbar-fauxtext">
|
||||||
|
<input type="text" name="q" id="search-query">
|
||||||
|
<input type="submit" id="search-submit">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user