|
|
|
|
@ -27,6 +27,7 @@
|
|
|
|
|
{% endif %}
|
|
|
|
|
<form action="{{base_url}}login?next={{next}}" method="post" class="navbar-form pull-left">
|
|
|
|
|
{{ xsrf_form_html() | safe }}
|
|
|
|
|
<label for="password_input">Password</label>
|
|
|
|
|
<input type="password" name="password" id="password_input" class="form-control">
|
|
|
|
|
<button type="submit" id="login_submit">{% trans %}Log in{% endtrans %}</button>
|
|
|
|
|
</form>
|
|
|
|
|
@ -92,14 +93,16 @@ http://localhost:8888/?token=c8de56fa... :: /Users/you/notebooks
|
|
|
|
|
<form action="{{base_url}}login?next={{next}}" method="post" class="">
|
|
|
|
|
{{ xsrf_form_html() | safe }}
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<input type="password" name="password" id="password_input" class="form-control" placeholder="Token">
|
|
|
|
|
<label for="token_input">Token</label>
|
|
|
|
|
<input type="password" name="password" id="token_input" class="form-control" placeholder="Token">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="new_password_input">New Password</label>
|
|
|
|
|
<input type="password" name="new_password" id="new_password_input"
|
|
|
|
|
class="form-control" placeholder="New password" required>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<button type="submit" id="login_submit">{% trans %}Log in and set new password{% endtrans %}</button>
|
|
|
|
|
<button type="submit" id="login_new_pass_submit">{% trans %}Log in and set new password{% endtrans %}</button>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|