146 lines
4.7 KiB
HTML
146 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script src="main.js"></script>
|
|
<link rel="stylesheet" href="bulma.min.css">
|
|
<link rel="stylesheet" href="bulma-slider.css">
|
|
<link rel="stylesheet" href="style.css">
|
|
<title>Imagine - Image Editor</title>
|
|
</head>
|
|
<body style="padding-top: 100dvh; ">
|
|
<div class="navbar columns is-mobile is-fixed-top">
|
|
<div class="column">
|
|
<div class="hero is-fullheight" style="min-height: 100dvh;">
|
|
<div class="hero-body">
|
|
<div class="container">
|
|
<canvas id="myCanvas" class="is-hidden" width="300" height="300"></canvas>
|
|
<div id="imports" class="columns is-mobile">
|
|
<div class="column">
|
|
<button id="take-picture"
|
|
class="button is-large is-responsive is-fullwidth">
|
|
Take a Picture
|
|
</button>
|
|
</div>
|
|
<div class="column">
|
|
<label for="upload-image"
|
|
class="button is-large is-responsive is-fullwidth">
|
|
Upload an Image
|
|
</label>
|
|
<input type="file" id="upload-image" accept="image/*" style="display: none">
|
|
</div>
|
|
</div>
|
|
</div><br>
|
|
<a href="#settings" class="button is-hidden-desktop" style="position: absolute; right: 30px;
|
|
bottom: 30px">
|
|
Settings
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="column is-narrow has-background-black-ter is-hidden-mobile is-hidden-tablet-only">
|
|
<aside class="menu" style="width: 300px">
|
|
<h1 class="title">Imagine</h1>
|
|
<h2 class="subtitle">Image Editor</h2>
|
|
|
|
<button class="button is-primary">
|
|
Save Image
|
|
</button>
|
|
<button class="button is-secondary">
|
|
Share
|
|
</button>
|
|
|
|
<p class="menu-label">
|
|
Color Correction
|
|
</p>
|
|
|
|
<div class="field">
|
|
<label class="label">Brightness</label>
|
|
<div class="control">
|
|
<input type="range"
|
|
id="slider0"
|
|
class="slider is-fullwidth is-primary"
|
|
min="0" max="100" value="50" step="1">
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label class="label">Saturation</label>
|
|
<div class="control">
|
|
<input type="range"
|
|
id="slider0"
|
|
class="slider is-fullwidth is-primary"
|
|
min="0" max="100" value="50" step="1">
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label class="label">Contrast</label>
|
|
<div class="control">
|
|
<input type="range"
|
|
id="slider0"
|
|
class="slider is-fullwidth is-primary"
|
|
min="0" max="100" value="50" step="1">
|
|
</div>
|
|
</div>
|
|
|
|
<p class="menu-label">
|
|
Distortion
|
|
</p>
|
|
<p class="menu-label">
|
|
Blur and Sharpen
|
|
</p>
|
|
</aside>
|
|
</div>
|
|
</div>
|
|
<div class="notification is-fullwidth is-hidden-desktop" style="z-index: 200">
|
|
<span id="settings"></span>
|
|
<a href="#top" class="delete"></a>
|
|
<button class="button is-primary">
|
|
Save Image
|
|
</button>
|
|
<button class="button is-secondary">
|
|
Share
|
|
</button>
|
|
|
|
<p class="menu-label">
|
|
Color Correction
|
|
</p>
|
|
|
|
<div class="field">
|
|
<label class="label">Brightness</label>
|
|
<div class="control">
|
|
<input type="range"
|
|
id="slider0"
|
|
class="slider is-fullwidth is-primary"
|
|
min="0" max="100" value="50" step="1">
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label class="label">Saturation</label>
|
|
<div class="control">
|
|
<input type="range"
|
|
id="slider0"
|
|
class="slider is-fullwidth is-primary"
|
|
min="0" max="100" value="50" step="1">
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label class="label">Contrast</label>
|
|
<div class="control">
|
|
<input type="range"
|
|
id="slider0"
|
|
class="slider is-fullwidth is-primary"
|
|
min="0" max="100" value="50" step="1">
|
|
</div>
|
|
</div>
|
|
|
|
<p class="menu-label">
|
|
Distortion
|
|
</p>
|
|
<p class="menu-label">
|
|
Blur and Sharpen
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|