-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (83 loc) · 2.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Draw that</title>
<link rel="stylesheet" href="css/style.css">
<!-- <link href="https://fonts.googleapis.com/css?family=Lato:400,700,900" rel="stylesheet"> -->
</head>
<body>
<!-- facebook-like photo editing -->
<main class="page_wrap">
<div class="history">
<a id="show-history" href="#">Your last images</a>
<div id='history-imgs' class="history-items ui_elm">
</div>
</div>
<!-- item inputs -->
<div class="ui_elm active" id="item-inputs">
<form action="/">
<div class="input-url">
<label for="in-img-url">IMAGE URL</label>
<input id="in-img-url" class="bd-input" type="text" name="img_url" value="" placeholder="coolmme.com/image.png">
<button class="button-prim bd-input" id="submit">Submit</button>
</div>
<!-- not available now -->
<div class="input-upload">
<input type="text" placeholder="please enter image url">
<button>Submit</button>
</div>
</form>
</div>
<!-- end item inputs -->
<!-- start img confirmation -->
<div class="ui_elm" id="confirm-input-img" class="inactive">
<h2> is this's your wanted image ?</h2>
<div class="img-display ">
<!-- <img src="" alt="your photo should appear here"> -->
</div>
<form action="/">
<label for="img_name">
Choose a name
</label>
<input type="text" name="image_name" id="img_name" placeholder="Type something...">
<input type="submit" id="submit_name">
</form>
<div class="isError"></div>
<button id="isTrue" class="button-prim bd-input">yes</button>
<button id="isFalse" class="button-prim rev bd-input">no</button>
<div class="cf"></div>
</div>
<div class="ui_elm" id="edit-img">
<div class="edit-ops">
<div class="edit-ops--single">
<button class="edit-ops--btn text" id="insert-text">
<i class="icn icn-text"></i>
</button>
</div>
<div class="edit-ops--single">
<button class="edit-ops--btn emoji" id="insert-emoji">
<i class="icn icn-emoji"></i>
</button>
</div>
</div><!-- /edit ops -->
<div class="edit-playground">
<!-- canvas will be here -->
<div class="canvas-holder"></div>
<div class="st-layer">
</div>
</div>
</div>
<!-- <div class="ui_elm" id="save-img"></div> -->
</main>
<script src="scripts/script.js"></script>
<script src="scripts/app.js"></script>
<script>
// temporary for developing easily
// document.body.className = 'edit-mode'
// activeUi('edit-img')
</script>
</body>
</html>