-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (96 loc) · 4.97 KB
/
index.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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/main.css">
<title>Meme Gen</title>
</head>
<body onload="onInit()">
<div class="main-layout">
<div class="main-screen full" onclick="toggleMenu()"></div>
<header class="main-header full main-layout ">
<div class="header-container">
<div class="logo"><img src="images/LOGO/meme_logo.png" alt=""></div>
<nav class="main-nav">
<ul class="flex clean-list nav-list">
<li><a onclick="toggleDisplay(event,name)" href="#" name="memes" class="active">Memes</a></li>
<li><a onclick="toggleDisplay(event,name)" href="#" name="gallery">Gallery</a></li>
</ul>
</nav>
<button class="menu-toggle-btn" onclick="toggleMenu()">☰</button>
</div>
</header>
<div class="seacrh-container">
<div class="search">
<input onchange="onDataList(this.value)" list="browsers" placeholder="search" id="myBrowser"
name="myBrowser">
<datalist id="browsers">
</datalist>
</div>
<div class="search-words">
</div>
</div>
<div class="flex-back">
<a class="button" onclick="toggleDisplay(false,'gallery')" href="#" name="about">← Back to Gallery</a>
<button class="button" onclick="onFlexable()">I am flexable</button>
</div>
<section class="gallery">
</section>
<section class="meme-gallery display">
</section>
<section class="editor display">
<div class="canvas-container">
<canvas width="700" height="700" style="outline: 1px solid green">
</canvas>
</div>
<div class="control-box">
<h3>Edit Text Lines</h3>
<div class="control-box-text">
<div class="editor-special-btns">
<button class="button" onclick="onSaveMeme()"><img src="./images/editorImg/save.png"
alt=""></button>
<a class="button" href="#" onclick="downloadImg(this)" download="my-img.jpg">Download</a>
<button class="button" onclick="onUploadImg()"><img src="./images/editorImg/share.png"
alt=""></button>
</div>
<div class="editor-text-control">
<button onclick="onDeleteLine()"><img src="./images/editorImg/delete.png" alt=""></button>
<button onclick="onAddLine()"><img src="./images/editorImg/add.png" alt=""></button>
<button onclick="onFontSizeChange(name)" name="minus"><img src="./images/editorImg/minus.png"
alt=""></button>
<button onclick="onFontSizeChange(name)" name="plus"><img src="./images/editorImg/plus.png"
alt=""></button>
<div class="colors">
<img src="./images/editorImg/stroke.png" alt="">
<input class="fill-color-img" onchange="onColorPick(this.value,name)" type="color"
name="borderColor" value="#bdf524" />
</div>
<div class="colors">
<img src="./images/editorImg/fill.png" alt="">
<input class="fill-color-img" onchange="onColorPick(this.value,name)" type="color"
name="fillColor" value="#FFFFFF" />
</div>
</div>
</div>
<input class="texto" type="text" onkeyup="onTextInput(this.value)">
<div class="emojis-container">
<div class="emojis">
</div>
</div>
</div>
</section>
</div>
<!-- scripts -->
<script src="js/halpers/utils.js"></script>
<script src="js/main.js"></script>
<script src="js/halpers/addListeners.js"></script>
<script src="js//halpers/storage.service.js"></script>
<script src="js/meme/meme.services.js"></script>
<script src="js/meme/meme.controller.js"></script>
<script src="js/gallery/gallery.controller.js"></script>
<script src="js/gallery/gallery.services.js"></script>
<script src="js/halpers/upload.service.js"></script>
</body>
</html>