Added Nbgrader
This commit is contained in:
74
jupyterhub/templates/login.html
Normal file
74
jupyterhub/templates/login.html
Normal file
@@ -0,0 +1,74 @@
|
||||
{% extends "templates/page.html" %}
|
||||
|
||||
{% block login %}
|
||||
<div class="container login-container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<div class="login-panel panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Welcome to JupyterHub</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="{{authenticator_login_url}}" method="post" role="form">
|
||||
<div class="form-group">
|
||||
<label for="username_input">User</label>
|
||||
<input
|
||||
id="username_input"
|
||||
type="text"
|
||||
class="form-control"
|
||||
name="username"
|
||||
autocapitalize="off"
|
||||
autocorrect="off"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_input">Password</label>
|
||||
<input
|
||||
id="password_input"
|
||||
type="password"
|
||||
class="form-control"
|
||||
name="password"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input
|
||||
type="submit"
|
||||
id="login_submit"
|
||||
class="btn btn-jupyter btn-lg btn-block"
|
||||
value="Sign In"
|
||||
/>
|
||||
</div>
|
||||
{% if login_error %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
{{login_error}}
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
{% if authenticator.enable_signup %}
|
||||
<div class="text-center">
|
||||
<p>Don't have an account? <a href="{{authenticator_signup_url}}">Sign up</a></p>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock login %}
|
||||
|
||||
<style>
|
||||
.btn-jupyter {
|
||||
background-color: #FFFFFF;
|
||||
color: white;
|
||||
border-color: #F37626;
|
||||
}
|
||||
.btn-jupyter:hover {
|
||||
background-color: #D85F1C;
|
||||
border-color: #D85F1C;
|
||||
}
|
||||
.login-container {
|
||||
margin-top: 50px;
|
||||
}
|
||||
</style>
|
BIN
jupyterhub/templates/logo.png
Normal file
BIN
jupyterhub/templates/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
61
jupyterhub/templates/page.html
Normal file
61
jupyterhub/templates/page.html
Normal file
@@ -0,0 +1,61 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" data-bs-theme="light">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>JupyterHub</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="stylesheet" href="/jupyter/hub/static/css/style.min.css?v=90495ca2cd6745c4b19a42dfd4b244ac5ca697ae76bf6f58a465da54045d2e0032f25207e2ebe4df838e4d7bd40c183228f28bbacc2456fe706797438809f749" type="text/css">
|
||||
|
||||
|
||||
<link rel="icon" href="/jupyter/hub/static/favicon.ico?v=fde5757cd3892b979919d3b1faa88a410f28829feb5ba22b6cf069f2c6c98675fceef90f932e49b510e74d65c681d5846b943e7f7cc1b41867422f0481085c1f" type="image/x-icon">
|
||||
|
||||
|
||||
<script src="/jupyter/hub/static/components/bootstrap/dist/js/bootstrap.bundle.min.js?v=ecf8bfa2d7656db091f8b9d6f85ecfc057120c93ae5090773b1b441db838bd232fcef26375ee0fa35bf8051f4675cf5a5cd50d155518f922b9d70593f161741a" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/jupyter/hub/static/components/requirejs/require.js?v=1ff44af658602d913b22fca97c78f98945f47e76dacf9800f32f35350f05e9acda6dc710b8501579076f3980de02f02c97f5994ce1a9864c21865a42262d79ec" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/jupyter/hub/static/components/jquery/dist/jquery.min.js?v=bf6089ed4698cb8270a8b0c8ad9508ff886a7a842278e98064d5c1790ca3a36d5d69d9f047ef196882554fc104da2c88eb5395f1ee8cf0f3f6ff8869408350fe" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/jupyter/hub/static/js/darkmode.js?v=2fd9a7d11ad78df9351fed40ab35eab52e1e6a3d516f188b652120e6faf57b8e387a30aae8f52a6fb51563d06d04545c7005da0b77a98c21b0bd28f6d1cdfa11" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
require.config({
|
||||
|
||||
urlArgs: "v=20250711124117",
|
||||
|
||||
baseUrl: '/jupyter/hub/static/js',
|
||||
paths: {
|
||||
components: '../components',
|
||||
jquery: '../components/jquery/dist/jquery.min',
|
||||
moment: "../components/moment/moment",
|
||||
},
|
||||
});
|
||||
|
||||
window.jhdata = {
|
||||
base_url: "/jupyter/hub/",
|
||||
prefix: "/jupyter/",
|
||||
|
||||
|
||||
admin_access: false,
|
||||
|
||||
|
||||
options_form: false,
|
||||
|
||||
xsrf_token: "MnwxOjB8MTA6MTc1MjIzNzY4Nnw1Ol94c3JmfDY4OlRtOXVaVHA1TFdsUGJHbHhVa1pSTlZCbWFrbEdjWGhYU1dKUFNVSnVURTlVVkdsTllUQkJYMXBJWmpadGJFUjNQUT09fDlkOTc3NzE2YjVkNGVhZjZjYzE5NWFmMGI3MTE3ZjNjNzVlM2IzYmNmM2M3YWU4YjQ3ZTQ5YmVlZTk5MjYxZWQ",
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<meta name="description" content="JupyterHub">
|
||||
<meta name="keywords" content="Jupyter, JupyterHub">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<div id ='noscript'>Jupyterhub requires JavaScript.</div>
|
||||
</noscript>
|
||||
Hello
|
||||
</body>
|
||||
</html>
|
82
jupyterhub/templates/signup.html
Normal file
82
jupyterhub/templates/signup.html
Normal file
@@ -0,0 +1,82 @@
|
||||
{% extends "templates/page.html" %}
|
||||
|
||||
{% block login %}
|
||||
<div class="container login-container">
|
||||
<div class="row">
|
||||
<div class="col-md-6 col-md-offset-3">
|
||||
<div class="login-panel panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Create Account</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<form action="{{authenticator_signup_url}}" method="post" role="form">
|
||||
<div class="form-group">
|
||||
<label for="username_input">Username</label>
|
||||
<input
|
||||
id="username_input"
|
||||
type="text"
|
||||
class="form-control"
|
||||
name="username"
|
||||
autocapitalize="off"
|
||||
autocorrect="off"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_input">Password (min. 8 characters)</label>
|
||||
<input
|
||||
id="password_input"
|
||||
type="password"
|
||||
class="form-control"
|
||||
name="password"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_confirm">Confirm Password</label>
|
||||
<input
|
||||
id="password_confirm"
|
||||
type="password"
|
||||
class="form-control"
|
||||
name="password_confirmation"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input
|
||||
type="submit"
|
||||
id="signup_submit"
|
||||
class="btn btn-jupyter btn-lg btn-block"
|
||||
value="Create Account"
|
||||
/>
|
||||
</div>
|
||||
{% if signup_error %}
|
||||
<div class="alert alert-danger" role="alert">
|
||||
{{signup_error}}
|
||||
</div>
|
||||
{% endif %}
|
||||
</form>
|
||||
<div class="text-center">
|
||||
<p>Already have an account? <a href="{{authenticator_login_url}}">Sign in</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock login %}
|
||||
|
||||
<style>
|
||||
.btn-jupyter {
|
||||
background-color: #F37626;
|
||||
color: white;
|
||||
border-color: #F37626;
|
||||
}
|
||||
.btn-jupyter:hover {
|
||||
background-color: #D85F1C;
|
||||
border-color: #D85F1C;
|
||||
}
|
||||
.login-container {
|
||||
margin-top: 50px;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user