-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
126 lines (117 loc) · 4.68 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
<!DOCTYPE html>
<html 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">
<title>Noobs Cricboard</title>
<meta property="og:url" content="https://noobscricboard.netlify.app" />
<meta property="og:type" content="website" />
<meta property="og:title" content="manage cricket matches on your touch" />
<meta property="og:description"
content="Discover Noob's Criboard: A single-page application developed using vanilla javascript that is capable of tracking the score of a running cricket match." />
<meta property="og:image" content="https://noobscricboard.netlify.app/assets/images/home-img.jpg" />
<meta property="og:site_name" content="Noobs Cricboard" />
<link rel="icon" href="assets/images/logo.png">
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<nav class="navbar sticky-top navbar-expand-lg navbar-light bg-light px-3 shadow shadow-lg">
<a class="navbar-brand" href="javascript:void(0)" onclick="loadHome()">
<span class="fw-bold">
<img src="assets/images/logo.png" width="40" height="40" alt="">
Noob's Cricboard
</span>
</a>
<a href="javascript:void(0)" class="h5 d-block d-lg-none" data-bs-toggle="collapse"
data-bs-target="#nbcollapse">
<img src="assets/images/toggler.png" width="25" height="25" alt="">
</a>
<div class="collapse navbar-collapse" id="nbcollapse">
<ul class="navbar-nav my-2 my-lg-0">
<li class="nav-item mx-auto mx-lg-1 my-1 my-lg-0 shadow shadow-lg px-3 rounded-pill">
<a class="nav-link active rounded-pill text-primary" aria-current="page" href="javascript:void(0)"
onclick="newMatch()">
<span>
<img src="assets/images/new-match.png" width="35" height="35" alt="">
</span>
<span> New match</span>
</a>
</li>
<li id="running-match-nav"
class="d-none nav-item mx-auto mx-lg-1 my-1 my-lg-0 shadow shadow-lg px-3 rounded-pill">
<a class="nav-link active rounded-pill text-success" aria-current="page" href="javascript:void(0)"
onclick="runningMatch()">
<span>
<img src="assets/images/running-match.png" width="35" height="35" alt="">
</span>
<span> Running match</span>
</a>
</li>
<li id="score-nav"
class="d-none nav-item mx-auto mx-lg-1 my-1 my-lg-0 shadow shadow-lg px-3 pt-lg-1 rounded-pill">
<a class="nav-link active rounded-pill text-success" aria-current="page" href="javascript:void(0)"
onclick="teamFullCard(0)">
<span>
<img src="assets/images/scoreboard.png" width="25" height="25" alt="">
</span>
<span>  Full scorecard</span>
</a>
</li>
</ul>
<ul class="navbar-nav ms-auto">
<li class="nav-item mx-1">
<a class="nav-link active" href="javascript:void(0)" onclick="loadAbout()">About</a>
</li>
<li class="nav-item mx-1">
<a class="nav-link active" href="javascript:void(0)" onclick="loadManual()">Manual</a>
</li>
<li class="nav-item mx-1">
<a class="nav-link active"
href="mailto:[email protected]?Subject=Noobs-Cricboard%20bug%20report"
target="_blank">Contact</a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid" id="main-container"></div>
<script src="assets/bootstrap.bundle.min.js"></script>
<script src="app/route.js"></script>
<script src="app/setup.js"></script>
<script src="app/scoreboard.js"></script>
<script src="app/run.js"></script>
<script src="app/wicket.js"></script>
<script src="app/run_out.js"></script>
<script src="app/wide_ball.js"></script>
<script src="app/no_ball.js"></script>
<div class="modal fade" id="error-modal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Error Message</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div id="error-msg"></div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="new-match-modal" tabindex="-1">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Confirmation Message</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
A match is still running, Are you sure want to discard this match and start a new one?
</div>
<div class="modal-footer">
<button class="btn btn-primary" id="new-match-btn" data-bs-dismiss="modal">Yes</button>
</div>
</div>
</div>
</div>
</body>
</html>