-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
75 lines (43 loc) · 1.67 KB
/
index.php
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
<!DOCTYPE HTML>
<?php require_once('thumbsbar.php'); ?>
<html>
<head>
<script type="text/javascript" src="js/functions.js"></script>
<script type="text/javascript" src="js/ThumbBarProgress.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="css/default.css" type="text/css">
<title></title>
</head>
<body>
<div id="folder_chooser">
</div>
<div id="toolbar">
<select id="folder_select">
<option value="" selected="selected">Choose folder</option>
<?php
$imageFolders = ThumbsBar::getImageFolders();
foreach ($imageFolders as $imageFolder) {
echo '<option>' . $imageFolder . '</option>';
}
?>
</select>
<br><br>
<p>
<a onclick="startCreatingThumbnails();">Create thumbnails</a><br><br>
<a onclick="showThumbsBar()">Show thumbnails</a></p>
<!-- <button id="bcreate" onclick="createThumbsBar()">Create thumbnails</button>
<button id="bshow" onclick="showThumbsBar()">Show thumbnails</button> -->
<div id="progressbar"></div>
<div id="progressbar_output"></div>
</div>
<div id="display">
<img id="mainimg" height="600" style="visibility: hidden;">
</div>
<!-- Style created in-line style to allow javascript to change it -->
<a class="navarrow" id="leftarrow" onclick="initMoveRight();" style="visibility: hidden; left: 10px;"><</a>
<a class="navarrow" id="rightarrow" onclick="initMoveLeft();" style="visibility: hidden; right: 10px;">></a>
<div id="container" style="position: absolute; height: 100px; left: 0px; bottom: 0px;">
<div id="imagebar"><div>
</div>
</body>
</html>