-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7057889
commit 3fecb2a
Showing
158 changed files
with
44,826 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
canvas { | ||
margin: auto; | ||
background: #ececec; | ||
width: 100%; | ||
} | ||
|
||
.btn-disabled { | ||
color: #fff !important; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Image Filter</title> | ||
<!-- fontawesome --> | ||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" | ||
integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous"> | ||
<!-- min.css bootstrap --> | ||
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css"> | ||
<!-- my style --> | ||
<link rel="stylesheet" href="css/style.css"> | ||
</head> | ||
<body> | ||
|
||
|
||
<nav class="navbar navbar-dark bg-info mb-5"> | ||
<div class="container"> | ||
<a href="#" class="navbar-brand">Image Filter</a> | ||
</div> | ||
</nav> | ||
|
||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-8 m-auto"> | ||
<div class="custom-file mb-3"> | ||
<input type="file" class="custom-file-input" id="upload-file"> | ||
<label for="upload-file" class="custom-file-label">Choose Image</label> | ||
</div> | ||
<canvas id="canvas"></canvas> | ||
|
||
<h4 class="text-center my-3">Filters</h4> | ||
|
||
<div class="row my-4 text-center"> | ||
<div class="col-md-3"> | ||
<div class="btn-group btn-group-sm"> | ||
<button class="filter-btn brightness-remove btn btn-info">-</button> | ||
<button class="btn btn-secondary btn-disabled" disabled>Brightness</button> | ||
<button class="filter-btn brightness-add btn btn-info">+</button> | ||
</div> | ||
</div> | ||
|
||
<div class="col-md-3"> | ||
<div class="btn-group btn-group-sm"> | ||
<button class="filter-btn contrast-remove btn btn-info">-</button> | ||
<button class="btn btn-secondary btn-disabled" disabled>Contrast</button> | ||
<button class="filter-btn contrast-add btn btn-info">+</button> | ||
</div> | ||
</div> | ||
|
||
<div class="col-md-3"> | ||
<div class="btn-group btn-group-sm"> | ||
<button class="filter-btn saturation-remove btn btn-info">-</button> | ||
<button class="btn btn-secondary btn-disabled" disabled>Saturation</button> | ||
<button class="filter-btn saturation-add btn btn-info">+</button> | ||
</div> | ||
</div> | ||
|
||
<div class="col-md-3"> | ||
<div class="btn-group btn-group-sm"> | ||
<button class="filter-btn vibrance-remove btn btn-info">-</button> | ||
<button class="btn btn-secondary btn-disabled" disabled>Vibrance</button> | ||
<button class="filter-btn vibrance-add btn btn-info">+</button> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- ./row --> | ||
|
||
<h4 class="text-center my-3">Effects</h4> | ||
|
||
<div class="row mb-3"> | ||
<div class="col-md-3"> | ||
<button class="filter-btn vintage-add btn btn-dark btn-block"> | ||
Vintage | ||
</button> | ||
</div> | ||
<div class="col-md-3"> | ||
<button class="filter-btn lomo-add btn btn-dark btn-block"> | ||
Lomo | ||
</button> | ||
</div> | ||
<div class="col-md-3"> | ||
<button class="filter-btn clarity-add btn btn-dark btn-block"> | ||
Clarity | ||
</button> | ||
</div> | ||
<div class="col-md-3"> | ||
<button class="filter-btn sincity-add btn btn-dark btn-block"> | ||
Sin City | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-3"> | ||
<button class="filter-btn crossprocess-add btn btn-dark btn-block"> | ||
Cross Process | ||
</button> | ||
</div> | ||
<div class="col-md-3"> | ||
<button class="filter-btn pinhole-add btn btn-dark btn-block"> | ||
Pinhole | ||
</button> | ||
</div> | ||
<div class="col-md-3"> | ||
<button class="filter-btn nostalgia-add btn btn-dark btn-block"> | ||
Nostalgia | ||
</button> | ||
</div> | ||
<div class="col-md-3"> | ||
<button class="filter-btn hermajesty-add btn btn-dark btn-block"> | ||
Her Majesty | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<div class="row mt-5"> | ||
<div class="col-md-6"> | ||
<button id="download-btn" class="btn btn-primary btn-block">Download Image</button> | ||
</div> | ||
<div class="col-md-6"> | ||
<button id="revert-btn" class="btn btn-danger btn-block">Remove Filters</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<!-- min jquery --> | ||
<script src="jquery-3.4.1.min.js"></script> | ||
<!-- min.js bootstraop (min.js + propper.js)--> | ||
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script> | ||
<!-- Canman script --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/camanjs/4.1.2/caman.full.min.js" integrity="sha256-Ttj6Ke2Nzuxi5upPlHetkZxBtdTq0LV1Z6BEUUsKPfs=" crossorigin="anonymous"></script> | ||
<!-- Own Script --> | ||
<script src="script.js"></script> | ||
<script> | ||
// Get the current year for the copyright | ||
$('#year').text(new Date().getFullYear()); | ||
</script> | ||
</body> | ||
|
||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.