generated from electron/electron-quick-start
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
145 lines (137 loc) · 6.62 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'"> -->
<!-- <meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self'"> -->
<title>Photo Sorter</title>
<link rel="stylesheet" href="./static/css/main.min.css">
<link href='https://unpkg.com/boxicons@2.0.5/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css"/>
<link rel="stylesheet" href="https://use.typekit.net/vod7dhx.css">
<!-- <link rel="stylesheet" href="https://use.typekit.net/vod7dhx.css"> -->
<!-- TODO: add analythics -->
</head>
<body>
<section id="step1" class="drag">
<div class="drag__confirm">
<div class="wrapper">
<i class='bx bxs-hot'></i>
<h2 class="section-head__title">Drop it like it's hot</h2>
<p class="section-head__post">Laat je map met afbeeldingen hier los</p>
</div>
</div>
<form id="selectDir">
<div class="filedrop">
<div class="filedrop__overlay">
<div class="section-head">
<i class='bx bx-image-add'></i>
<h4 class="section-head__pre">Stap 1</h4>
<h2 class="section-head__title">Importeer je foto's</h2>
<p class="section-head__post">Sleep een folder met foto's naar hier</p>
</div>
<!-- <div class="filedrop__about">
</div> -->
</div>
<input class="filedrop__input" type="file" name="path" id="path">
</div>
</form>
<a href="#step2" class="btn"><i class='bx bx-badge-check'></i> al foto's geimporteerd?</a>
<!-- <ea href="#step2" id="toStep2" class="btn btn--main btn--negative">volgende</a> -->
</section>
<section id="step2">
<div class="section-head">
<i class='bx bx-badge-check'></i>
<h4 class="section-head__pre">Stap 2</h4>
<h2 class="section-head__title">Markeer je foto's</h2>
</div>
<div id="suggestionPreview" class="animate__animated animate__faster">
<img src="" alt="">
</div>
<div id="controls" class="controls animate__animated animate__faster">
<div class="moderate">
<div class="moderate__btn moderate__btn--prev" data-action="prevSuggestion"><i class='bx bx-left-arrow-alt' ></i></div>
<div class="moderate__btn moderate__btn--accept"><i class='bx bx-like' ></i></div>
<a href="#step3" id="toStep3" onclick="console.log(this)" class="btn btn--main animate__animated animate__faster">volgende</a>
<div class="moderate__btn moderate__btn--reject"><i class='bx bx-dislike' ></i></div>
<div class="moderate__btn moderate__btn--next" data-action="nextSuggestion"><i class='bx bx-right-arrow-alt' ></i></div>
</div>
<p id="suggestionCounter"></p>
</div>
<div id="photoList">
<div class="suggestion suggestion__pre">
<i class='bx bx-loader'></i>
<h2>Begin met foto's te importeren</h2>
<p>Deze zullen hier verschijnen</p>
</div>
</div>
<div class="btn-group">
<a href="#" id="reImport" class="btn" data-action="reset"><i class='bx bx-image-add'></i> terug naar importeren</a>
<a href="#step3" class="btn" data-action="moderateSkip"><i class='bx bx-skip-next-circle'></i> resterend overslaan</a>
</div>
</section>
<section id="step3">
<div class="section-head">
<i class='bx bx-box'></i>
<h4 class="section-head__pre">Stap 3</h4>
<h2 class="section-head__title">Verdeel je foto's</h2>
<p class="section-head__post">Verplaats je foto's naar een folder afhankelijk van de markering</p>
</div>
<div>
<div class="btn-group">
<a href="#step2" class="btn"><i class='bx bx-arrow-back'></i> terug naar markeren</a>
<a data-sesam-trigger="folderRenaming" class="btn"><i class='bx bx-rename' ></i> foldernamen wijzigen</a>
</div>
<div data-sesam-target="folderRenaming">
<div class="input-bundle input-bundle--horizontal">
<label class="input-group">
<span>Goede foto's</span>
<input type="text" name="foldername_accept" value="Goed">
</label>
<label class="input-group">
<span>Slechte foto's</span>
<input type="text" name="foldername_reject" value="Slecht">
</label>
</div>
</div>
</div>
<a id="transferPhotos" class="btn btn--main animate__animated animate__faster">foto's verplaatsen</a>
</section>
<section id="step4">
<div class="section-head">
<i class='bx bx-chair'></i>
<h4 class="section-head__pre">Stap 4</h4>
<h2 class="section-head__title">Leun achterover en relax</h2>
<p class="section-head__post">Hoera! Je foto's worden momenteel verplaatst, dit kan even duren</p>
</div>
<img class="meme" src="https://media.giphy.com/media/s2qXK8wAvkHTO/source.gif" alt="" width="300px">
<div class="btn-group">
<a data-action="openFolder" class="btn"><i class='bx bx-folder-open'></i> bekijk folder</a>
<a href="#" data-action="reset" class="btn"><i class='bx bx-badge-check'></i> meer foto's beoordelen</a>
</div>
<footer>
<p><small>Gemaakt met <3 door <a href="https://www.instagram.com/lennertderyck/">@lennertderyck</a> – code <a href="https://github.com/lennertderyck/photo-sorter">GitHub</a></small></p>
</footer>
</section>
<div id="newVersionNotify" class="animate__animated animate__faster animate__delay-2s">
<div class="background"></div>
<div class="message">
<i class='bx bx-cloud'></i>
<h3>Je hebt waarschijnlijk<br>een update gemist</h3>
<p><small>Er staat een nieuwe update op jou te wachten</small></p>
<div class="btn-group">
<a id="updateDownload" href="" class="btn btn--simple" download><i class='bx bxs-arrow-to-bottom'></i> Download</a>
<button data-action="closeUpdateMessage" class="btn btn--simple"><i class='bx bx-x-circle'></i> sluiten</button>
</div>
</div>
</div>
<div id="toasts" class="toasts">
<div class="toasts__wrapper">
</div>
</div>
<script type="module" src="static/js/app.js"></script>
<!-- You can also require other files to run in this process -->
<script type="module" src="./renderer.js"></script>
</body>
</html>