</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>
<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>