-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.html
44 lines (39 loc) · 1.44 KB
/
login.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>The Barbarian Steppe</title>
<link rel="icon" type="image/png" href="img/logo.png">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/login.css">
<script type="text/javascript" src="js/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
</head>
<body>
<div class="login-page">
<div class="title">
<img src="/img/logo.png"/>
<h1>The Barbarian Steppe<h1>
</div>
<div class="form">
<form class="login-form" action="/login" method="post">
<% if (message.length > 0) { %>
<div class="alert alert-danger"> <%= message %> </div>
<% } %>
<input type="text" placeholder="username" name="username" <% if (username.length > 0) { %> value="<%= username %>" <% } %>/>
<input type="password" placeholder="password" name="password" />
<button type="submit">Login</button>
<p class="message">
New here? <a href="/signup">Sign up here</a>
</p>
</form>
</div>
</div>
<footer class="footer">
<h4>The Barbarian Steppe</h4>
<span>Alice Valentini, Lorenzo Cazzoli, Luca Casini, Manfredi Giordano</span>
<br>
<span>Project for <em>Interazione Persona-Computer</em> exam, University of Bologna, academic year 2015-2016</span>
</footer>
</body>
</html>