customizable top bar
[phorkie.git] / data / templates / base.htm
index 38a8bf7..867481c 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"/>
        </form>
       </li>
+      -->
      </ul>
     </div>
    </div>
   </div>
 
-  <div class="container-fluid">
+  <div class="container">
    <div class="row">
     <div class="span9">
      {% block content %}{% endblock %}
     </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