Major UI Changes:
[htsworkflow.git] / templates / app.html
index 4d0e41658971a3c827c76c0c1862ab71257d3093..cc7bd2953f78d4e26ebaaf53c0d310246bbf865e 100644 (file)
             <a href="{% url django.contrib.auth.views.password_change %}">Change_PW</a>
         </li>
     </ul>
-    <div id="bcmagic_div">
-    {% if user.is_authenticated %}
-    Logged in as <b>{{ user.username }}</b>.<br />
-    <a href="{% url django.contrib.auth.views.logout_then_login %}">Logout</a>
-    {% else %}
-    <center>Not logged in</center>
-    {% endif %}
-    <br />
-    <br />
-    {% include "magic.html" %}
+    <div id="bcmagic_div" class="x-hidden">
+        {% include "magic.html" %}
+    </div>
+    
+    <div id="right_tbar_data" class="x-hidden">
+        <!--<div id="spacer"></div>-->
+        <div id="Admin" href="/admin/"></div>
+        <div id="Profile" href="{% url samplebc.samples.views.user_profile %}"></div>
+        <div id="Password Change" href="{% url django.contrib.auth.views.password_change %}"></div>
     </div>
+    <div id="login_info" class="x-hidden" authenticated="{{ user.is_authenticated|lower }}" user="{{ user.username }}" loginurl="{% url django.contrib.auth.views.login %}" logouturl="{% url django.contrib.auth.views.logout_then_login %}"></div>
     
     <div id="body_content">
         {% block msg %}