{% extends layout.html %}

{% block content_panel %}
  <ul>
    {% if read_only or not login_available %}

    Proceed to the <a href="/">list of notebooks</a>.</li>

    {% else %}

    Proceed to the <a href="/login">login page</a>.</li>

    {% end %}

  </ul>

{% end %}

{% block login_widget %}
{% end %}

{% block script %}
<script type="text/javascript">
  $(document).ready(function() {
    IPython.login_widget = new IPython.LoginWidget('span#login_widget');
  });
</script>
{% end %}
