1
|
<!DOCTYPE html>
|
2
|
|
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
|
4
|
|
5
|
<head>
|
6
|
<meta charset="utf-8">
|
7
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
8
|
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
|
9
|
<meta http-equiv="Pragma" content="no-cache">
|
10
|
<meta http-equiv="Expires" content="0">
|
11
|
|
12
|
<!-- Bootstrap CSS -->
|
13
|
<link rel="stylesheet" href="resources/css/bootstrap.min.css" />
|
14
|
|
15
|
<title>Organizations Database: Login</title>
|
16
|
</head>
|
17
|
|
18
|
<body>
|
19
|
|
20
|
<div>
|
21
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary" ng-controller="userCtrl">
|
22
|
<a class="navbar-brand" href="#">
|
23
|
<img src="resources/images/openaire_logo_small.png" width="30" height="30" alt="OpenOrgs Database"> OpenOrgs Database
|
24
|
</a>
|
25
|
</nav>
|
26
|
</div>
|
27
|
|
28
|
<div class="container">
|
29
|
|
30
|
<div class="row" style="margin-top:20px">
|
31
|
<div class="col-xs-12 col-sm-8 col-md-6 col-sm-offset-2 col-md-offset-3">
|
32
|
<form th:action="@{/login}" method="post">
|
33
|
<fieldset>
|
34
|
<h1>Please Sign In</h1>
|
35
|
|
36
|
<div th:if="${param.error}">
|
37
|
<div class="alert alert-danger">
|
38
|
Invalid username and password.
|
39
|
</div>
|
40
|
</div>
|
41
|
<div th:if="${param.logout}">
|
42
|
<div class="alert alert-info">
|
43
|
You have been logged out.
|
44
|
</div>
|
45
|
</div>
|
46
|
|
47
|
<div class="form-group">
|
48
|
<input type="text" name="username" id="username" class="form-control input-lg"
|
49
|
placeholder="UserName" required="true" autofocus="true"/>
|
50
|
</div>
|
51
|
<div class="form-group">
|
52
|
<input type="password" name="password" id="password" class="form-control input-lg"
|
53
|
placeholder="Password" required="true"/>
|
54
|
</div>
|
55
|
|
56
|
<div class="row">
|
57
|
<div class="col-xs-6 col-sm-6 col-md-6">
|
58
|
<input type="submit" class="btn btn-lg btn-primary btn-block" value="Sign In"/>
|
59
|
</div>
|
60
|
<div class="col-xs-6 col-sm-6 col-md-6">
|
61
|
</div>
|
62
|
</div>
|
63
|
</fieldset>
|
64
|
</form>
|
65
|
</div>
|
66
|
</div>
|
67
|
|
68
|
</div>
|
69
|
|
70
|
<script src="resources/js/bootstrap.min.js"></script>
|
71
|
|
72
|
</body>
|
73
|
</html>
|