Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
|
@ -0,0 +1,8 @@
|
|||
/*This file contains any manual css for this page that needs to override the global styles.
|
||||
This is only required when different pages style the same element differently. This is just
|
||||
a hack to deal with our current css styles and no new styling should be added in this file.*/
|
||||
|
||||
#ipython-main-app {
|
||||
padding-top: 50px;
|
||||
text-align: center;
|
||||
}
|
12
venv/Lib/site-packages/notebook/static/auth/js/loginmain.js
Normal file
12
venv/Lib/site-packages/notebook/static/auth/js/loginmain.js
Normal file
|
@ -0,0 +1,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;
|
||||
});
|
|
@ -0,0 +1,38 @@
|
|||
// Copyright (c) Jupyter Development Team.
|
||||
// Distributed under the terms of the Modified BSD License.
|
||||
|
||||
define([
|
||||
'jquery',
|
||||
'base/js/utils',
|
||||
], function($, utils){
|
||||
"use strict";
|
||||
|
||||
var LoginWidget = function (selector, options) {
|
||||
options = options || {};
|
||||
this.base_url = options.base_url || utils.get_body_data("baseUrl");
|
||||
this.selector = selector;
|
||||
if (this.selector !== undefined) {
|
||||
this.element = $(selector);
|
||||
this.bind_events();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
LoginWidget.prototype.bind_events = function () {
|
||||
var that = this;
|
||||
this.element.find("button#logout").click(function () {
|
||||
window.location = utils.url_path_join(
|
||||
that.base_url,
|
||||
"logout"
|
||||
);
|
||||
});
|
||||
this.element.find("button#login").click(function () {
|
||||
window.location = utils.url_path_join(
|
||||
that.base_url,
|
||||
"login"
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
return {'LoginWidget': LoginWidget};
|
||||
});
|
12
venv/Lib/site-packages/notebook/static/auth/js/logoutmain.js
Normal file
12
venv/Lib/site-packages/notebook/static/auth/js/logoutmain.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Copyright (c) Jupyter Development Team.
|
||||
// Distributed under the terms of the Modified BSD License.
|
||||
|
||||
define(['base/js/namespace', 'base/js/page'], function(IPython, page) {
|
||||
function logout_main() {
|
||||
var page_instance = new page.Page('div#header', 'div#site');
|
||||
page_instance.show();
|
||||
|
||||
IPython.page = page_instance;
|
||||
}
|
||||
return logout_main;
|
||||
});
|
12
venv/Lib/site-packages/notebook/static/auth/js/main.js
Normal file
12
venv/Lib/site-packages/notebook/static/auth/js/main.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Copyright (c) Jupyter Development Team.
|
||||
// Distributed under the terms of the Modified BSD License.
|
||||
|
||||
define(['./loginmain', './logoutmain', 'bidi/bidi'], function (login_main, logout_main, bidi) {
|
||||
if(bidi.isMirroringEnabled()){
|
||||
$("body").attr("dir","rtl");
|
||||
}
|
||||
return {
|
||||
login_main: login_main,
|
||||
logout_main: logout_main
|
||||
};
|
||||
});
|
334
venv/Lib/site-packages/notebook/static/auth/js/main.min.js
vendored
Normal file
334
venv/Lib/site-packages/notebook/static/auth/js/main.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue