-
Notifications
You must be signed in to change notification settings - Fork 307
Expand file tree
/
Copy pathlogin-required.hbs
More file actions
34 lines (32 loc) · 1012 Bytes
/
login-required.hbs
File metadata and controls
34 lines (32 loc) · 1012 Bytes
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Log in</title>
<link rel="stylesheet" href="/common/css/bootstrap.min.css">
<link rel="stylesheet" href="/common/css/solid.css">
</head>
<body>
<div class="container">
<div class="page-header">
<div class="pull-right">
<button id="register" type="button" class="btn btn-primary">Register</button>
<button id="login" type="button" class="btn btn-success">Log in</button>
<button id="logout" type="button" class="hidden btn btn-danger">Log out</button>
</div>
<h1>Log in to access this resource</h1>
</div>
<div class="alert alert-danger">
<p>
The resource you are trying to access
(<code>{{currentUrl}}</code>)
requires you to log in.
</p>
</div>
</div>
</div>
<script src="/common/js/solid-client-authn.bundle.js"></script>
<script src="/common/js/auth-buttons.js"></script>
</body>
</html>