login.html
66 lines
| 2.0 KiB
| text/html
|
HtmlLexer
MinRK
|
r4705 | <!DOCTYPE HTML> | ||
<html> | ||||
<head> | ||||
<meta charset="utf-8"> | ||||
<title>IPython Notebook</title> | ||||
<link rel="stylesheet" href="static/jquery/css/themes/aristo/jquery-wijmo.css" type="text/css" /> | ||||
<!-- <link rel="stylesheet" href="static/jquery/css/themes/rocket/jquery-wijmo.css" type="text/css" /> --> | ||||
<!-- <link rel="stylesheet" href="static/jquery/css/themes/smoothness/jquery-ui-1.8.14.custom.css" type="text/css" />--> | ||||
<link rel="stylesheet" href="static/css/boilerplate.css" type="text/css" /> | ||||
<link rel="stylesheet" href="static/css/layout.css" type="text/css" /> | ||||
<link rel="stylesheet" href="static/css/base.css" type="text/css" /> | ||||
MinRK
|
r4706 | <script type="text/javascript" charset="utf-8"> | ||
function add_next_to_action(){ | ||||
// add 'next' argument to action url, to preserve redirect | ||||
var query = location.search.substring(1); | ||||
var form = document.forms[0]; | ||||
var action = form.getAttribute("action"); | ||||
form.setAttribute("action", action + '?' + query); | ||||
} | ||||
</script> | ||||
MinRK
|
r4705 | </head> | ||
MinRK
|
r4706 | <body onload="add_next_to_action()"> | ||
MinRK
|
r4705 | |||
<div id="header"> | ||||
<span id="ipython_notebook"><h1>IPython Notebook</h1></span> | ||||
</div> | ||||
<div id="header_border"></div> | ||||
<div id="main_app"> | ||||
<div id="app_hbox"> | ||||
<div id="left_panel"> | ||||
</div> | ||||
<div id="content_panel"> | ||||
<form action="/login" method="post"> | ||||
Name: <input type="text" name="name" value="{{user_id}}"> | ||||
Password: <input type="password" name="password"> | ||||
<input type="submit" value="Sign in"> | ||||
</form> | ||||
</div> | ||||
<div id="right_panel"> | ||||
</div> | ||||
</div> | ||||
</div> | ||||
<script src="static/jquery/js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="static/jquery/js/jquery-ui-1.8.14.custom.min.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="static/js/namespace.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="static/js/notebooklist.js" type="text/javascript" charset="utf-8"></script> | ||||
<script src="static/js/nbbrowser_main.js" type="text/javascript" charset="utf-8"></script> | ||||
</body> | ||||
</html> | ||||