##// END OF EJS Templates
latex_to_png returns None when the backend cannot be used...
latex_to_png returns None when the backend cannot be used When matplotlib/dvipng is not present, other formatter will be used.

File last commit:

r6840:ff6b85da
r7309:170a5ca2
Show More
login.html
42 lines | 832 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 %}
Stefan van der Walt
Use template inheritance.
r5324 <form action="/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 %}