-
Notifications
You must be signed in to change notification settings - Fork 2
/
dls.html
115 lines (113 loc) · 3.59 KB
/
dls.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>DLS Calculator</title>
<link
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
rel="stylesheet"
/>
<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=Playwrite+AU+QLD:[email protected]&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="dls.css" />
</head>
<body style="display: flex; justify-content: center">
<div style="width: 50%; height: auto">
<div
class="container mt-5 px-5"
style="
background-color: rgba(0, 0, 0, 0.418);
padding: 20px;
border-radius: 8px;
"
>
<h2 class="text-center">Duckworth Lewis Stern (DLS) Calculator</h2>
<div class="form-group a1">
<label for="teamAScore">Team A Score:</label>
<input
type="number"
class="form-control"
id="teamAScore"
placeholder="Enter Team A Score"
/>
</div>
<div class="form-group b">
<label for="teamAWickets">Team A Wickets:</label>
<input
type="number"
class="form-control"
id="teamAWickets"
placeholder="Enter Team A Wickets"
/>
</div>
<div class="form-group c">
<label for="teamAExtraOvers">Team A Extra Overs:</label>
<input
type="number"
class="form-control"
id="teamAExtraOvers"
placeholder="Enter Team A Extra Overs"
/>
</div>
<div class="form-group d">
<label for="teamBWickets">Team B Wickets:</label>
<input
type="number"
class="form-control"
id="teamBWickets"
placeholder="Enter Team B Wickets"
/>
</div>
<button
style="display: none"
id="dlsCalculateBtn"
class="btn btn-primary"
>
Calculate DLS
</button>
<div class="form-group mt-3">
<label for="dlsResult">DLS Target:</label>
<input
type="text"
class="form-control"
id="dlsResult"
readonly
placeholder="DLS Target"
/>
</div>
</div>
</div>
<div class="extra-info">
<div class="one">
<p>Runs Scored by the Team that was Batting First.</p>
</div>
<div class="two">
<p>Wickets lost by the Team that was Batting First.</p>
</div>
<div class="three">
<p>
Example : if the Match was reduced to 15 overs per side, then Enter
"5"
</p>
</div>
<div class="four">
<p>
Wickets lost by the team Batting Second,at the time of Interruption
due to any reason.
</p>
</div>
</div>
<div class="return">
<a href="index.html"><h1>Home</h1></a>
</div>
<script src="dlsCal.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>