-
Notifications
You must be signed in to change notification settings - Fork 1
/
dashboard.html
229 lines (216 loc) · 8.51 KB
/
dashboard.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Adventskalender Dashboard</title>
<link rel="stylesheet" href="css/materialize.css">
<link rel="stylesheet" href="css/dashboard.css">
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/materialize.js"></script>
<script src="js/webext-options-sync.js"></script>
<script src="js/browser-polyfill.min.js"></script>
<script src="js/dashboard.js"></script>
</head>
<body>
<nav class="nav-extended blue">
<div class="nav-wrapper">
<a href="#" class="brand-logo">
🎁 Adventskalender Dashboard
</a>
</div>
<div class="nav-content">
<ul class="tabs tabs-transparent">
<li class="tab">
<a href="#dash">Dashboard</a>
</li>
<li class="tab">
<a href="#daten">Persönliche Daten</a>
</li>
<li class="tab">
<a href="#settings">Einstellungen</a>
</li>
<li class="tab">
<a href="#about">Über</a>
</li>
</ul>
</div>
</nav>
<div id="dash" class="container">
<div class="card">
<div class="card-image">
<div class="card-image-image"><!-- image set via dashboard.js --></div>
<span class="card-title">Los gehts</span>
<a id="btnStart" class="btn-floating btn-large halfway-fab waves-effect waves-light red">
<i class="material-icons">keyboard_arrow_right</i>
</a>
</div>
<div class="card-content">
<p>Füge unten die Seiten hinzu, die du besuchen willst und klicke dann auf den roten Los knopf!</p>
</div>
</div>
<div id="cardPageList" class="card-panel">
<h4>Seiten</h4>
<div class="row">
<form name="addPage">
<div class="col s10">
<label>Seite hinzufügen:
<input type="url" class="validate" name="url" required>
</label>
</div>
<div class="col s2">
<a id="addPage" class="btn-floating btn-large waves-effect waves-light blue">
<i class="material-icons">add</i>
</a>
</div>
</form>
</div>
<ul class="collection" id="pageList">
<li class="collection-item">
<div>
<a href="#!" class="secondary-content">
<i class="material-icons">send</i>
</a>
</div>
</li>
</ul>
</div>
</div>
<div id="daten" class="container">
<h2>Das hier funktioniert noch nicht! Also keine Mühe machen..</h2>
<form name="myData" id="myData">
<div class="row">
<div class="col s6">
<label>Vorname
<input type="text" name="firstname" placeholder="Vorname">
</label>
</div>
<div class="col s6">
<label>Nachname
<input type="text" name="surname" placeholder="Nachname">
</label>
</div>
</div>
<div class="row">
<div class="col s6">
<div class="switch">
<label>
Geschlecht: Mann
<input type="checkbox" name="isfemale">
<span class="lever"></span>
Frau
</label>
</div>
</div>
<div class="col s6">
<label>Geburtsdatum
<input type="date" class="datepicker1" name="birthdate">
</label>
</div>
</div>
<div class="row">
<div class="col s12">
<label>E-Mail
<input type="email" placeholder="e-mail" name="email" class="validate">
</label>
</div>
</div>
<div class="row">
<div class="col s10">
<label>Straße
<input type="text" placeholder="Straße" name="street">
</label>
</div>
<div class="col s2">
<label>Nr.
<input type="text" placeholder="Nr." name="houseno">
</label>
</div>
</div>
<div class="row">
<div class="col s2">
<label>PLZ
<input type="tel" pattern="[0-9]{5}" placeholder="PLZ" name="postal" class="validate">
</label>
</div>
<div class="col s10">
<label>Ort
<input type="text" placeholder="Ort" name="place">
</label>
</div>
</div>
<div class="row">
<div class="col s12">
<label>Land
<input type="text" placeholder="Land" name="country" class="validate">
</label>
</div>
</div>
</form>
</div>
<div id="settings" class="container">
<div id="exportData" class="card">
<div class="card-content">
<span class="card-title">Export Seitenliste</span>
<p>
Kopiere den Inhalt in eine Text-Datei wenn du eine Sicherungskopie erstellen willst.
</p>
<div class="row">
<form class="col s12">
<div class="row">
<div class="col s12">
<label>JSON</label>
<textarea class=""></textarea>
</div>
</div>
</form>
</div>
<p>Paste ein valides JSON und klicke auf import wenn du importieren willst.</p>
<a href="#!" id="importJson" class="waves-effect btn blue">Import</a>
<a href="#!" id="copyJson" class="waves-effect btn green">In die Zwischenablage</a>
<a href="#!" id="emptyPages" class="waves-effect btn red">Alle Seiten löschen</a>
</div>
</div>
<div id="mydealzdownload" class="card" style="display: none;">
<div class="card-content">
<span class="card-title">Import MyDealz Liste</span>
<p>
Läd die Liste von MyDealz herunter (von <a href="https://www.mydealz.de/profile/Pataya/overview">Pataya</a> bereitgestellt).
</p>
<a href="#!" id="importmydealz" class="waves-effect btn green">Import</a>
</div>
</div>
</div>
<div id="about" class="container">
<div class="card">
<div class="card-content">
<span class="card-title">Über</span>
<p>
<a href="https://www.vexels.com/vectors/preview/145428/seamless-emoji-christmas-pattern"> Seamless emoji Christmas pattern </a> | designed by Vexels
</p>
</div>
</div>
</div>
<!-- #### -->
<div id="modalInfo" class="modal">
<div class="modal-content">
<h4>Modal Header</h4>
<p>A bunch of text</p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect btn blue">Ok</a>
</div>
</div>
<div id="modalConfirm" class="modal">
<div class="modal-content">
<h4>Modal Header</h4>
<p>A bunch of text</p>
</div>
<div class="modal-footer">
<a href="#!" id="modalConfirmYes" class="modal-action modal-close waves-effect btn blue">Ja</a>
<a href="#!" id="modalConfirmNo" class="modal-action modal-close waves-effect btn red">Nein</a>
</div>
</div>
</body>
</html>