-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (53 loc) · 2.57 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
<!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">
<title>Tal meme generator</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body onload="Oninit()">
<div class="main-screen" onclick="toggleMenu()"></div>
<header>
<section class="main-header flex space-between align-center">
<div class="logo">logo</div>
<nav class="nav-container">
<button class="btn-menu btn-hide" onclick="toggleMenu()">☰</button>
<ul class="main-nav clean-list flex header-layout">
<li><a href="#" onclick="showGallery();">Gallery </a></li>
<li><a href="#"> About</a></li>
</ul>
</nav>
</section>
</header>
<section class="meme-generator-container main-layout flex meme-generator-layout">
<div class="canvas-container">
<canvas width="400" height="400"></canvas>
</div>
<div class="control-box grid control-box-layout">
<input type="text" name="line-text" placeholder="write somthing" oninput="onEnterLine(this.value)">
<input type="color" name="font-color" title="Font color" value="#ffffff"
onchange="onChangeColor(this.name,this.value)">
<input type="color" name="stroke-color" title="Stroke color" onchange="onChangeColor(this.name,this.value)">
<button name="font-increase" title="Increase font" onclick="onChangeFontSize(event,this.name)"> A+
</button>
<button name="font-decrease" title="Decrease font" onclick="onChangeFontSize(event,this.name)"> A-
</button>
<button name="switch-line" title="Switch line" onclick="onSwitchLine()"> ↑ ↓
</button>
<button name="add-line" title="Add line" onclick="onAddLine()"> Add line
</button>
<button name="remove-line" title="Remove line" onclick="onRemoveLine()"> <i class="fa fa-trash-o"></i>
</button>
</div>
</section>
<section class="gallery-container grid"></section>
<footer>Tal Levi©</footer>
<script src="js\services\utilService.js"></script>
<script src="js\services\memeService.js"></script>
<script src="js/galleryController.js"></script>
<script src="js/memeController.js"></script>
</body>
</html>