-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·91 lines (75 loc) · 4.04 KB
/
index.html
File metadata and controls
executable file
·91 lines (75 loc) · 4.04 KB
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
<!DOCTYPE html>
<html>
<head>
<title>MemeMaker-Simple</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Bootstrap compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="row canvas-main">
<h2 class="text-center">Meme Generator</h2>
<hr class="hr-hero-title">
<div class="col-xs-12 canvas-container" id="drop-zone">
<canvas id="canvas" height="0px"></canvas>
<div class="drop-icon-container">
<svg class="drop-icon" xmlns="http://www.w3.org/2000/svg" width="50" height="43" viewBox="0 0 50 43"><path d="M48.4 26.5c-.9 0-1.7.7-1.7 1.7v11.6h-43.3v-11.6c0-.9-.7-1.7-1.7-1.7s-1.7.7-1.7 1.7v13.2c0 .9.7 1.7 1.7 1.7h46.7c.9 0 1.7-.7 1.7-1.7v-13.2c0-1-.7-1.7-1.7-1.7zm-24.5 6.1c.3.3.8.5 1.2.5.4 0 .9-.2 1.2-.5l10-11.6c.7-.7.7-1.7 0-2.4s-1.7-.7-2.4 0l-7.1 8.3v-25.3c0-.9-.7-1.7-1.7-1.7s-1.7.7-1.7 1.7v25.3l-7.1-8.3c-.7-.7-1.7-.7-2.4 0s-.7 1.7 0 2.4l10 11.6z"></path></svg>
</div>
<input type="file" name="img[]" class="user-file" id="canvas-container-file-label">
<label for="canvas-container-file-label"><strong>Choose a file</strong></label>
</div>
</div>
<div class="row">
<div class="form-group user-upload col-xs-12 col-sm-6">
<input type="file" name="img[]" class="user-file">
<div class="input-group col-xs-12">
<span class="input-group-addon"><i class="glyphicon glyphicon-picture"></i></span>
<input type="text" class="form-control input-md user-file-name" disabled placeholder="your image here">
<span class="input-group-btn">
<button class="browse-button btn btn-primary input-md" type="button"><i class="glyphicon glyphicon-search"></i> Browse</button>
</span>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<button class="btn btn-success btn-block" id="save-button">Save</button>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-xs-offset-0.5 col-sm-6">
<span class="user-text">Top Line:</span>
<input id="topLineText" class="form-control" type="text" placeholder="enter your text here">
</div>
<div class="col-xs-12 col-sm-6">
<span class="user-text">Bottom Line:</span>
<input id="bottomLineText" class="form-control" type="text" placeholder="enter your text here">
</div>
</div>
</div>
<!-- todo add button for tweet, mail and save. devies with -->
<!-- <div class="btn-group col-xs-12" role="group" aria-label="...">
<button type="button" class="btn btn-success">Save</button>
<button type="button" class="btn btn-primary">Mail</button>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Share
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">Facebook</a></li>
<li><a href="#">Tweet</a></li>
</ul>
</div>
</div>
</div> -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Bootstrap compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<script src="js/memeMaker.js"></script>
</body>
</html>