first index and search test
[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       <!--
27       <li>
28        <form class="navbar-search pull-left" action="/search" method="get">
29         <input type="text" class="search-query" name="q" placeholder="Search"/>
30        </form>
31       </li>
32       -->
33      </ul>
34     </div>
35    </div>
36   </div>
37
38   <div class="container">
39    <div class="row">
40     <div class="span9">
41      {% block content %}{% endblock %}
42     </div>
43     <div class="span3">
44      <div style="height: 1em"></div>
45      {% block sidebar %}{% endblock %}
46     </div>
47    </div>
48   </div>
49
50   <div class="container footer">
51    <a href="//sf.net/p/phorkie/">phorkie</a>,
52    the self-hosted, git-based pastebin software is available under the
53    <a href="https://sf.net/p/phorkie/">
54     <acronym title="GNU Affero General Public License">AGPL</acronym></a>.
55   </div>
56
57  </body>
58 </html>