searching works now (pager missing)
[phorkie.git] / data / templates / base.htm
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html>
3 <html>
4  <head>
5   <link rel="stylesheet" href="{{css}}"/>
6   <link rel="stylesheet" href="/phorkie.css" />
7   <title>{% block title %}{% endblock %} - {{title}}</title>
8   <script src="/jquery-1.7.2.min.js"></script>
9   <script src="/phorkie.js"></script>
10  </head>
11  <body>
12   {{topbar|raw}}
13   <div class="navbar">
14    <div class="navbar-inner">
15     <div class="container">
16      <a class="brand" href="/">
17       {{title}}
18      </a>
19      <ul class="nav">
20       <li>
21        <a href="/">New paste</a>
22       </li>
23       <li>
24        <a href="/list">List all</a>
25       </li>
26       <li>
27        <form class="navbar-search pull-left" action="/search" method="get">
28         <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
29        </form>
30       </li>
31      </ul>
32     </div>
33    </div>
34   </div>
35
36   <div class="container">
37    <div class="row">
38     <div class="span9">
39      {% block content %}{% endblock %}
40     </div>
41     <div class="span3">
42      <div style="height: 1em"></div>
43      {% block sidebar %}{% endblock %}
44     </div>
45    </div>
46   </div>
47
48   <div class="container footer">
49    <a href="//sf.net/p/phorkie/">phorkie</a>,
50    the self-hosted, git-based pastebin software is available under the
51    <a href="https://sf.net/p/phorkie/">
52     <acronym title="GNU Affero General Public License">AGPL</acronym></a>.
53   </div>
54
55  </body>
56 </html>