loginmain.js
12 lines
| 383 B
| application/javascript
|
JavascriptLexer
Jonathan Frederic
|
r17192 | // Copyright (c) IPython Development Team. | ||
// Distributed under the terms of the Modified BSD License. | ||||
Brian E. Granger
|
r5109 | |||
Jonathan Frederic
|
r17193 | var ipython = ipython || {}; | ||
Jonathan Frederic
|
r17201 | require(['base/js/page'], function(page) { | ||
Jonathan Frederic
|
r17204 | var page_instance = new page.Page(); | ||
Jonathan Frederic
|
r16913 | $('button#login_submit').addClass("btn btn-default"); | ||
Jonathan Frederic
|
r17204 | page_instance.show(); | ||
Brian Granger
|
r6192 | $('input#password_input').focus(); | ||
Jonathan Frederic
|
r17204 | |||
ipython.page = page_instance; | ||||
Brian E. Granger
|
r5109 | }); | ||