-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (49 loc) · 2.69 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>
<title>SOFe Avatar Generator</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" integrity="sha384-AysaV+vQoT3kOAXZkl02PThvDr8HYKPZhNT5h/CXfBThSRXQ6jW5DO2ekP5ViFdi" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/js/bootstrap.min.js" integrity="sha384-BLiI7JTZm+JWlgKa0M0kGRpJbF2J8q+qreVrKBC47e3K6BW78kGLrCkeRX6I9RoK" crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<style type="text/css">
.jumbotron {text-align: center;}
body{
background-image: url("https://encrypted-tbn3.gstatic.com/images?q=tbn:ANd9GcRjLy30bYYtoujW2C4lHXB4WoYpJ_UWkeOcpqKHgSTlXSVI6QGm");
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jscolor/2.0.4/jscolor.js" integrity="sha384-jgQsvNMr8zkb64e1g7aH9Yj/ZLpqINIFzdatFD7RgOak1XaPpfKVmNMCsVmPgTfJ" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.fileDownload/1.4.2/jquery.fileDownload.min.js" integrity="sha384-YmpM7MVhBcXa3bp2eRZmiEhWSWyYcUqhAXwZt5LSnw1XB6uCXAYelFTKtOvCo1+T" crossorigin="anonymous"></script>
<script src="app.js"></script>
</head>
<body>
<div class="container">
<div class="jumbotron">
<img id="avatar" src="sofeavatar.php?hex=63d957&bghex=EEEEEE&rot=0" height="275" width="275">
<h1>SOFe Avatar Generator</h1>
<div class="form-group">
<label for="color">Avatar Color:</label>
<input id="color" name="hex" class="jscolor" class="form-control" value="63d957">
</div>
<div class="form-group">
<label for="bgcolor">Background Color:</label>
<input id="bgcolor" name="bghex" class="jscolor" class="form-control" value="eeeeee">
</div>
<div class="form-group">
<label for="rotation">Rotation (in degrees):</label>
<p>
<select id="rotation" name="rot">
<option value="0">None</option>
<option value="90">90°</option>
<option value="180">180°</option>
<option value="270">270°</option>
</select>
</p>
</div>
<button id="random" class="btn btn-secondary">Randomize!</button>
<input id="download" class="btn btn-primary" type="submit" value="Download">
</div>
</div>
<script>run();</script>
</body>
</html>