##// END OF EJS Templates
Hide top login/logout buttons on login/logout pages.
Stefan van der Walt -
Show More
@@ -22,6 +22,9 b''
22 22
23 23 <div id="header">
24 24 <span id="ipython_notebook"><h1><img src='static/ipynblogo.png' alt='IPython Notebook'/></h1></span>
25
26 {% block login_widget %}
27
25 28 <span id="login_widget">
26 29 {% if logged_in %}
27 30 <button id="logout">Logout</button>
@@ -29,6 +32,9 b''
29 32 <button id="login">Login</button>
30 33 {% end %}
31 34 </span>
35
36 {% end %}
37
32 38 {% block header %}
33 39 {% end %}
34 40 </div>
@@ -13,6 +13,9 b''
13 13
14 14 {% end %}
15 15
16 {% block login_widget %}
17 {% end %}
18
16 19 {% block script %}
17 20 <script type="text/javascript">
18 21 $(document).ready(function() {
@@ -16,6 +16,9 b''
16 16
17 17 {% end %}
18 18
19 {% block login_widget %}
20 {% end %}
21
19 22 {% block script %}
20 23 <script type="text/javascript">
21 24 $(document).ready(function() {
General Comments 0
You need to be logged in to leave comments. Login now