-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
116 lines (92 loc) · 4.59 KB
/
index.html
File metadata and controls
116 lines (92 loc) · 4.59 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Image Editor</title>
<link rel="stylesheet" href="./css/css.css">
<!-- <link rel="stylesheet" href="https://unpkg.com/github.com/KumarRaviHindustani/Image-Editor/blob/main/css/css.css"> -->
<!-- <link rel="stylesheet" href="./css/password.css"> -->
<link rel="stylesheet" href="./css/reload.css">
</head>
<body>
<!-- add password -->
<!-- <div class="modal" id="overlay">
<p>Please enter the password:</p>
<input type="password" id="passwordInput">
<span class="c01" onclick="checkPassword()">Submit</span>
</div> -->
<nav></nav>
<div class="main-none" id="d-none">
<div class="main">
<div class="show-upload-container">
<!-- !image preview section -->
<div class="img-preview">
<img src="./img/ter.jpg" alt="your image here" id="image-container" class="image-container">
</div>
<!-- !image accept box -->
<div class="img-accept-box">
<label for="img-upload" class="file-upload-container" id="file-upload-container">
<input type="file" id="img-upload" oninput="upload(event)" accept="image/*">
<span class="file-upload-text">Choose Image</span>
</label>
<input type="text" id="img-url" oninput="imgLink()" placeholder="Paste Image URL">
</div>
<!--! image upload option -->
<div class="change">
<span id="file-upload" onclick="changeUpload()">UPLOAD</span><span id="past-url"
onclick="changeUrl()">URL</span>
</div>
</div>
<!-- image filtering option -->
<div class="edit-options">
<table width="100%">
<tr>
<td><label for="bright-range">Brightness (in %):</label></td>
<td><input type="range" min="0" max="200" value="100" id="bright-range" oninput="brigt()"
class="apply-css "> <input type="text" id="bright-input" value="100" oninput="brigt1()">
</td>
</tr>
<tr>
<td><label for="saturation-range">Saturation (in %):</label></td>
<td><input type="range" min="0" max="200" value="100" id="saturation-range"
oninput="saturation()" class="apply-css ">
<input type="text" id="saturation-input" value="100" oninput="saturation1()">
</td>
</tr>
<tr>
<td><label for="contrast-range">Contrast:</label></td>
<td><input type="range" min="0" max="200" value="100" id="contrast-range" oninput="contrast()"
class="apply-css ">
<input type="text" id="contrast-input" value="100" oninput="contrast1()">
</td>
</tr>
<tr>
<td><label for="hue-range">Hue:</label></td>
<td><input type="range" min="0" max="200" value="0" id="hue-range" oninput="hue()"
class="apply-css "> <input type="text" id="hue-input" value="0" oninput="hue1()"></td>
</tr>
<tr>
<td><label for="invert-range">invert:</label></td>
<td><input type="range" min="0" max="200" value="0" id="invert-range" oninput="invert()"
class="apply-css "> <input type="text" id="invert-input" value="0" oninput="invert1()">
</td>
</tr>
<!-- filter reset button -->
<tr>
<td colspan="2" align="center"><button id="reset-filter" class="button"
style="margin: 20px 0 0 0;">Reset Filter</button>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="reload-button">
<button id="refreshButton" class="button">Reload This page</button>
</div>
<script src="./js/js.js"></script>
<!-- <script src="./js/password.js"></script> -->
<script src="./js/reload.js"></script>
</body>
</html>