-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (94 loc) · 3.85 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>New Project Template</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<link href="css/style.min.css" rel="stylesheet">
</head>
<body>
<main role="main">
<div class="container">
<div class="jumbotron bg-dark">
<h1 class="text-light"></h1>
</div>
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="books-tab" data-toggle="tab" href="#books" role="tab" aria-controls="books" aria-selected="true">Books</a>
</li>
<li class="nav-item">
<a class="nav-link" id="borrowers-tab" data-toggle="tab" href="#borrowers" role="tab" aria-controls="borrowers" aria-selected="false">Borrowers</a>
</li>
<li class="nav-item">
<a class="nav-link" id="libraries-tab" data-toggle="tab" href="#libraries" role="tab" aria-controls="libraries" aria-selected="false">Libraries</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="books" role="tabpanel" aria-labelledby="books-tab">
<table class="table table-striped table-dark" id="books-table">
<thead>
<tr>
<th scope="col">Image</th>
<th scope="col">Title</th>
<th scope="col">Description</th>
<th scope="col">Borrowed By</th>
</tr>
</thead>
<tbody id="bookTableBody"></tbody>
</table>
</div>
<div class="tab-pane fade" id="borrowers" role="tabpanel" aria-labelledby="borrowers-tab">
<table class="table table-striped table-dark" id="borrowers-table">
<thead>
<tr>
<th scope="col">Image</th>
<th scope="col">Title</th>
<th scope="col">Description</th>
<th scope="col">Borrowed By</th>
</tr>
</thead>
<tbody id="borrowersTableBody"></tbody>
</table>
</div>
<div class="tab-pane fade" id="libraries" role="tabpanel" aria-labelledby="libraries-tab">
<table class="table table-striped table-dark" id="libraries-table">
<thead>
<tr>
<th scope="col">Image</th>
<th scope="col">Title</th>
<th scope="col">Description</th>
<th scope="col">Borrowed By</th>
</tr>
</thead>
<tbody id="librariesTableBody"></tbody>
</table>
</div>
</div>
</div>
</main>
<div class="d-none" id="templates">
<table>
<tr class="bookRow">
<td><img class="img-fluid img-thumbnail bookImg" src="http://bookworship.com/wp-content/uploads/2014/04/the-uncommitted.jpg" alt="A book image"></td>
<td class="bookTitle">A Book Image</td>
<td class="bookDesc">A description of a test book</td>
<td>
<select class="bookBorrower" name="">
<option value="">Available</option>
<option value="borrowerOption">Bill S. Prestion, esq.</option>
<option value="borrowerOption">Ted</option>
<option value="borrowerOption">Keanu Reeves</option>
</select>
</td>
</tr>
</table>
</div>
<!-- Necessary Scripts... Keep these at the bottom of your <body> tag :) -->
<!-- Grunt's livereload script --><script src="//localhost:35729/livereload.js"></script>
<!-- JQuery min --><script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- BootStrap JS min --><script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.bundle.min.js" integrity="sha384-lZmvU/TzxoIQIOD9yQDEpvxp6wEU32Fy0ckUgOH4EIlMOCdR823rg4+3gWRwnX1M" crossorigin="anonymous"></script>
<!-- Custom JS for this project --><script src="js/requests.js"></script>
<!-- Custom JS for this project --><script src="js/main.js"></script>
</body>
</html>