Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Library(College)/WebContent/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

Binary file not shown.
24 changes: 24 additions & 0 deletions Library(College)/WebContent/addbookform.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<h3>Add Book Form</h3>
<form action="AddBook" method="post" style="width:300px">
<div class="form-group">
<label for="callno1">Callno</label>
<input type="text" class="form-control" name="callno" id="callno1" placeholder="Callno"/>
</div>
<div class="form-group">
<label for="name1">Name</label>
<input type="text" class="form-control" name="name" id="name1" placeholder="Name"/>
</div>
<div class="form-group">
<label for="author1">Author</label>
<input type="text" class="form-control" name="author" id="author1" placeholder="Author"/>
</div>
<div class="form-group">
<label for="publisher1">Publisher</label>
<input type="text" class="form-control" name="publisher" id="publisher1" placeholder="Publisher"/>
</div>
<div class="form-group">
<label for="quantity1">Quantity</label>
<input type="number" class="form-control" name="quantity" id="quantity1" placeholder="Quantity"/>
</div>
<button type="submit" class="btn btn-primary">Save Book</button>
</form>
20 changes: 20 additions & 0 deletions Library(College)/WebContent/addlibrarianform.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<h3>Add Librarian</h3>
<form action="AddLibrarian" method="post" style="width:300px">
<div class="form-group">
<label for="name1">Name</label>
<input type="text" class="form-control" name="name" id="name1" placeholder="Name"/>
</div>
<div class="form-group">
<label for="email1">Email address</label>
<input type="email" class="form-control" name="email" id="email1" placeholder="Email"/>
</div>
<div class="form-group">
<label for="password1">Password</label>
<input type="password" class="form-control" name="password" id="password1" placeholder="Password"/>
</div>
<div class="form-group">
<label for="mobile1">Mobile Number</label>
<input type="number" class="form-control" name="mobile" id="mobile1" placeholder="Mobile"/>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
31 changes: 31 additions & 0 deletions Library(College)/WebContent/admincarousel.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- 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>
</ol>

<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="images/admin1.jpg" alt="baby 1" >
</div>

<div class="item">
<img src="images/admin2.jpg" alt="baby 2" >
</div>

</div>

<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- corousel end -->

</div>
12 changes: 12 additions & 0 deletions Library(College)/WebContent/adminloginform.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<h3>Admin Login</h3>
<form action="AdminLogin" method="post" style="width:300px">
<div class="form-group">
<label for="email1">Email address</label>
<input type="email" class="form-control" name="email" id="email1" placeholder="Email"/>
</div>
<div class="form-group">
<label for="password1">Password</label>
<input type="password" class="form-control" name="password" id="password1" placeholder="Password"/>
</div>
<button type="submit" class="btn btn-primary">Login</button>
</form>
6 changes: 6 additions & 0 deletions Library(College)/WebContent/bootstrap.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions Library(College)/WebContent/bootstrap.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions Library(College)/WebContent/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
</body>
</html>
Binary file added Library(College)/WebContent/images/admin1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Library(College)/WebContent/images/admin2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Library(College)/WebContent/images/library1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Library(College)/WebContent/images/library2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions Library(College)/WebContent/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
<link rel="stylesheet" href="bootstrap.min.css"/>
</head>
<body>

<nav class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">eLibrary</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="#">Admin</a></li>
<li><a href="#">Librarian</a></li>
</ul>

</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>

<div class="container-fluid">
<h1>eLibrary</h1>

<div class="row">
<div class="col-md-6">
<h3>Admin Login</h3>
<form action="AdminLogin" method="post" style="width:300px">
<div class="form-group">
<label for="email1">Email address</label>
<input type="email" class="form-control" name="email" id="email1" placeholder="Email"/>
</div>
<div class="form-group">
<label for="password1">Password</label>
<input type="password" class="form-control" name="password" id="password1" placeholder="Password"/>
</div>
<button type="submit" class="btn btn-primary">Login</button>
</form>

</div>
<div class="col-md-6">
<h3>Librarian Login</h3>
<form action="LibrarianLogin" method="post" style="width:300px">
<div class="form-group">
<label for="email1">Email address</label>
<input type="email" class="form-control" id="email1" name="email" placeholder="Email"/>
</div>
<div class="form-group">
<label for="password1">Password</label>
<input type="password" class="form-control" id="password1" name="password" placeholder="Password"/>
</div>
<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
</div>
</div>




<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
</body>
</html>
20 changes: 20 additions & 0 deletions Library(College)/WebContent/issuebookform.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<h3>Issue Book Form</h3>
<form action="IssueBook" method="post" style="width:300px">
<div class="form-group">
<label for="callno1">Book Callno</label>
<input type="text" class="form-control" name="callno" id="callno1" placeholder="Callno"/>
</div>
<div class="form-group">
<label for="id1">Student Id</label>
<input type="text" class="form-control" name="studentid" id="id1" placeholder="Student Id"/>
</div>
<div class="form-group">
<label for="name1">Student Name</label>
<input type="text" class="form-control" name="studentname" id="name1" placeholder="Student Name"/>
</div>
<div class="form-group">
<label for="mobile1">Student Mobile</label>
<input type="number" class="form-control" name="studentmobile" id="mobile1" placeholder="Student Mobile"/>
</div>
<button type="submit" class="btn btn-primary">Issue Book</button>
</form>
6 changes: 6 additions & 0 deletions Library(College)/WebContent/jquery.min.js

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions Library(College)/WebContent/librariancarousel.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- 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>
</ol>

<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="images/library1.jpg" alt="baby 1" >
</div>

<div class="item">
<img src="images/library2.jpg" alt="baby 2" >
</div>

</div>

<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div><!-- corousel end -->

</div>
12 changes: 12 additions & 0 deletions Library(College)/WebContent/librarianloginform.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<h3>Librarian Login</h3>
<form action="LibrarianLogin" method="post" style="width:300px">
<div class="form-group">
<label for="email1">Email address</label>
<input type="email" class="form-control" name="email" id="email1" placeholder="Email"/>
</div>
<div class="form-group">
<label for="password1">Password</label>
<input type="password" class="form-control" name="password" id="password1" placeholder="Password"/>
</div>
<button type="submit" class="btn btn-primary">Login</button>
</form>
25 changes: 25 additions & 0 deletions Library(College)/WebContent/navadmin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<nav class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">eLibrary</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<li><a href="AddLibrarianForm">Add Librarian</a></li>
<li><a href="ViewLibrarian">View Librarian</a></li>
<li><a href="LogoutAdmin">Logout</a></li>
</ul>

</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
24 changes: 24 additions & 0 deletions Library(College)/WebContent/navhome.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<nav class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">eLibrary</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html" class="active">Home</a></li>
<li><a href="#">Admin</a></li>
<li><a href="#">Librarian</a></li>
</ul>

</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
28 changes: 28 additions & 0 deletions Library(College)/WebContent/navlibrarian.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<nav class="navbar navbar-inverse">
<div class="container">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">eLibrary</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<li><a href="AddBookForm">Add Book</a></li>
<li><a href="ViewBook">View Book</a></li>
<li><a href="IssueBookForm">Issue Book</a></li>
<li><a href="ViewIssuedBook">View Issued Book</a></li>
<li><a href="ReturnBookForm">Return Book</a></li>
<li><a href="LogoutLibrarian">Logout</a></li>
</ul>

</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
12 changes: 12 additions & 0 deletions Library(College)/WebContent/returnbookform.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<h3>Return Book Form</h3>
<form action="ReturnBook" method="post" style="width:300px">
<div class="form-group">
<label for="callno1">Callno</label>
<input type="text" class="form-control" name="callno" id="callno1" placeholder="Callno"/>
</div>
<div class="form-group">
<label for="studentid1">Student Id</label>
<input type="text" class="form-control" name="studentid" id="studentid1" placeholder="StudentId"/>
</div>
<button type="submit" class="btn btn-primary">Return Book</button>
</form>
32 changes: 32 additions & 0 deletions Library(College)/WebContent/tablesoracle.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
CREATE TABLE "E_BOOK"
( "CALLNO" VARCHAR2(4000),
"NAME" VARCHAR2(4000),
"AUTHOR" VARCHAR2(4000),
"PUBLISHER" VARCHAR2(4000),
"QUANTITY" NUMBER,
"ISSUED" NUMBER,
CONSTRAINT "E_BOOK_PK" PRIMARY KEY ("CALLNO") ENABLE
)
/
CREATE TABLE "E_LIBRARIAN"
( "ID" NUMBER,
"NAME" VARCHAR2(4000),
"PASSWORD" VARCHAR2(4000),
"EMAIL" VARCHAR2(4000),
"MOBILE" NUMBER,
CONSTRAINT "E_LIBRARIAN_PK" PRIMARY KEY ("ID") ENABLE
)
/
Note: ID must be generated through sequence in E_LIBRARIAN table.

CREATE TABLE "E_ISSUEBOOK"
( "CALLNO" VARCHAR2(4000) NOT NULL ENABLE,
"STUDENTID" VARCHAR2(4000) NOT NULL ENABLE,
"STUDENTNAME" VARCHAR2(4000),
"STUDENTMOBILE" NUMBER,
"ISSUEDDATE" DATE,
"RETURNSTATUS" VARCHAR2(4000)
)
/


Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading