-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
114 lines (109 loc) · 3.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>OddBit Test</title>
<!-- Compiled and minified CSS -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"
/>
<link rel="stylesheet" href="./style.css" />
<!--Import Google Icon Font-->
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
</head>
<body>
<div class="navbar-fixed">
<nav class="z-depth-0 yellow lighten-1">
<div class="nav-wrapper container">
<img
style="width: 35px; height: 35px;margin:15px 10px"
src="https://www.oddbit.id/_/theme/logo_green.png"
alt="logo"
/>
<a href="/" class="brand-logo grey-text text-darken-2">
OddBit Test</a
>
<ul class="right">
<li>
<a class="grey-text text-darken-2 thumb" data-control="thumb"
><i class="material-icons toggle-icon"></i
></a>
</li>
<li>
<a class="grey-text text-darken-2" href="/"
><i class="material-icons">refresh</i></a
>
</li>
</ul>
</div>
</nav>
</div>
<div class="container">
<div class="row">
<div class="col s12 m4">
<a
class="waves-effect waves-teal btn-flat btn-flat sort"
data-id="popularity"
>sort by popularity
<i class="material-icons icon right"></i>
</a>
</div>
<div class="col s12 m4">
<a
class="waves-effect waves-teal btn-flat btn-flat sort"
data-id="release_date"
>sort by release date <i class="material-icons icon right"></i
></a>
</div>
<div class="col s12 m4">
<a
class="waves-effect waves-teal btn-flat btn-flat sort"
data-id="vote_count"
>sort by vote count<i class="material-icons icon right"></i
></a>
</div>
</div>
<div class="row">
<form>
<div class="col s12 m4 offset-m1">
<input
type="text"
class="datepicker"
name="start"
placeholder="Pick a start date to sort by date range"
/>
</div>
<div class="col s12 m4">
<input
type="text"
class="datepicker"
name="end"
placeholder="Pick the end date "
/>
</div>
<div class="s12 m4">
<button
class="btn waves-effect waves-light btn-flat"
type="submit"
name="action"
>
Submit
<i class="material-icons right">send</i>
</button>
</div>
</form>
</div>
<div class="row" id="caption"></div>
<div class="row" id="results"></div>
</div>
<script src="./index.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/date-fns/1.30.1/date_fns.js"></script>
</body>
</html>