-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
173 lines (143 loc) · 7 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Valorant Ban Map</title>
<link rel="icon" href="/valorant-logo.svg">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel="stylesheet" href="./style.css">
<link href="./style.scss" rel="stylesheet/scss" type="text/css">
<script language="JavaScript" type="text/javascript" src="/script.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
</head>
<body>
<div class="container">
<div class="item header">
<img class="valorant" src="/valorant-logo.svg">
<h1>Valorant ban map</h1>
</div>
<div class="item sidebar">
<div class="in-sidebar">
<h4>To start banning, please tell us your Team Names:</h4>
Team 1:<input type="text" class="teams" id="team1"><br>
Team 2:<input type="text" class="teams" id="team2"><br>
<button id="sumbit-button" class="sumbit-button" onclick="ShowTeamNames()" type="submit"><b>Next</b></button>
<h4>Optional - Upload Team Logos:</h4>
<label class="button-choose1" for="button-text-team1" id="1team-load-button">Choose logo for Team 1</label>
<input id="button-text-team1" type="file" accept="image/*" onchange="loadFile1(event)">
<script>
var loadFile1 = function (event) {
var output = document.getElementById('output1');
output.src = URL.createObjectURL(event.target.files[0]);
output.onload = function () {
URL.revokeObjectURL(output.src) // free memory
}
};
</script>
<br>
<br>
<label class="button-choose2" for="button-text-team2" id="2team-load-button">Choose logo for Team 2</label>
<input id="button-text-team2" type="file" accept="image/*" onchange="loadFile2(event)">
<script>
var loadFile2 = function (event) {
var output = document.getElementById('output2');
output.src = URL.createObjectURL(event.target.files[0]);
output.onload = function () {
URL.revokeObjectURL(output.src) // free memory
}
};
</script>
<audio id="hoveraudio" src='./sounds/Hover Over Agent.mp3'></audio>
<audio id="audio" src='./sounds/Spike Defused.mp3'></audio>
</div>
</div>
<div class="item content-1">
<div class="maps">
<div value="Ascent" id="1" onclick="BanMap(id), getmap(id)" class="map div1"><img class="map map-img" src="/maps/Loading_Screen_Ascent.png">
<img class="ban-img" id="ban-img-1" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">ASCENT</div>
</div>
</div>
<div id="2" onclick="BanMap(id)" class="map div2"><img class="map map-img" src="/maps/Loading_Screen_Bind.png">
<img class="ban-img" id="ban-img-2" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">BIND</div>
</div>
</div>
<div id="3" onclick="BanMap(id)" class="map div3"><img class="map map-img" src="/maps/Loading_Screen_Breeze.png">
<img class="ban-img" id="ban-img-3" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">BREEZE</div>
</div>
</div>
<div id="4" onclick="BanMap(id)" class="map div4"><img class="map map-img" src="/maps/Loading_Screen_Fracture.png">
<img class="ban-img" id="ban-img-4" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">FRACTURE</div>
</div>
</div>
<div id="5" onclick="BanMap(id)" class="map div5"><img class="map map-img" src="/maps/Loading_Screen_Haven.png">
<img class="ban-img" id="ban-img-5" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">HEAVEN</div>
</div>
</div>
<div id="6" onclick="BanMap(id)" class="map div6"><img class="map map-img" src="/maps/Loading_Screen_Icebox.png">
<img class="ban-img" id="ban-img-6" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">ICEBOX</div>
</div>
</div>
<div id="7" onclick="BanMap(id)" class="map div7"><img class="map map-img" src="/maps/Loading_Screen_Lotus.png">
<img class="ban-img" id="ban-img-7" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">LOTUS</div>
</div>
</div>
<div id="8" onclick="BanMap(id)" class="map div8"><img class="map map-img" src="/maps/Loading_Screen_Pearl.png">
<img class="ban-img" id="ban-img-8" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">PEARL</div>
</div>
</div>
<div id="9" onclick="BanMap(id)" class="map div9"><img class="map map-img" src="/maps/Loading_Screen_Split.png">
<img class="ban-img" id="ban-img-9" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">SPLIT</div>
</div>
</div>
<div id="10" onclick="BanMap(id)" class="map div10"><img class="map map-img" src="/maps/Loading_Screen_Sunset.png">
<img class="ban-img" id="ban-img-10" src="/ban-svgrepo-com.svg">
<div class="hover-name-map">
<div class="text" type="button" value="" onclick="play()" onmouseover="hoverplay()">SUNSET</div>
</div>
</div>
</div>
</div>
<div class=" content-2">
<div class="team1-info">
<img class="team1logo" id="output1" />
<h2 id="team1_name">Team 1</h2>
</div>
</div>
<div class=" content-3">
<div class="team2-info">
<h2 id="team2_name">Team 2</h2>
<img class="team2logo" id="output2" />
<br>
</div>
</div>
<div class="vs">VS</div>
<div class="item footer">
<div id="teamnowban"></div><div>ㅤVETO MAP</div>
<div class="github">
<a class="btn btn-link" href="https://github.com/kamilik/valorant-pick-ban-maps" title="Find more info on GitHub">
<img class="img-fluid" id="gh-mark" src="https://particles.js.org/images/GitHub-Mark-120px-plus.png" alt="">
<span id="gh-project">scarsparkle</span>
</a>
</div>
</div>
</div>
</body>
</html>