-
Notifications
You must be signed in to change notification settings - Fork 0
/
predict.html
84 lines (80 loc) · 3.88 KB
/
predict.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description"
content="A simple tool to predict if your favourite team will qualify for the IPL 2024 playoffs or not." />
<meta name="keywords"
content="IPL, team qualification, predictor, playoffs, 2024, calculator, RCB, CSK, GT, LSG, KKR, PBKS, MI, SRH, DC, RR, ROYAL CHALLENGERS BENGALURU, Chennai Super Kings, Gujarat Titans, Lucknow Super Giants, Kolkata Knight Riders, Punjab Kings, Mumbai Indians, Sunrisers Hyderabad, Delhi Capitals, Rajasthan Royals" />
<meta name="author" content="Ayush Jain" />
<meta property="og:title" content="Will My Team Qualify?" />
<meta property="og:description"
content="A simple tool to predict if your favourite team will qualify for the IPL 2024 playoffs or not." />
<meta property="og:image" content="https://i.ibb.co/4sSJS3G/bb.png" />
<meta property="og:url" content="https://ipl-calculator-ayushjain01.vercel.app/">
<link rel="shortcut icon" type="image/png" href="/static/favicon.ico" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@AyushGanna" />
<meta name="twitter:title" content="Will My Team Qualify?" />
<meta property="twitter:description"
content="A simple tool to predict if your favourite team will qualify for the IPL 2024 playoffs or not." />
<meta name="twitter:image" content="https://i.ibb.co/4sSJS3G/bb.png" />
<meta property="description"
content="A simple tool to predict if your favourite team will qualify for the IPL 2024 playoffs or not." />
<script defer src="/_vercel/insights/script.js"></script>
<title>Will My Team Qualify?</title>
<link rel="stylesheet" href="styles/styles2.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans&display=swap" rel="stylesheet">
<script defer src="https://pyscript.net/releases/2022.12.1/pyscript.js"
data-pyscript-loading-text="Loading, please wait..."></script>
</head>
<body>
<div id="main-content-box">
<h1>Upcoming Matches</h1>
<p>Select the winning team in each game. The points-table will be updated based on your selection.</p>
<hr>
<div style="display: flex;">
<div id="mainbox">
</div>
<py-config type="toml">
packages = ["pandas"]
[[fetch]]
from = 'data/'
files = ['ipl_fixtures.csv', 'ipl_matches.csv','points.csv']
to_folder = 'data'
[[fetch]]
from = 'static/teams/'
files = ['CSK.png', 'DC.png', 'GT.png',
'KKR.png','LSG.png','MI.png','PBKS.png','RCB.png','RR.png','SRH.png']
to_folder = 'static/teams'
</py-config>
<py-script src="./add_matches.py"></py-script>
<div id="points">
<table style="float: right;">
<thead>
<tr>
<th>POS</th>
<th>TEAM</th>
<th>P</th>
<th>W</th>
<th>L</th>
<th>NR</th>
<th>NNR</th>
<th>PTS</th>
</tr>
</thead>
<tbody id="points-table">
</tbody>
</table>
</div>
</div>
</div>
<footer>
<p><a href="index.html">Home</a>
<p>Check out my <a href="https://github.com/ayushjain01/IPL-Calculator">GitHub repository</a></p>
</footer>
</body>
</html>