-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
96 lines (94 loc) · 5.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="ie=edge" http-equiv="x-ua-compatible">
<title>Webpack App</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!--<link rel="manifest" href="manifest.json"></head>-->
<body>
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-4">Fast enough?</h1>
<p class="lead">Choose a challenge and prove you're fast!</p>
<form class="form-inline">
<div class="input-group mb-2 mr-sm-2">
<div class="input-group-prepend">
<div class="input-group-text">Challenger:</div>
</div>
<input type="text" class="form-control" id="username" placeholder="Enter your name">
</div>
<sup class="badge badge-success" id="user-status">Online</sup>
</form>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-3">
<div class="nav flex-column nav-pills" id="v-pills-tab" role="tablist" aria-orientation="vertical">
<a class="nav-link active" id="v-pills-challenges-tab" data-toggle="pill" href="#v-pills-challenges" role="tab"
aria-controls="v-pills-challenges" aria-selected="true">
Challenges
</a>
<a class="nav-link" id="v-pills-leaderboards-tab" data-toggle="pill" href="#v-pills-leaderboards" role="tab"
aria-controls="v-pills-leaderboards" aria-selected="false">
Leaderboard
</a>
</div>
</div>
<div class="col-xs-12 col-sm-9">
<div class="tab-content" id="v-pills-tabContent">
<div class="tab-pane fade show active" id="v-pills-challenges" role="tabpanel" aria-labelledby="v-pills-challenges-tab">
<div class="alert alert-primary" role="alert">
Timer will start as soon as you type your first character in Solution box.
</div>
<form class="challenge-form">
<div class="form-group">
<label for="challenge-selector">Pick a challenge</label>
<select class="form-control" id="challenge-selector" name="challenge_identifier">
<option></option>
</select>
</div>
<div class="form-group">
<div class="form-control-plaintext" id="challenge-description">
</div>
</div>
<div class="form-group">
<label for="solution">Solution</label>
<textarea class="form-control" id="solution" rows="10" name="solution"></textarea>
</div>
<div class="form-group">
<div class="clearfix">
<div class="float-left">
<button type="button" class="btn btn-success" role="button" id="test">Test</button>
<button type="button" class="btn btn-primary" role="button" id="submit">Submit</button>
</div>
<h3 class="float-right" id="timer">0</h3>
</div>
</div>
<div class="form-group alerts-container"></div>
</form>
</div>
<div class="tab-pane fade" id="v-pills-leaderboards" role="tabpanel" aria-labelledby="v-pills-leaderboards-tab">
<table class="table auto-update">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Name</th>
<th scope="col">Challenge</th>
<th scope="col" data-sort>Time</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>