forked from utorteam13/Team13_Project1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
past.html
95 lines (80 loc) · 2.89 KB
/
past.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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/foundation-sites@6.7.4/dist/css/foundation.min.css" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css"/>
<link href="https://fonts.googleapis.com/css2?family=Electrolize&display=swap" rel="stylesheet">
<title>Footy Scores Social</title>
</head>
<body>
<div class="navbar pullUp">
<a href="index.html"><img src="images/soccer.png" alt="soccerimg" class="soccerimg"></a>
<a href="live.html">LIVE SCORES</a>
<a href="past.html">PAST SCORES</a>
<a href="standings.html">STANDINGS</a>
</div>
<!--General information: Replicate this section in javaScript for more matches(set a max amount=5 of games shown)-->
<!--prompt a user of the period of the past games && the League Name. (from YYYY-MM-DD to YYYY-MM-DD)-->
<form id="gameSelect">
<div id="leagueSelect">
<div class="choose">
<label>Choose a League</label>
<input list="browsers" type="text" id="leagueInput"/>
<datalist id="browsers">
<option value="Ghana">
<option value="England">
</datalist>
<br><br>
</div>
</div>
<div class="period">
<label id="period">Choose the period of past Games: </label>
</div>
<div class="searchboxwhole">
<div class="searchbox" id="from">
<p class="searchtitle">From</p>
<input type="date" id="fromDate"/>
</div>
<div class="searchbox" id="to">
<p class="searchtitle">To</p>
<input type="date" id="toDate"/><br><br>
</div>
</div>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<!-- <div id="loading" class="hide"></div> -->
<input type="image" src="images/soccer3.png" class="soccerimg3" id="submitbtn" alt="soccerimg3">
</form>
<!-- <img src="images/soccer3.png" alt="soccerimg3" class="soccerimg3"> -->
<div class="hide" id="scoresInfo">
<img id="leagueBadge"></img>
<h1 id="leagueName"></h1>
<!--The below section should be duplicated by a for loop for searched matches-->
<button type="button" id="restart" class="restart" onClick="window.location.reload()">Search for another league/period.</button>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/foundation-sites@6.7.4/dist/js/foundation.min.js" crossorigin="anonymous"></script>
<script src="./pastscript.js"></script>
<!-- <script src="./livescript.js"></script> -->
<!-- <script src="./script.js"></script> -->
</body>
</html>