Show More
@@ -22,13 +22,19 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 | <span id="login_widget"> | |
|
26 |
|
|
|
27 | <button id="logout">Logout</button> | |
|
28 | {% elif login_available and not logged_in %} | |
|
29 | <button id="login">Login</button> | |
|
30 | {% end %} | |
|
31 | </span> | |
|
25 | ||
|
26 | {% block login_widget %} | |
|
27 | ||
|
28 | <span id="login_widget"> | |
|
29 | {% if logged_in %} | |
|
30 | <button id="logout">Logout</button> | |
|
31 | {% elif login_available and not logged_in %} | |
|
32 | <button id="login">Login</button> | |
|
33 | {% end %} | |
|
34 | </span> | |
|
35 | ||
|
36 | {% end %} | |
|
37 | ||
|
32 | 38 | {% block header %} |
|
33 | 39 | {% end %} |
|
34 | 40 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now