blob: e02cec5ff8fd5c7524a22327d1865b7b2a44daa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<title>Welcome to Rhizi</title><link href="../css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
function submit_login_form() {
var data = {
username : $('#login_username').val(),
password : $('#login_password').val()
};
// TODO: validate
$.ajax({
type : "POST",
data : JSON.stringify(data),
dataType : 'json',
contentType : "application/json; charset=utf-8"
});
}
</script>
</head>
<body>
<h1> Welcome to Rhizi test page </h1>
<p>Rhizi is a collaborative knowledge editor. With it, you can jointly define, explore and visualise projects, communities and ideas.</p>
<p>This test version is meant for you to try Rhizi out and provide us feedback so AIV students and teachers will have a good experience using it once we deploy.</p>
<p><a href="mailto:dor.garbash@gmail.com">Send us an Email</a> about your experience, especially if you encountered any problem!</p>
<h2>Disclaimer</h2>
<ul>
<li>The content here may be deleted at any time.</li>
<li>You can export your work as a JSON, but we don't guarantee we will continue to support it later on.</li>
<li>We will implement a feature to generate your own Rhizi-doc in the coming months. Until then, you will not be able to launch your own Rhizi-doc.</li>
</ul>
<div id="login_form_panel">
<form
onsubmit="submit_login_form();"
id="login_form">
<h2 id="login_form__heading">Login</h2>
<br>
<div class="login_form__key">Username:</div>
<div class="login_form__value">
<input
type="text"
id="login_username">
</div>
<br>
<div class="login_form__key">Password:</div>
<div class="login_form__value">
<input
type="password"
id="login_password">
</div>
<p>
<input
type="submit"
value="Login">
</p>
</form>
<div id="failed-login">
{% if login_failed %}<b>Login Failed</b>{% endif %}
</div>
</div>
</body>
</html>
|