remote forking: use the original http/https url in description
[phorkie.git] / data / templates / base.htm
index 2b8544b0178883225993f6ecb6bf43b7f227f1d0..dc065662b29b37eb91c0d8f926c4d7ce20e6cbff 100644 (file)
       </li>
       {% if db.adapter %}
       <li>
-       <form class="navbar-search pull-left" action="/search" method="get">
+       <form class="navbar-search" action="/search" method="get">
         <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
        </form>
       </li>
       {% endif %}
      </ul>
+     <ul class="nav pull-right">
+      {% if identity %}
+      <li>
+       <a href="/user">{{name}} ({{email}})</a>
+      </li>
+      <li>
+       <a href="/login?logout">Logout</a>
+      </li>
+      {% else %}
+      <li>
+       <a href="/login">Login</a>
+      </li>
+      {% endif %}
+     </ul>
     </div>
    </div>
   </div>
@@ -53,8 +67,8 @@
    <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>.
+    <abbr title="GNU Affero General Public License">AGPL</abbr></a>.
   </div>
 
  </body>
-</html>
\ No newline at end of file
+</html>