-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
executable file
·53 lines (44 loc) · 1.32 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
<!doctype html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Add a friend on Solid / Solid Community</title>
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<h1>Add a friend on Solid</h1>
<p style="border: 3px solid #9400d3; padding: 1em;">
<label for="profile">Friend's WebID: </label><br>
<input id="friend"><br>
<button id="add">add friend</button>
<!-- <button id="remove">remove</button>-->
</p>
<p style="border: 3px solid #9400d3; padding: 1em;">
Copy and Paste this link to publish your web site.<br>
<textarea id="link"><a href="https://taisukef.github.io/solid-addfriend/#[your WebID]">add a friend</a></textarea>
</p>
<p>
<dl id="viewer">
<dt>fullname</dt><dd id="fullName"></dd>
<dt>note</dt><dd id="note"></dd>
<dt>friends</dt><dd><ul id="friends"></ul></dd>
</dl>
</p>
<p id="login">
not logged in yet.<br>
<button>log in</button>
</p>
<p id="logout">
logged in as <span id="user"></span><br>
<button>log out</button>
</p>
<p>
<a href=https://github.com/taisukef/solid-addfriend/tree/master>src on GitHub</a><br>
<a href=http://fukuno.jig.jp/2264>blog by taisukef</a><br>
</p>
<script src="scripts/jquery.js"></script>
<script src="scripts/solid-auth-client.bundle.js"></script>
<script src="scripts/rdflib.min.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>