-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrules.html
279 lines (239 loc) · 6.88 KB
/
rules.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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html>
<html lang="en">
<head>
<title>Library Management</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<style>
.carousel-inner>.item>img, .carousel-inner>.item>a>img {
display: block;
height: auto;
max-width: 100%;
line-height: 1;
width: 100%;
}
.item{
height: 500px;
}
.item img{
position: absolute;
object-fit:cover;
top: 0;
left: 0;
min-height: 500px;
}
.carousel-caption{
text-shadow: 2px 2px black;
font-weight: bold;
}
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */
body {
padding-bottom: 3rem;
color: #5a5a5a;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.carousel {
margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
bottom: 3rem;
z-index: 10;
}
/* Declare heights because of positioning of img element */
.carousel-item {
height: 32rem;
background-color: #777;
}
.carousel-item > img {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
height: 32rem;
}
/* MARKETING CONTENT
-------------------------------------------------- */
/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
margin-bottom: 1.5rem;
text-align: center;
}
.marketing h2 {
font-weight: 400;
}
.marketing .col-lg-4 p {
margin-right: .75rem;
margin-left: .75rem;
}
/* Featurettes
------------------------- */
.featurette-divider {
margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
font-weight: 300;
line-height: 1;
letter-spacing: -.05rem;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 40em) {
/* Bump up size of carousel content */
.carousel-caption p {
margin-bottom: 1.25rem;
font-size: 1.25rem;
line-height: 1.4;
}
.featurette-heading {
font-size: 50px;
}
}
@media (min-width: 62em) {
.featurette-heading {
margin-top: 7rem;
}
.col-md-7 {
-webkit-box-flex: 0;
-ms-flex: 0 0 58.333333%;
flex: 0 0 58.333333%;
max-width: 58.333333%;
}
.col-md-5, .col-md-7 {
position: relative;
width: 100%;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
.col-md-5 {
-webkit-box-flex: 0;
-ms-flex: 0 0 41.666667%;
flex: 0 0 41.666667%;
max-width: 41.666667%;
}
.order-md-1 {
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1;
}
.order-md-2 {
-webkit-box-ordinal-group: 3;
-ms-flex-order: 2;
order: 2;
}
.col-md-7 {
-webkit-box-flex: 0;
-ms-flex: 0 0 58.333333%;
flex: 0 0 58.333333%;
max-width: 58.333333%;
}
.img-fluid {
max-width: 100%;
height: auto;
}
.container {
padding: 0px;
}
}
</style>
</head>
<body>
<nav class="navbar navbar-inverse" style="margin: 0px 0px 0px 0px; border:none;">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="home.html">The Book Yard</a>
</div>
<ul class="nav navbar-nav">
<li ><a href="home.html">Home</a></li>
<li class="active"><a href="rules.html">Rules</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
<ul class="nav navbar-nav navbar-right ">
<li><a href="student/login.php"><span class="glyphicon
glyphicon-log-in"></span> Login</a></li>
<li><a href="student/registration.php"><span class="glyphicon
glyphicon-user"></span> Register</a></li>
<li><a href="dashboard/adminlogin.php"><span class="glyphicon
glyphicon-log-in"></span> Admin Login</a></li>
</ul>
</div>
</nav>
<div id="myCarousel" class="carousel slide" data-ride="carousel" style="margin-top: 0px;">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="resources/books_library_old_111388_1280x720.jpg" alt=""/>
<div class="carousel-caption">
<h2>Welcome to Library</h2>
<h4>Library Timings</h4>
<h5>09:00-17:00</h5>
</div>
</div>
<div class="item">
<img src="resources/library_books_reading_125466_1280x720.jpg" alt=""/>
<div class="carousel-caption">
<h2>We have over 50 thousand books </h2>
<h2>across different genres</h2>
</div>
</div>
<div class="item">
<img src="resources/library_style_table_books_wooden_39317_1280x720.jpg" alt=""/>
<div class="carousel-caption">
<h2>Use the link above to register</h2>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="panel panel-warning container">
<!-- Default panel contents -->
<div class="panel-heading">Rules</div>
<div class="panel-body" style="padding: 0px; padding-left: 2px;">
<h5 style="padding:0px; margin-left: 10px;">Please adhere to the rules of the library. Failure to do so might result in severe punishment</h5>
</div>
<!-- Table -->
<table class="table" style="margin: 0px 0px 0px 0px">
<tr>
<td>1. Only one book is allowed for a week.
You can re-issue the same book for another week if no one has made a request for the same book for another week.</td>
</tr>
<tr>
<td> 2. If the book is not returned on the due date, a fine of RS.5 per day will be charged.</td>
</tr>
<tr>
<td> 3.Books lost must be replaced, books damaged will be charged .
(Charges will vary depending on the condition of the book.)</td>
</tr>
<tr>
<td> 4. Check the book before issuing and ensure that it is in good condition.</td>
</tr>
<tr>
<td> 5. Handle the books carefully. </td>
</tr>
</table>
</div>
</body>
</html>