searching works now (pager missing)
[phorkie.git] / data / templates / base.htm
index b20bc80af66a025b9de40285413ae55407c4304f..906453eda57f576714bd4006790d18d090d76920 100644 (file)
@@ -4,16 +4,17 @@
  <head>
   <link rel="stylesheet" href="{{css}}"/>
   <link rel="stylesheet" href="/phorkie.css" />
-  <title>{% block title %}{% endblock %} - phorkie</title>
+  <title>{% block title %}{% endblock %} - {{title}}</title>
   <script src="/jquery-1.7.2.min.js"></script>
   <script src="/phorkie.js"></script>
  </head>
  <body>
+  {{topbar|raw}}
   <div class="navbar">
    <div class="navbar-inner">
     <div class="container">
      <a class="brand" href="/">
-      phorkie
+      {{title}}
      </a>
      <ul class="nav">
       <li>
       <li>
        <a href="/list">List all</a>
       </li>
-      <!--
       <li>
        <form class="navbar-search pull-left" action="/search" method="get">
-        <input type="text" class="search-query" name="q" placeholder="Search"/>
+        <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
        </form>
       </li>
-      -->
      </ul>
     </div>
    </div>
     </div>
    </div>
   </div>
+
+  <div class="container footer">
+   <a href="//sf.net/p/phorkie/">phorkie</a>,
+   the self-hosted, git-based pastebin software is available under the
+   <a href="https://sf.net/p/phorkie/">
+    <acronym title="GNU Affero General Public License">AGPL</acronym></a>.
+  </div>
+
  </body>
 </html>
\ No newline at end of file