Skip to content

Commit

Permalink
add basic login.html template
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistobaan committed May 4, 2020
1 parent 4f2d91d commit a5312b6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jupyter_server/templates/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% extends "page.html" %}

{% block site %}
<form action="{{base_url}}login?next={{next}}" method="post" class="navbar-form pull-left">
{{ xsrf_form_html() | safe }}
<label for="password_input"><strong>{% trans %}Password:{% endtrans %}</strong></label>
<input type="password" name="password" id="password_input" class="form-control">
<button type="submit" class="btn btn-default" id="login_submit">{% trans %}Log in{% endtrans %}</button>
</form>
{% endblock site %}

0 comments on commit a5312b6

Please sign in to comment.