-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
82 lines (76 loc) · 2.79 KB
/
index2.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
78
79
80
81
82
<!-- Location: https://solid.redpencil.io/ewingson/public/code/index/index2.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>solid.redpencil.io</title>
<link rel="stylesheet" href="/.well-known/css/styles/main.css" type="text/css">
<script type="text/javascript" src="/.well-known/css/scripts/util.js"></script>
</head>
<body>
<header>
<a href="/"><img src="/.well-known/css/images/solid.svg" alt="[Solid logo]" /></a>
<h1>Community Solid Server</h1>
</header>
<main>
<div id="authenticating">
<h1>Log in</h1>
<form method="post" id="mainForm">
<p class="error" id="error"></p>
<fieldset>
<legend>Your account</legend>
<ol>
<li>
<label for="email">Email</label>
<input id="email" type="email" name="email" autofocus>
</li>
<li>
<label for="password">Password</label>
<input id="password" type="password" name="password">
</li>
<li class="checkbox">
<label><input type="checkbox" name="remember" value="yes" checked>Stay logged in</label>
</li>
</ol>
</fieldset>
<p class="actions"><button type="submit" name="submit">Log in</button></p>
<ul class="actions">
<li><a id="register-link" href="" class="link">Sign up</a></li>
<li><a id="forgot-link" href="" class="link">Forgot password</a></li>
</ul>
</form>
</div>
<div id="not-authenticating">
<h1>Please log in through an app</h1>
<p><strong>To log in and access documents, you need to use a Solid app.</strong></p>
<p>This server provides secure storage, but it is not a client app.</p>
<p>
Choose one of the
<a href="https://solidproject.org/apps" class="link">Solid apps</a>
to log in and browse Pods.
</p>
<p>
If you're developing an app yourself,
use a library such as
<a href="https://github.com/inrupt/solid-client-authn-js" class="link"><code>solid-client-authn-js</code></a>
to initiate an OIDC authentication flow.
</p>
</div>
<script>
setVisibility('authenticating', false);
setVisibility('not-authenticating', true);
addPostListener('mainForm', 'error', '', () => { throw new Error('Expected a location field in the response.') });
addControlLinks('https://solid.redpencil.io/idp/', { 'register-link': 'register', 'forgot-link': 'forgotPassword'});
</script>
<p>for now you can use the <a href = "https://solidos.github.io/mashlib/dist/browse.html?uri=https%3A%2F%2Fsolid.redpencil.io%2F">Databrowser</a> to view your files.</p>
<a href = "./index.html">Back</a><br />
</main>
<footer>
<p>
©2019–2023 <a href="https://inrupt.com/">Inrupt Inc.</a>
and <a href="https://www.imec-int.com/">imec</a>
</p>
</footer>
</body>
</html>