-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
45 lines (45 loc) · 1.46 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
<html>
<head>
<title>Lens</title>
<link rel="stylesheet" href="app.css" />
<script src="scripts/caman.full.js"></script>
<script src="scripts/echo.min.js"></script>
<script src="app.js"></script>
</head>
<body>
<template id="photo-template">
<div class="photo">
<img />
</div>
</template>
<input type="file" nwsaveas id="photoSaver"/>
<input type="file" nwdirectory id="folderSelector"/>
<div id="select_folder">
<span>Select a folder containing photos</span>
</div>
<div id="photos"></div>
<div id="fullViewPhoto">
<img id="image"/>
<div id="toolbar">
<div id="filterLabel">Filters</div>
<div class="filter" onclick="applyFilter('original');" title="original">
<img src="images/original.png" alt="original" />
</div>
<div class="filter" onclick="applyFilter('grayscale');" title="grayscale">
<img src="images/grayscale.png" alt="grayscale"/>
</div>
<div class="filter" onclick="applyFilter('sepia');" title="sepia">
<img src="images/sepia.png" alt="sepia"/>
</div>
<div class="filter" onclick="applyFilter('sunburst');" title="sunburst">
<img src="images/sunburst.png" alt="sunburst"/>
</div>
<div class="filter" onclick="applyFilter('port');" title="port">
<img src="images/port.png" alt="port"/>
</div>
<div id="back" class="button" onclick="backToGridView();">Back</div>
<div id="save" class="button" onclick="saveToDisk();">Save as</div>
</div>
</div>
</body>
</html>