-
Notifications
You must be signed in to change notification settings - Fork 1
/
signup.html
45 lines (40 loc) · 1.63 KB
/
signup.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
45
<!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="/signup" method="post">
<p style="color: steelblue; font-size: 110%;">To create an account you just need to choose an <strong>username</strong> and a <strong>password</strong></p>
<% 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" style="background-color: steelblue;">Sign up</button>
<p class="message">
Already registered? <a href="/login">Login now</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>