-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (106 loc) · 4.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src *; style-src *; font-src *">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap">
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.min.js"></script>
<title>GameTime</title>
</head>
<body>
<div class="main-wrapper">
<img class="banner" src="assets/banner.png">
<div class="input-div">
<label for="event">Event</label>
<input type="text" id="event" name="event" placeholder="Metro Athletics">
</div>
<div class="input-div">
<label for="league">League</label>
<input type="text" id="league" name="league" placeholder="Sr. Men's Volleyball">
</div>
<div class="input-div">
<label for="subtext">Subtext</label>
<input type="text" id="subtext" name="subtext" placeholder="Strathcona High School">
</div>
<div class="input-div">
<label for="date">Date</label>
<input type="date" id="date" name="date" required>
</div>
<div class="input-div">
<label for="time">Time</label>
<input type="time" id="time" name="time" value="06:30" required>
</div>
<div class="teams-wrapper">
<div class="team-info">
<h2>Home Team</h2>
<div class="input-div">
<label for="home-name">Team Name</label>
<input type="text" id="home-name" name="home-name" placeholder="Strathcona">
</div>
<div class="input-div">
<label for="home-short">Abbreviation</label>
<input type="text" id="home-short" name="home-short" placeholder="SCN" maxlength="3">
</div>
<div class="input-div">
<label for="home-color">Color</label>
<input type="color" id="home-color" name="home-color" value="#BF0D3E">
</div>
<div class="input-div">
<p>Text Color</p>
<div>
<input type="radio" id="home-lightcolor" name="home-textcolor" value="light" checked>
<label for="home-lightcolor">Light</label>
</div>
<div>
<input type="radio" id="home-darkcolor" name="home-textcolor" value="dark">
<label for="home-darkcolor">Dark</label>
</div>
</div>
<div class="input-div">
<label for="home-logo">Logo</label>
<input type="file" id="home-logo" name="home-logo" accept="image/png">
</div>
</div>
<div class="team-info">
<h2>Away Team</h2>
<div class="input-div">
<label for="away-name">Team Name</label>
<input type="text" id="away-name" name="away-name" placeholder="Visiting Team">
</div>
<div class="input-div">
<label for="away-short">Abbreviation</label>
<input type="text" id="away-short" name="away-short" placeholder="VST" maxlength="3">
</div>
<div class="input-div">
<label for="away-color">Color</label>
<input type="color" id="away-color" name="away-color">
</div>
<div class="input-div">
<p>Text Color</p>
<div>
<input type="radio" id="away-lightcolor" name="away-textcolor" value="light" checked>
<label for="away-lightcolor">Light</label>
</div>
<div>
<input type="radio" id="away-darkcolor" name="away-textcolor" value="dark">
<label for="away-darkcolor">Dark</label>
</div>
</div>
<div class="input-div">
<label for="away-logo">Logo</label>
<input type="file" id="away-logo" name="away-logo" accept="image/png">
</div>
</div>
</div>
<div class="buttons">
<button class="open">OPEN GAME DATA</button>
<button class="save">GENERATE GAME DATA</button>
</div>
<input type="file" id="open-file-input" name="open-file-input" accept="application/json">
</div>
<p id="copyright">© Rudy de Lorenzo, 2021</p>
<script src="index.js"></script>
</body>
</html>