-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
gallery.html
58 lines (37 loc) · 1.2 KB
/
gallery.html
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>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Color gradient gallery</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/png" href="favicon.png" sizes="32x32">
<link rel="stylesheet" href="src/style.css">
<script src="src/gradient.js"></script>
<script src="src/codegenerators.js"></script>
<script src="src/util.js"></script>
<script src="src/gallery.js"></script>
</head>
<body onload="populateGallery()" onhashchange="populateGallery()">
<header>
<h1 class="title">Color gradient gallery</h1>
<div class="menu">
<a title="Clear favourites" onclick="clearFavourites()" class="emoji">🗑️</a>
</div>
</header>
<main>
<div id="gradient-box-table">
</div>
<div id="gradient-box-hint" class="hint">
This is your personal gallery, a place to save your favourite color gradients.<br/>
Favourites are stored in your browser's local storage.
<br/><br/>
<a href="javascript:void(0)" onclick="addDefaultFavourites()">Click to add example gradients</a>
</div>
</main>
<footer>
<div class="footertext">
</div>
</footer>
</body>
</html>