-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathadmin.html
68 lines (62 loc) · 2.88 KB
/
admin.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
<!DOCTYPE html>
<html>
<head>
<title>Harry Quotes</title>
<!-- loading jquery library bootstrap jquery library and custom app.js -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="js/admin.js"></script>
<!-- loading bootstrap css and custom css -->
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<link href="css/admin.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="row">
<div role="tabpanel">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
<li role="presentation"><a href="#new-quotes-tab" aria-controls="new-quotes-tab" role="tab" data-toggle="tab">New Quotes</a></li>
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="home">
<div class="search-box">
<input type="text" id="search-term" class="col-xs-6" name="keyword" placeholder="Keyword">
<button class="btn btn-primary" id="search">Search</button>
<button class="btn btn-primary" id="get-all-quotes">All Quotes</button>
</div>
<div class="add-box">
<input type="text" id="new-quote" class="col-xs-6" name="quote" placeholder="Quote">
<input type="text" id="author" class="col-xs-4" name="author" placeholder="Author">
<button class="btn btn-primary" id="add">Add</button>
</div>
<div class="all-quotes-content">
<div class="title">
<div class="col-lg-2 hidden-md hidden-sm hidden-xs">ID</div>
<div class="col-xs-6 col-sm-5">Quote</div>
<div class="col-xs-2 col-sm-2">Author</div>
</div>
<div class="return-content">
</div>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="new-quotes-tab">
<button class="btn btn-primary" id="get-all-new-quotes">All Quotes</button>
<div class="all-quotes-content">
<div class="title">
<div class="col-lg-2 hidden-md hidden-sm hidden-xs">ID</div>
<div class="col-xs-6 col-sm-5">Quote</div>
<div class="col-xs-2 col-sm-2">Author</div>
</div>
<div class="return-new-content">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>