-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (61 loc) · 2.17 KB
/
index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<html>
<head>
<title>Login</title>
<meta http-equiv="Content-type" value="text/html" />
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="assets/css/main.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="assets/js/helpers/event.js"></script>
<script src="assets/js/main/index.js"></script>
<script src="assets/js/controllers/controller.js"></script>
<script src="assets/js/views/loginView.js"></script>
<script src="assets/js/models/loginModel.js"></script>
<script src="assets/js/views/languageView.js"></script>
<script src="assets/js/models/languageModel.js" charset="utf-8"></script>
</head>
<body>
<div id="login">
<h1 id="titleIndex"></h1>
<h2 id="subTitleIndex"></h2>
<!-- LOGIN FORM -->
<form id="loginForm" action="#">
<table>
<tr><td><label id="languageLabel"></label></td><td><select id="language">
<option value="english" selected="selected">English</option>
<option value="swedish">Svenska</option>
<option value="spanish">Español</option>
</select></td></tr>
<tr><td><label id="usernameLabel"></label></td><td><input id="username" value="ervtod"></td></tr>
<tr><td><label id="passwordLabel"></label></td><td><input id="password" value="ervtod"></td></tr>
<tr><td colspan="2"><button id="loginButton" type="submit">login</button></td></tr>
</table>
<p><h3 id="errorMsg"></h3></p>
</form>
</div>
</body>
</html>
<style>
div#login {
position: fixed;
width: 34%;
height: 34%;
left: 50%;
margin-left: -17%;
top: 50%;
margin-top: -10%;
}
table {
position: relative;
height: 50%;
width: 50%;
left: 50%;
margin-left: -25%;
}
h1, h2, h3 {
text-align: center !important;
}
form, label, input, select{
margin: 6px;
}
</style>