File: loginmain.js

package info (click to toggle)
jupyter-notebook 6.4.13-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,860 kB
  • sloc: javascript: 20,765; python: 15,658; makefile: 255; sh: 160
file content (12 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.

define(['jquery', 'base/js/namespace', 'base/js/page'], function($, IPython, page) {
    function login_main() {
      var page_instance = new page.Page('div#header', 'div#site');
      page_instance.show();
      $('input#password_input').focus();
      IPython.page = page_instance;
    }
    return login_main;
});