-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (132 loc) · 5.91 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!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>Pony ID Generator</title>
<link href="https://fonts.googleapis.com/css?family=Patrick+Hand&display=swap" rel="preload" as="style">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="grid-container grid-main">
<div class="col flex-container">
<canvas id="id-card"></canvas>
</div>
<div class="col flex-container">
<div class="card">
<div class="card-header">
<h3>ID Card</h3>
</div>
<div class="card-body">
<form autocomplete="off">
<div class="grid-container grid-2col">
<div class="col">
<div class="form-group">
<label for="char-name">Name</label>
<input type="text" class="form-control" name="char-name" id="char-name" autocapitalize="on">
</div>
<div class="form-group">
<label for="addr">Address</label>
<input type="text" class="form-control" name="addr" id="addr">
</div>
<div class="form-group">
<label for="city">City</label>
<select name="city" id="city" class="form-control">
<option value="appleoosa">Appleoosa</option>
<option value="baltimare">Baltimare</option>
<option value="canterlot">Canterlot</option>
<option value="cloudsdale">Cloudsdale</option>
<option value="crystal-empire">Crystal Empire</option>
<option value="fillydelphia">Fillydelphia</option>
<option value="las-pegasus">Las Pegasus</option>
<option value="ponyville">Ponyville</option>
<option value="manehattan">Manehattan</option>
<option value="vanhoover">Vanhoover</option>
</select>
</div>
<div class="form-group">
<label for="birth-date">Date of Birth</label>
<input type="text" class="form-control" name="birth-date" id="birth-date">
</div>
<div class="form-group">
<label for="exp-date">Expiry Date</label>
<input type="text" class="form-control" name="exp-date" id="exp-date">
</div>
</div>
<div class="col">
<div class="form-group">
<label for="race">Race</label>
<input type="text" class="form-control" name="race" id="race">
</div>
<div class="form-group">
<label for="sex">Sex</label>
<input type="text" class="form-control" name="sex" id="sex">
</div>
<div class="form-group">
<label for="coat-color">Coat Color</label>
<select name="coat-color" id="coat-color" class="form-control">
<option disabled selected>- Select one -</option>
<option value="RED">Red</option>
<option value="PNK">Pink</option>
<option value="ORG">Orange</option>
<option value="YLW">Yellow</option>
<option value="GRN">Green</option>
<option value="BLU">Blue</option>
<option value="PUR">Purple</option>
<option value="BRN">Brown</option>
<option value="BLK">Black</option>
<option value="GRY">Gray</option>
<option value="WHT">White</option>
<option value="XXX">Other</option>
</select>
</div>
<div class="form-group">
<label for="mane-color">Mane Color</label>
<select name="mane-color" id="mane-color" class="form-control">
<option disabled selected>- Select one -</option>
<option value="RED">Red</option>
<option value="PNK">Pink</option>
<option value="ORG">Orange</option>
<option value="YLW">Yellow</option>
<option value="GRN">Green</option>
<option value="BLU">Blue</option>
<option value="PUR">Purple</option>
<option value="BRN">Brown</option>
<option value="BLK">Black</option>
<option value="GRY">Gray</option>
<option value="WHT">White</option>
<option value="RNB">Rainbow</option>
<option value="XXX">Other</option>
</select>
</div>
<div class="form-group">
<label for="eye-color">Eye Color</label>
<select name="eye-color" id="eye-color" class="form-control">
<option disabled selected>- Select one -</option>
<option value="RED">Red</option>
<option value="PNK">Pink</option>
<option value="ORG">Orange</option>
<option value="YLW">Yellow</option>
<option value="GRN">Green</option>
<option value="BLU">Blue</option>
<option value="PUR">Purple</option>
<option value="BRN">Brown</option>
<option value="BLK">Black</option>
<option value="GRY">Gray</option>
<option value="WHT">White</option>
<option value="HTR">Heterochromatic</option>
<option value="XXX">Other</option>
</select>
</div>
</div>
</div>
<button type="button" id="save" class="button button-green"><svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="save" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="fa"><path fill="currentColor" d="M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z" class=""></path></svg> Save</button>
</form>
</div>
</div>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>