##// END OF EJS Templates
get cell correctly in nested context...
get cell correctly in nested context fix some extensions like live_reveal the .not('.cell .cell') part prevent the potential selection of DOM elelment that would have the class cell from any output. In each branch of the dom we thus select the first decendent node that have the class '.cell'.

File last commit:

r17358:4aea6271
r19086:baacd87d
Show More
login.html
53 lines | 1.2 KiB | text/html | HtmlLexer
{% extends "page.html" %}
{% block stylesheet %}
{{super()}}
<link rel="stylesheet" href="{{ static_url("auth/css/override.css") }}" type="text/css" />
{% endblock %}
{% block login_widget %}
{% endblock %}
{% block site %}
<div id="ipython-main-app" class="container">
{% if login_available %}
<div class="row">
<div class="navbar col-sm-8 col-sm-offset2">
<div class="navbar-inner">
<div class="container">
<div class="center-nav">
<p class="navbar-text nav">Password:</p>
<form action="{{base_url}}login?next={{next}}" method="post" class="navbar-form pull-left">
<input type="password" name="password" id="password_input">
<button type="submit" id="login_submit">Log in</button>
</form>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if message %}
<div class="row">
{% for key in message %}
<div class="message {{key}}">
{{message[key]}}
</div>
{% endfor %}
</div>
{% endif %}
<div/>
{% endblock %}
{% block script %}
{{super()}}
<script src="{{static_url("auth/js/loginmain.js") }}" type="text/javascript" charset="utf-8"></script>
{% endblock %}