-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
119 lines (111 loc) · 5.64 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html lang=en class=no-js>
<!--<![endif]-->
<head>
<meta charset=utf-8>
<meta http-equiv=X-UA-Compatible content=IE=edge>
<title>VH1 NEWS INSTAGRAM IMAGE GENERATOR</title>
<meta name=description content>
<meta name=viewport content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<link rel=stylesheet type=text/css href=css/bootstrap.min.css>
<link rel=stylesheet type=text/css href=css/page.css>
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
</head>
<body>
<style>
</style>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class=topbar1>
<div class=container>VH1</div>
</div>
<div class=topbar2>
<div class=container>News Instagram Generator <a href=# onclick=location.reload(); style="color:white; font-size:20px"><span class="glyphicon tiny glyphicon-repeat"></span>reload</a></div>
</div>
<div class="container center jumbotron" id=main style=background-color:#fff>
<h2>Select Image Type</h2>
<div class=radio-inline>
<label class="btn">
<input checked=checked value=0 type=radio name=optradio>Headline/Regram</label>
</div>
<div class=radio-inline>
<label class="btn">
<input value=1 type=radio name=optradio>Quote</label>
</div>
<div class=radio-inline>
<label class="btn">
<input value=2 type=radio name=optradio>Meme</label>
</div>
<div class=radio-inline>
<label class="btn">
<input value=3 type=radio name=optradio>Birthday</label>
</div>
<h3>Check this If you want it to be Black and White</h3>
<div class=checkbox>
<label class="btn">
<input type=checkbox id=bwbox>Make B&W</label>
</div>
<h2 id=dad>Drag and Drop an Image <br>OR:</h2>
<label for=file-upload class="btn btn-primary">
<h2><span class="glyphicon glyphicon-upload" aria-hidden=true></span> Upload Image</h2> </label>
<input id=file-upload type=file onchange=loadImage()> </div>
<div class="container center" id=preview style=display:none>
<br>
<div class=imgcon>
<div id=loading style="height:500px; width:500px; position: absolute; top:0px; left:0px; background-color: white; z-index: 200;"><img src=images/ripple.svg style=width:500px></div>
<div id=blackout style="height:500px; width:500px; position: absolute; top:0px; left:213px; background-color: black; z-index: 100; pointer-events: none; opacity: 0.8; filter: alpha(opacity=80);"></div> <img id=previewImage style="height:500px; display:inline; position: relative; left: 0px; top: 0px" src alt="Image preview..."></div> <span class=cropstuff> <br><br>Image Is not Square, Please Crop. <b>Use drag to move, scroll to zoom.</b><br><br></span>
<button class="btn btn-primary cropstuff" id=crop style=display:none>Crop Image</button> <span class=textstuff><br><br>Put your text, the click color to make it</span>
<br>
<br>
<textarea class="textstuff" id="textInput" wrap="soft" rows="5" style="display:none; width:400px; text-align:center"></textarea>
<br>
<br>
<div class="btn-group textstuff" role=group aria-label=...>
<div id=headline>
<button type=button class="btn btn-default cbuto">
<div class=cbox style="background-color: #1e3a67" value=0></div>
</button>
<button type=button class="btn btn-default cbuto">
<div class=cbox style="background-color: #269888" value=1></div>
</button>
<button type=button class="btn btn-default cbuto">
<div class=cbox style="background-color: #e33e7d" value=2></div>
</button>
<button type=button class="btn btn-default cbuto">
<div class=cbox style="background-color: #ca323a" value=3></div>
</button>
<button type=button class="btn btn-default cbuto notbox">
<div class=cbox style="background-color: #fab63b" value=4></div>
</button>
<button type=button class="btn btn-default cbuto notbox">
<div class=cbox style="background-color: #71cbd9" value=5></div>
</button>
</div>
<div id=meme>
<button type=button class="btn btn-default cbuto">
<div class=cbox style="background-color: #000" value=6></div>
</button>
</div>
</div>
<br>
<br>
<div class=textstuff>
<button class=btn id=download>Download</button>
</div>
<div class="container center" id=outputdiv></div>
<canvas id=thecanvas></canvas>
</div>
<script src="js/jquery-3.1.0.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/jquery.mousewheel.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/hammer.min.js"></script>
<script src="js/download.js"></script>
<script src="js/main.js"></script>
</body>
</html>