-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (141 loc) · 6.71 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=no">
<meta name="description" content="A webapp to keep track of TO CHECK lists">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="16x16.png">
<link rel="manifest" href="manifest.json">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#603cba">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans">
<link rel="preconnect" href="https://fonts.gstatic.com/">
<!-- Icon fonts -->
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<!-- Toastify -->
<link rel="stylesheet" type="text/css" href="styles/toastify.min.css">
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="canonical" href="https://juanferrer.dev/to-check/" />
<title>To Check</title>
</head>
<body>
<input type="radio" name="theme" id="light-theme-radio" value="light" checked />
<input type="radio" name="theme" id="dark-theme-radio" value="dark" />
<!-- UI -->
<!-- Toolbar -->
<div class="toolbar theme-colored">
<button type="button" class="btn toolbar-button menu-button" id="menu-button" aria-label="Open side menu">
<i class="material-icons theme-colored-icon">menu</i>
</button>
<span class="app-name">To Check</span>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" class="toolbar-button">
<input type="hidden" name="cmd" value="_s-xclick" />
<input type="hidden" name="hosted_button_id" value="A8JHGUE5B97ME" />
<button border="0" name="submit" title="PayPal - The safer, easier way to pay online!"
alt="Donate with PayPal button" class="btn toolbar-button donate-button" id="donate-button"><i
class="material-icons theme-colored-icon" id="donate-icon">credit_card</i></button>
</form>
<button type="button" class="btn toolbar-button theme-button light-dark-icon light" id="theme-button"
data-theme="light" aria-label="Change theme">
<i class="material-icons theme-colored-icon" id="light-theme-icon">wb_sunny</i>
<i class="material-icons theme-colored-icon" id="dark-theme-icon"
style="transform: rotateY(90deg); position: absolute;">brightness_2</i>
</button>
<button type="button" class="btn toolbar-button completed-button on-off-icon on" id="completed-button"
aria-label="Change layout">
<span class="icon-bar-container">
<i class="icon-bar transparent-bar"></i>
<i class="icon-bar colored-bar"></i>
</span>
<i class="material-icons theme-colored-icon" id="show-completed-icon">visibility</i>
</button>
<button type="button" class="btn toolbar-button sort-button on-off-icon on" id="sort-button"
aria-label="Sort items">
<span class="icon-bar-container">
<i class="icon-bar transparent-bar"></i>
<i class="icon-bar colored-bar"></i>
</span>
<i class="material-icons theme-colored-icon">sort_by_alpha</i>
</button>
</div>
<!-- Work area -->
<div class="work-area" id="work-area">
<!-- Side menu -->
<div class="side-menu theme-colored" id="side-menu">
<div class="side-menu-list-container" id="side-menu-list-container">
<ul class="container-fluid list-group-flush side-menu-list" id="side-menu-list">
</ul>
<button type="button" class="btn list-add-button" id="side-menu-list-add-button" aria-label="Add list">
<i class="material-icons theme-colored-icon">add</i>
</button>
</div>
<div class="side-menu-footer" id="side-menu-footer">
<a href="https://juanferrer.dev/legal/privacy-policy"
class="theme-colored-text side-menu-privacy-policy" id="side-menu-privacy-policy">Privacy Policy</a>
<span class="theme-colored-text version-number" id="version-number">v1.29</span>
<button type="button" class="btn toolbar-button profile-button" id="profile-button"
aria-label="Open profile">
<i class="material-icons theme-colored-icon" id="user-icon">person</i>
</button>
</div>
</div>
<!-- List area -->
<div class="list-area theme-colored" id="list-area">
<div class="list-title theme-colored-text" id="list-title" contenteditable="true">TITLE</div>
<span class="empty-span">
<button type=" button" class="btn list-share-button" id="list-share-button" aria-label="Share list">
<i class="material-icons theme-colored-icon" style="line-height: 1.5;">share</i>
</button>
</span>
<ul class="container-fluid align-items-begin list-group-flush list" id="list">
<li class="list-group-item">
<input type="checkbox">
<span class="checkbox"></span>
<span class="checkbox-label" contenteditable="true">TEST CHECKBOX</span>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
class="feather feather-x-circle theme-colored-icon btn-item-delete">
<circle cx="12" cy="12" r="10"></circle>
<line x1="15" y1="9" x2="9" y2="15"></line>
<line x1="9" y1="9" x2="15" y2="15"></line>
</svg>
</li>
</ul>
<div class="list-add">
<button type="button" class="btn list-add-button" id="list-add-button" aria-label="Add element to list">
<i class="material-icons theme-colored-icon">add</i>
</button>
<span class="list-add-input" id="list-add-input" contenteditable="true"></span>
</div>
</div>
</div>
<span id="notification-placeholder"></span>
<script>
var debug = {
dev: false,
log: (message) => { if (debug.dev) console.log(message); }, // eslint-disable-line no-console
warn: (message) => { if (debug.dev) console.warn(message); },
};
</script>
<!-- Toastify -->
<script type="text/javascript" src="3rd-party/toastify.js"></script>
<!-- Register Service Worker -->
<script type="text/javascript" src="sw-register.js"></script>
<!-- jQuery -->
<script type="text/javascript" src="3rd-party/jquery.min.js"></script>
<!-- Underscore -->
<script type="text/javascript" src="3rd-party/underscore-min.js"></script>
<!-- Google API -->
<script type="text/javascript" src="3rd-party/gdad.js"></script>
<script type="text/javascript" src="js/googleApi.js"></script>
<script type="text/javascript" src="https://apis.google.com/js/api.js"
onload="this.onload=function(){}; loadClient()"
onreadystatechange="if (this.readyState === 'complete') this.onload()"></script>
<!-- Custom scripts -->
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>