##// END OF EJS Templates
Backport PR #2399: IndentationError display...
Backport PR #2399: IndentationError display IndentationError is a subclass of SyntaxError, and they should display in a similar fashion, with the problematic line and line number shown. We were being over-specific with our type checking. Closes #2398.

File last commit:

r7993:e868f463
r9827:df79d72f
Show More
login.html
42 lines | 851 B | text/html | HtmlLexer
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% extends page.html %}
Stefan van der Walt
Use template inheritance.
r5324
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% block stylesheet %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <link rel="stylesheet" href="{{static_url("css/login.css") }}" type="text/css"/>
{% end %}
{% block login_widget %}
{% end %}
{% block site %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <div id="main_app">
{% if login_available %}
MinRK
Backport PR #2073: allows password and prefix for notebook...
r7993 <form action="{{base_project_url}}login?next={{url_escape(next)}}" method="post">
Matthias BUSSONNIER
clean html, style logon form
r6840 Password: <input type="password" class='ui-widget ui-widget-content' name="password" id="password_input">
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <input type="submit" value="Log in" id="login_submit">
Stefan van der Walt
Use template inheritance.
r5324 </form>
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% end %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722
Brian Granger
Refactoring templates and top level js/css organization.
r6192 {% if message %}
{% for key in message %}
<div class="message {{key}}">
{{message[key]}}
</div>
{% end %}
Stefan van der Walt
Split read-only logic into three functions: read_only, logged_in, and login_available. Move display logic from javascript into templates.
r5722 {% end %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192 <div/>
Stefan van der Walt
On the login page, focus on the password field.
r5720
Stefan van der Walt
Hide top login/logout buttons on login/logout pages.
r5723 {% end %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192
Stefan van der Walt
On the login page, focus on the password field.
r5720 {% block script %}
Brian Granger
Refactoring templates and top level js/css organization.
r6192
<script src="{{static_url("js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script>
Stefan van der Walt
On the login page, focus on the password field.
r5720 {% end %}