mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
added classes to html and removed add class lines from main.js file
This commit is contained in:
parent
f839d72b1f
commit
72bedfc36d
@ -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();
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user