-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGenTeams.html
More file actions
156 lines (156 loc) · 5.62 KB
/
GenTeams.html
File metadata and controls
156 lines (156 loc) · 5.62 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CORE SCOUTING WEB</title>
<link rel="icon" type="image/x-icon" href="images/favIcon.png">
<link rel="stylesheet" href="css/style.css">
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f8f8f8;
}
.container {
max-width: 1200px;
margin: auto;
padding: 20px;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.table-container {
overflow-x: auto;
margin-bottom: 20px;
}
table {
width: 100%;
border-collapse: collapse;
background-color: #fff;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
th, td {
padding: 12px;
text-align: center;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
}
tr:hover {
background-color: #f1f1f1;
}
#match-details-table th {
position: sticky;
top: 0;
background-color: #f1f1f1;
z-index: 2;
}
#2nd-table {
display: none;
margin-top: 20px;
}
#clear-btn {
display: inline-block;
margin: 10px 0;
padding: 10px 15px;
background-color: #f44336;
color: white;
border: none;
cursor: pointer;
text-align: center;
}
#clear-btn:hover {
background-color: #d32f2f;
}
</style>
</head>
<body>
<nav class="navbar">
<div class="logo">
<a href="./index.html">
<img src="./images/CORElogoStandard.png" alt="Logo" class="logo-img" id="logo-standard">
<img src="./images/CORELogoBlack.png" alt="Hover Logo" class="logo-img-hover" id="logo-hover">
</a>
</div>
<ul class="nav-links">
<div class="nav-left">
<li><a href="./index.html">Home</a></li>
<li><a href="./OurMatches.html">Our Matches</a></li>
<li class="dropdown">
<a class="dropbtn">Review</a>
<div class="dropdown-content">
<a href="./GenTeams.html">Review teams</a>
<a href="./GenMatches.html">Review matches</a>
<a href="./Leader.html">Review Leaderboard</a>
</div>
</li>
<li class="dropdown">
<a class="dropbtn">Tools</a>
<div class="dropdown-content">
<a href="./TeamVS.html">Team VS</a>
<a href="./Tools/GameGen.html">Double Elims predictor</a>
<a href="./Tools/PickList.html" >Pick List Helper</a>
</div>
</li>
</div>
<li class="dropdown">
<a class="dropbtn">Pratice Data Review</a>
<div class="dropdown-content">
<a href="./PraticeTemplates/GenTeams.html">Review Teams Pratice Data</a>
<a href="./PraticeTemplates/GenMatches.html" >Review Matches Pratice data</a>
<a href="./PraticeTemplates/Leader.html" >Review Pratice Leaderboard</a>
</div>
</li>
<div class="nav-right">
<li class="dropdown">
<a href="./ArchivedData/ArcData.html" class="dropbtn">Download Our Data</a>
<div class="dropdown-content">
<a href="./ArchivedData/ArcData.html">ReefScape.zip (Not Out yet)</a>
<a href="./ArchivedData/ArcData.html">DemoData.zip</a>
</div>
</li>
<li class="dropdown">
<a class="dropbtn">Extras</a>
<div class="dropdown-content">
<a href="./">Documentation</a>
</div>
</li>
<li class="dropdown">
<a href="./index.html" class="dropbtn">year: ReefScape</a>
<div class="dropdown-content">
<a href="./">ReefScape</a>
<a href="./" >Crescendo</a>
<a href="./">Charged UP</a>
</div>
</li>
</div>
</ul>
</nav>
<div class="container">
<div class="backbox">
<h1>Teams</h1>
<div class="table-container">
<table id="main-table">
<tr>
<th>Team Number</th>
<th>Matches Played</th>
<th>Show</th>
</tr>
</table>
</div>
</div>
<div class="backbox">
<div id="2nd-table" class="table-container">
<button id="clear-btn" onclick="clearTable();">Clear & Go Up</button>
<table id="match-details-table"></table>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js"></script>
<script src="js\TeamGenScript.js"></script>
</body>
</html>