Skip to content

Commit 8eaf259

Browse files
Add a default index.html for server root
1 parent b27244c commit 8eaf259

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ npm-debug.log
1616
/.db
1717
.nyc_output
1818
coverage
19+
/index.html
20+
/index.html.acl
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
6+
<title>Welcome to Solid</title>
7+
<link rel="stylesheet" href="/common/css/bootstrap.min.css">
8+
</head>
9+
<body>
10+
<div class="container">
11+
<h3>Welcome to Solid</h3>
12+
</div>
13+
<div class="container">
14+
<div class="row">
15+
<div class="col-md-12">
16+
<p style="margin-top: 3em; margin-bottom: 3em;">
17+
If you have not already done so, please create an account.
18+
</p>
19+
</div>
20+
</div>
21+
<div class="row">
22+
<div class="col-md-2">
23+
<form method="get" action="/register">
24+
<button type="submit" class="btn btn-primary" id="register">Register</button>
25+
</form>
26+
</div>
27+
<div class="col-md-10">
28+
<form method="get" action="/login">
29+
<button type="submit" class="btn btn-primary" id="login">Login</button>
30+
</form>
31+
</div>
32+
</div>
33+
</body>
34+
</html>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@prefix acl: <http://www.w3.org/ns/auth/acl#>.
2+
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
3+
4+
<#public>
5+
a acl:Authorization;
6+
7+
acl:agentClass foaf:Agent; # everyone
8+
9+
acl:accessTo <./index.html>;
10+
11+
acl:mode acl:Read.

0 commit comments

Comments
 (0)