-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (53 loc) · 2.36 KB
/
index.html
File metadata and controls
58 lines (53 loc) · 2.36 KB
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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<title>ScreenFromShot</title>
<link rel="icon" href="icon.png"></link>
<link rel="stylesheet" href="style2.css">
<!--<script>var exports = {};</script>
<script src="lib/wheel-zoom.js" defer=""></script>
<script src="gauss-jordan.js" defer=""></script>-->
<script src="main2.js" defer=""></script>
</head>
<body>
<div id="picArea" style="display: flex; flex-direction: column;">
<div id="uploadArea" class="uploadArea" onchange="dropHandler(event);">
<div id="uploadFrame">
<p>Drag your picture here or
<input type="file" id="uploadButton" hidden onchange="onFile()"> <label for="uploadButton">select file...</label>
</p>
<p style="font-size: 10px; font-weight: normal; color: #fff8"> We can't see your files. <a href="privacy.html">About...</a></p>
</input>
</div>
</div>
<button id="sidebarToggler" onclick="toggleSidebar()" style="right: -25px; rotate: .5turn; transition: right 0.2s">‹</button>
<div id="scrollablePreview" style="visibility: hidden;">
<div id="samplingRaster"></div>
<div id="previewWrapper">
<img id="inputPreview">
<canvas id="canIn"></canvas>
</div>
</div>
</div>
<div id="sidebar" class="sidebar">
<!-- <div id="padSidebar" class="padSidebar" style="height: 60px"></div>-->
<div id="sidebarContent" class="sidebarContent">
<div style="height: 60px; max-height: 10vh"></div> <!-- intelligent padding-->
<a href="#">Open image first</a>
<h2>Display resoluton</h2>
<input type="number" id="setW" value="96">
<input type="button" value="⤨" id="switchButton">
<input type="number" id="setH" value="64">
Zoom: <input type="button" value="−" id="zoomOut">
<span id="zoomLevel">100 %</span>
<input type="button" value="+" id="zoomIn">
<p>Content</br>Content</br>Content</p>
<div id="txWrap">
<img id="txPreview" style = "visibility: hidden;">
<!--<div id="txGrid" style="width: 500px; height: 500px; visibility: visible; position: relative; transform: scale(0.8)"></div>-->
</div>
<canvas id="canOut"></canvas>
</div>
</div>
</body>