added classes to html and removed add class lines from main.js file

This commit is contained in:
Rosa Swaby 2018-04-17 11:21:31 -04:00
parent f839d72b1f
commit 72bedfc36d
2 changed files with 2 additions and 4 deletions

View File

@ -4,8 +4,6 @@
define(['jquery', 'base/js/namespace', 'base/js/page'], function($, IPython, page) {
function login_main() {
var page_instance = new page.Page('div#header', 'div#site');
$('button#login_submit').addClass("btn btn-default");
$('button#login_new_pass_submit').addClass("btn btn-default");
page_instance.show();
$('input#password_input').focus();
$('input#token_input').focus();

View File

@ -28,7 +28,7 @@
<label for="password_input"><strong>{% trans %}Password:{% endtrans %}</strong></label>
{% endif %}
<input type="password" name="password" id="password_input" class="form-control">
<button type="submit" id="login_submit">{% trans %}Log in{% endtrans %}</button>
<button type="submit" class="btn btn-default" id="login_submit">{% trans %}Log in{% endtrans %}</button>
</form>
</div>
</div>
@ -100,7 +100,7 @@ http://localhost:8888/?token=c8de56fa... :: /Users/you/notebooks
<input type="password" name="new_password" id="new_password_input" class="form-control" required>
</div>
<div class="form-group">
<button type="submit" id="login_new_pass_submit">{% trans %}Log in and set new password{% endtrans %}</button>
<button type="submit" class="btn btn-default" id="login_new_pass_submit">{% trans %}Log in and set new password{% endtrans %}</button>
</div>
</form>
{% endif %}