-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
214 lines (203 loc) · 9.45 KB
/
dashboard.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/vinorodrigues/bootstrap-dark@0.0/dist/bootstrap-dark.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.2/font/bootstrap-icons.css">
<title>Dashboard - WebLibrary</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<div class="container">
<a class="navbar-brand my-auto h1" href="dashboard.html">WebLibrary</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#headerNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="headerNav">
<div class="navbar-nav mr-auto">
<a class="nav-link" href="catalog.html">Catalog</a>
<a class="nav-link" href="blog.html">Blog posts</a>
<a class="nav-link" href="about.html">About</a>
</div>
<div>
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a href="#" class="nav-link dropdown-toggle" id="navbarProfile" role="button" data-toggle="dropdown">
<img src="upload/profiles/1.jpg" alt="profile picture" height="30px" width="30px" class="rounded mr-2">
Johnny Appleseed
</a>
<div class="dropdown-menu">
<a href="dashboard.html" class="dropdown-item">Dashboard</a>
<a href="#" class="dropdown-item">Settings</a>
<a href="index.html" class="dropdown-item text-danger">Log out</a>
</div>
</li>
</ul>
</div>
</div>
</div>
</nav>
<section class="jumbotron jumbotron-fluid my-5 text-center bg-dark text-white">
<div class="container">
<div class="row row-cols-1 row-cols-sm-2">
<div class="col-6 col-sm-3 col-lg-2 mx-auto">
<img src="upload/profiles/1.jpg" alt="profile picture" class="rounded img-fluid">
</div>
<div class="col-12 col-sm-9 col-lg-10 my-auto">
<h5 class="h1 text-center text-md-left">
<small class="text-muted">Welcome back</small>
<br>Johnny Appleseed
</h5>
</div>
</div>
</div>
</section>
</header>
<main>
<section class="container my-5">
<!-- TODO: Implement announcement functionality -->
<h5><i class="bi bi-megaphone"></i> Announcements</h2>
<div class="card border-danger mt-3">
<div class="card-body">
<h5 class="card-title">System maintenance</h5>
<p class="card-text">
Starting December 1, 2021. The WebLibrary staff will be doing a monthly system maintenance. Expect online services to degrade or go offline during the maintenance.
</p>
</div>
<div class="card-footer text-muted text-right">
Announced 1 week ago by WebLibrary Staff
</div>
</div>
</section>
<section class="container my-5">
<div class="row row-col-1 row-col-md-2">
<div class="col-12 col-md-4 col-lg-3">
<h5><i class="bi bi-clock-history"></i> Recent activity</h5>
<!-- <div class="list-group mt-3">
<div class="list-group-item">
<h5>Placed a comment</h5>
<p>"Player's Handbook" last 11/17/2021</p>
</div>
<div class="list-group-item">
<h5>Returned book</h5>
<p>"Player's Handbook" last 11/15/2021</p>
</div>
<div class="list-group-item">
<h5>Reported missing</h5>
<p>"Player's Handbook" last 11/12/2021</p>
</div>
<div class="list-group-item">
<h5>Checked out</h5>
<p>"Player's Handbook" last 11/05/2021</p>
</div>
<div class="list-group-item">
<h5>Placed hold</h5>
<p>"Player's Handbook" last 11/01/2021</p>
</div>
</div> -->
<ul class="list-group mt-3">
<li class="list-group-item">
<h5 class="my-0">Checked out "New Moon"</h5>
<small class="text-muted">3 days ago</small>
</li>
<li class="list-group-item">
<h5 class="my-0">Place hold "New Moon"</h5>
<small class="text-muted">1 week ago</small>
</li>
<li class="list-group-item">
<h5 class="my-0">Returned "Twilight"</h5>
<small class="text-muted">2 weeks ago</small>
</li>
<li class="list-group-item">
<h5 class="my-0">Place hold "A Dance with Dragons</h5>
<small class="text-muted">2 weeks ago</small>
</li>
<li class="list-group-item">
<h5 class="my-0">Checked out "Twilight</h5>
<small class="text-muted">3 week ago</small>
</li>
</ul>
</div>
<div class="col-12 col-md-8 col-lg-9">
<section class="mt-5 mt-md-0">
<h5><i class="bi bi-bookmark-heart"></i> Favorite books</h5>
<div class="row row-cols-2 row-cols-md-3 row-cols-lg-4 row-cols-xl-5 align-item-end mt-3">
<div class="col mb-3">
<div class="card">
<a href="item/16.html"><img src="upload/book_covers/16.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3">
<div class="card">
<a href="item/13.html"><img src="upload/book_covers/13.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3">
<div class="card">
<a href="item/7.html"><img src="upload/book_covers/7.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3 d-block d-md-none d-lg-block">
<div class="card">
<a href="item/10.html"><img src="upload/book_covers/10.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3 d-none d-xl-block">
<div class="card">
<a href="item/8.html"><img src="upload/book_covers/8.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
</div>
</section>
<section class="mt-5 mt-md-0">
<h5><i class="bi bi-bookmark-plus"></i> Recently borrowed</h5>
<div class="row row-cols-2 row-cols-md-3 row-cols-lg-4 row-cols-xl-5 align-items-end mt-3">
<div class="col mb-3">
<div class="card">
<a href="item/16.html"><img src="upload/book_covers/16.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3">
<div class="card">
<a href="item/18.html"><img src="upload/book_covers/18.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3">
<div class="card">
<a href="item/12.html"><img src="upload/book_covers/12.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3 d-block d-md-none d-lg-block">
<div class="card">
<a href="item/6.html"><img src="upload/book_covers/6.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
<div class="col mb-3 d-none d-xl-block">
<div class="card">
<a href="item/2.html"><img src="upload/book_covers/2.jpg" alt="book covers" class="card-img img-fluid"></a>
</div>
</div>
</div>
</section>
</div>
</div>
</section>
<!-- TODO: Add more content suitable for the patron dashboard -->
</main>
<footer>
<div class="container my-5 text-center text-muted">
<ul class="list-unstyled">
<li class="my-1">WebLibrary © 2021</li>
<li class="my-1">This is a non-functioning prototype.<br>UI/UX is subject to change.</li>
<li class="my-1">
<a href="https://github.com/FriendsNone/WebLibrary">Source code</a>
</li>
</ul>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>