-
Notifications
You must be signed in to change notification settings - Fork 33
/
index.html
129 lines (113 loc) · 4.34 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Image Shrinker</title>
<link rel="stylesheet" href="assets/css/spectre.css">
<link rel="stylesheet" href="node_modules/spectre.css/dist/spectre-icons.min.css">
<link rel="stylesheet" href="assets/css/imageshrinker.css">
</head>
<body>
<div class="wrapper">
<i class="icon icon-more-horiz icon-2x float-right d-block" id="btnOpenSettings"></i>
<section id="dragzone" class="">
<h1>Drag files here</h1>
<strong>only SVG, JPG, GIF and PNG allowed</strong>
</section>
<section id="result"></section>
<!-- Settings pane -->
<section id="menuSettings">
<div class="container">
<h3>Settings</h3>
<div class="columns">
<div class="column col-9">
Save shrinked files in same folder
</div>
<div class="column col-3 ">
<label class="form-switch float-right">
<input id="folderswitch" name="folderswitch" type="checkbox" checked="checked">
<i class="form-icon"></i>
</label>
</div>
<div id="wrapperSavePath" class="d-none">
<div class="column col-12">
<span>Choose folder</span>
</div>
<div class="column col-12 ">
<button id="btnSavepath" class="btn btn-sm btn-primary text-small">> Open</button>
</div>
</div>
</div>
<div class="columns">
<div class="column col-9">
Enable notifications
</div>
<div class="column col-3 ">
<label class="form-switch float-right">
<input id="notification" name="notification" type="checkbox" checked="checked">
<i class="form-icon"></i>
</label>
</div>
</div>
<div class="columns">
<div class="column col-9">
Add .min suffix to shrinked files
</div>
<div class="column col-3 ">
<label class="form-switch float-right">
<input id="suffix" name="suffix" type="checkbox" checked="checked">
<i class="form-icon"></i>
</label>
</div>
</div>
<div class="columns">
<div class="column col-9">
Add subfolder "minified"
</div>
<div class="column col-3 ">
<label class="form-switch float-right">
<input id="subfolder" name="subfolder" type="checkbox" checked="checked">
<i class="form-icon"></i>
</label>
</div>
</div>
<div class="columns">
<div class="column col-9">
Clear result list, when shrinking new images
</div>
<div class="column col-3 ">
<label class="form-switch float-right">
<input id="clearlist" name="clearlist" type="checkbox">
<i class="form-icon"></i>
</label>
</div>
</div>
<div class="columns">
<div class="column col-9">
Check for updates
</div>
<div class="column col-3 ">
<label class="form-switch float-right">
<input id="updatecheck" name="updatecheck" type="checkbox">
<i class="form-icon"></i>
</label>
</div>
</div>
</div>
<div class="copyright">
<span>App by </span>
<a class="openInBrowser" href="https://clickpress.de">
<img src="assets/img/clickpress_logo_weiss.min.svg" width="90" height="30" alt="">
</a>
</div>
<i class="icon icon-cross icon-2x d-block" id="btnCloseSettings"></i>
</section>
</div>
<div id="background">
<div id="layer"></div>
</div>
</body>
<script>
require('./renderer.js');
</script>
</html>