-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (61 loc) · 1.7 KB
/
index.html
File metadata and controls
65 lines (61 loc) · 1.7 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Dat Protocol - Social App</title>
<style>
fieldset {
min-width: 0px;
max-width: 100%;
}
</style>
</head>
<body>
<main>
<fieldset class="profile-fieldset" disabled>
<legend>Profile</legend>
<form class="profile-form">
<table>
<tr>
<td>ID</td>
<td><input type="text" name="id" disabled></td>
</tr>
<tr>
<td>Name</td>
<td><input type="text" name="name"></td>
</tr>
</table>
</form>
<hr>
<button type="button" class="profile-create-btn">Create</button>
<button type="button" class="profile-save-btn">Save</button>
</fieldset>
<br>
<fieldset class="friends-fieldset" disabled>
<legend>Friends</legend>
<ul class="friends-list"></ul>
<hr>
<form class="friends-form">
<input type="text" name="friendid" pattern="[a-fA-F0-9]{64}" required />
<button type="button" class="friends-add-btn">Add friend</button>
</form>
</fieldset>
<br>
<fieldset class="chat-fieldset" disabled>
<legend class="chat-title">Chat</legend>
<ul class="chat-messages"></ul>
<ul style="max-height: 500px; overflow-y: auto;"></ul>
<hr>
<form class="chat-form">
<input type="text" name="message" required minlength="1">
<button type="button" class="chat-send-btn">Send</button>
<button type="button" class="chat-disconnect-btn">Disconnect</button>
</form>
</fieldset>
</main>
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</body>
</html>