-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (141 loc) · 5.14 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 ng-app="nanoApp">
<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'; style-src 'self' 'unsafe-inline'"
/>
<link href="css/photon.min.css" rel="stylesheet" />
<link
href="third-party/jquery-confirm-v3.3.4/dist/jquery-confirm.min.css"
rel="stylesheet"
/>
<link href="./styles.css" rel="stylesheet" />
<title>Nano</title>
</head>
<body>
<div class="window" ng-controller="appController">
<header class="toolbar toolbar-header">
<h1 class="title">Nano Image Compressor</h1>
</header>
<div class="window-content">
<div class="pane-group">
<div class="pane-sm sidebar">
<nav class="nav-group">
<h5 class="nav-group-title">About</h5>
<a class="nav-group-item" id="link-about-software">
<span class="icon icon-home"></span>
Software
</a>
<span class="nav-group-item" ng-click="gotoDownload()">
<span class="icon icon-download"></span>
Downloads
</span>
<span class="nav-group-item" id="link-about-author">
<span class="icon icon-user"></span>
Author
</span>
</nav>
</div>
<div class="pane">
<div class="padded-more">
<h2 style="margin-top: 10px">Welcome To Nano</h2>
<p>
<strong>Description:</strong> Nano is image compression tool.
Which accept only JPEG image
<br />
<strong>Note:</strong> Nano is image compression tool. Which
accept only JPEG image
</p>
<div>
<form name="nanoForm" ng-submit="submit()">
<fieldset>
<legend>Your Inputs</legend>
<div class="form-group">
<label
>Path of the folder or single image path. (example:
D:/image/pic.JPG)</label
>
<input
ng-model="sourcePath"
type="text"
class="form-control"
placeholder="C:/user/data/pictures"
ng-required="required"
required
/>
</div>
<div class="form-group">
<label>Image Quality</label>
<select
class="form-control"
ng-options="option.key for option in qualityList track by option.value"
ng-model="selectedQuality"
></select>
</div>
<div class="form-actions">
<button
type="button"
ng-click="reset()"
class="btn btn-form btn-default"
ng-disabled="running"
>
Cancel
</button>
<button
type="submit"
class="btn btn-form btn-primary"
ng-disabled="running"
>
Start
</button>
</div>
</fieldset>
</form>
</div>
<div style="margin-top: 15px">
<form>
<fieldset>
<legend>Processing Images</legend>
<div>
<progress
id="processing-bar"
value="{{progress}}"
max="100"
>
{{ progress }}%
</progress>
</div>
{{ progress }}%
</fieldset>
</form>
</div>
<div style="margin-top: 15px">
<form>
<fieldset>
<legend>Logs</legend>
<div class="log-box" id="div-log-box">
<section ng-repeat="log in logs">{{ log }}</section>
</div>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<footer class="toolbar toolbar-footer">
<h1 class="title">@Nano MIT License</h1>
</footer>
</div>
<!-- You can also require other files to run in this process -->
<script src="./renderer.js"></script>
<script src="./config.js"></script>
<script src="third-party/jquery-3.6.0.min.js"></script>
<script src="third-party/jquery-confirm-v3.3.4/dist/jquery-confirm.min.js"></script>
<script src="./js/angular.min.js"></script>
<script src="./js/app.js"></script>
</body>
</html>