-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (88 loc) · 4.74 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
<!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">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<title>Leaderboard</title>
<script defer src="main.js"></script></head>
<body class="bg-dark">
<div class="container mt-5">
<div class="row">
<div class="col-md-12">
<div class="card p-5">
<h1 class="text-center animate__animated animate__rubberBand text-dark ">Leader-Board</h1>
<div class="row">
<div class="col-md-6">
<div class="card p-3">
<div class="card-header card-header-icon" data-background-color="black">
<div class="card-title row">
<div class="col-sm-6 d-flex">
<i class="material-icons mr-1 mt-1 animate__animated animate__rotateIn">grade</i>
<h4>Recent Scores </h4>
</div>
<div class="col-sm-6">
<button class="btn btn-success d-flex ml-auto f5 me-md-2" type="button"><i class="material-icons mr-3">update</i> Refresh</button>
</div>
</div>
</div>
<div class="card-content">
<div class="table-responsive">
<table class="table">
<thead class="text-info">
<th>Name</th>
<th>Score</th>
</thead>
<tbody class="table-content">
<!--Dynamic Content here-->
</tbody>
</table>
</div>
</div>
</div>
<button class="btn btn-primary d-flex ml-auto f4 me-md-2 mt-3 mb-3" type="button"><i class="material-icons mr-3">restore</i> Reset</button>
</div>
<div class="col-md-6">
<div class="card p-3">
<form class="data-form">
<div class="card-header card-header-icon" data-background-color="rose">
<div class="card-title d-flex">
<i class="material-icons mt-1 mr-3">group</i>
<h4>Add your score</h4>
</div>
</div>
<div class="card-content">
<p class="text-success text-center animate__animated animate__rubberBand success-message"></p>
<div class="form-group label-floating mt-3">
<label class="control-label">
Name
</label>
<input class="form-control userdetails" name="name" type="text" required="true" />
</div>
<div class="form-group label-floating">
<label class="control-label">
Score
</label>
<input class="form-control userdetails" name="number" type="number" required="true"/>
</div>
<div class="category form-category">
<div class="form-footer text-right">
<button type="submit" class="btn btn-primary btn-fill d-flex ml-auto"><i class="material-icons mr-3">group_add</i> Submit</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>