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