-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (76 loc) · 3.19 KB
/
index.html
File metadata and controls
83 lines (76 loc) · 3.19 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Boring List</title>
<link rel="stylesheet" href="index.css">
<link rel="icon" type="image/png" href="images/Boring_list_logo.png">
<meta property="og:image" content="images/link_preview.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
</head>
<body background="images/background.png">
<div class="header">
<h1>Boring List</h1>
<p>A simple, no-frills to-do list.</p>
</div>
<div class="container">
<h2 class="list_name_display">My List</h2>
<hr>
<div class="list" id="list">
<p>Add task to get started.</p>
</div>
<button id="addTaskButton" onclick="add_task()">Add Task</button>
<div class="list_footer">
<div class="footer_option" onclick="share()">
<span>Share</span>
<img src="images/share_icon.png" class="footer_button">
</div>
<div class="footer_option" onclick="settings()">
<span>Settings</span>
<img src="images/settings_icon.png" class="footer_button">
</div>
</div>
</div>
<div class="darkener">
<div class="card" id="setup">
<input type="text" id="list_name" placeholder="My List Name">
<p>Password:</p>
<input type="password" id="list_pass" placeholder="Password (optional)">
<button onclick="setup()">Save</button>
</div>
<div class="card" id="login">
<h2 class="list_name_display">Your List</h2>
<p>Password:</p>
<input type="password" id="login_pass" placeholder="Password">
<button onclick="login()">Enter</button>
</div>
<div class="card" id="share">
<h2 class="list_name_display"></h2>
<p>Share this link with others to let them view your list:</p>
<input type="text" id="share_link" readonly>
<button onclick="copyLink()">Copy Link</button>
<p id="copy_status"></p>
</div>
<div class="card" id="settings">
<input type="text" id="list_name_change" placeholder="My List Name">
<p id="change_password_text">Change password (optional):</p>
<p id="password_instruction">Setup Password:</p>
<input type="password" id="old_password_input" placeholder="Password (optional)">
<div id="new_password">
<p id="new_password_input">New Password:</p>
<input type="password" id="new_list_pass" placeholder="New Password">
</div>
<button onclick="save_settings()">Save</button>
</div>
<div class="card" id="error">
<img src="images/scribble.png" class="error_icon">
<h2>Error 404!</h2>
<p id="error_message">Looks like we can't find the list you are looking for.</p>
<button onclick="clearurl()">Create a new list</button>
</div>
</div>
<script src="list.js" type="module"></script>
</body>
</html>