better mobile view
[phinde.git] / data / templates / base.htm
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html>
3 <html xmlns="http://www.w3.org/1999/xhtml">
4  <head>
5   <meta charset="utf-8" />
6   <title>{% block title %}{% endblock %}{{apptitle}}</title>
7   <link rel="stylesheet" href="css/bootstrap.min.css"/>
8   <link rel="stylesheet" href="css/font-awesome.css"/>
9   <link rel="stylesheet" href="css/phinde.css"/>
10   <link rel="icon" href="favicon.ico"/>
11   <meta name="generator" content="phinde" />
12   <meta name="viewport" content="width=device-width, initial-scale=1"/>
13   <link rel="search" title="{{apptitle}}" type="application/opensearchdescription+xml" href="/opensearchdescription.php"/>
14   {% block meta %}{% endblock %}
15  </head>
16  <body>
17   <div class="navbar navbar-inverse navbar-static-top">
18    <div class="navbar-inner">
19     <div class="container">
20      <ul class="nav">
21       <li>
22        <a class="brand" href="{{baseUrl}}">{{apptitle}}</a>
23       </li>
24      </ul>
25      <form class="navbar-form pull-left" method="get" action="/">
26       <input type="text" name="q" placeholder="Search" id="searchq"
27              value="{{query}}" class="input-xxlarge"/>
28       {% if siteParam %}
29       <input type="hidden" name="site" value="{{site}}"/>
30       {% endif %}
31       <button type="submit" class="btn">Find</button>
32      </form>
33     </div>
34    </div>
35   </div>
36
37   {% block maincontent %}{% endblock %}
38
39   <div class="container footer">
40    Powered by
41    <a href="https://github.com/cweiske/phinde"><em>phinde</em></a>,
42    the self-hosted search engine.
43    <a href="/status.php" class="disguised">status</a>
44   </div>
45  </body>
46 </html>