ADD: Allow editing of user session data
[phorkie.git] / data / templates / base.htm
index 2b8544b0178883225993f6ecb6bf43b7f227f1d0..ec2b7469d1398f2f7b229b62fbcc225693626002 100644 (file)
       <li>
        <a href="/list">List all</a>
       </li>
+      {% if identity %}
+      <li>
+       <a href="/user">{{name}} ({{email}})</a>
+      </li>
+      <li>
+       <a href="/auth?logout">Logout</a>
+      </li>
+      {% endif %}
       {% if db.adapter %}
       <li>
        <form class="navbar-search pull-left" action="/search" method="get">
@@ -57,4 +65,4 @@
   </div>
 
  </body>
-</html>
\ No newline at end of file
+</html>