Skip to content

Commit

Permalink
Merge pull request #111 from shashirajraja/feature/cart
Browse files Browse the repository at this point in the history
Seller Functionality With Common Menu
  • Loading branch information
shashirajraja authored Mar 17, 2023
2 parents d604f45 13a0b69 commit f0f05ce
Show file tree
Hide file tree
Showing 28 changed files with 508 additions and 385 deletions.
87 changes: 0 additions & 87 deletions WebContent/AddBook.html

This file was deleted.

File renamed without changes.
97 changes: 53 additions & 44 deletions WebContent/UserLogin.html → WebContent/CustomerLogin.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 9,8 @@
<link rel="icon" type="image/png" sizes="16x16"
href="./favicons/favicon-16x16.png">
<link rel="manifest" href="./favicons/site.webmanifest">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" >
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
<style>
/* COMPACT CAPTCHA YELLOW */
Expand Down Expand Up @@ -62,72 63,80 @@
padding: 2px 2px;
margin: 2px 0;
box-sizing: border-box;
border-radius:10px;
border-radius: 10px;
}
</style>
</head>
<body onload="funload()">
<header>
<nav class="navbar navbar-expand-sm bg-dark">
<a class="navbar-brand">
<!-- The below line can be an image or a h1, either will work -->
<img src="logo.png" alt="Google logo" width="60" height="30px">
</a>

<button style="background-color:white;" class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav" >
<li class="nav-item"><span><a class="nav-link" href="index.html">Home</a></span></li>
<li class="nav-item "><span><a class="nav-link active" href="login.html">Login</a></span></li>
<li class="nav-item "><span><a class="nav-link" href="UserRegister.html">Register</a></span></li>
<a class="navbar-brand"> <!-- The below line can be an image or a h1, either will work -->
<img src="logo.png" alt="Google logo" width="60" height="30px">
</a>

<button style="background-color: white;" class="navbar-toggler"
type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item"><span><a class="nav-link"
href="index.html">Home</a></span></li>
<li class="nav-item "><span><a class="nav-link active"
href="login.html">Login</a></span></li>
<li class="nav-item "><span><a class="nav-link"
href="CustomerRegister.html">Register</a></span></li>
</ul>
</div>
</nav>
</div>
</nav>
</header>

<div id="topmid">
<h1>Welcome to Online Book Store</h1>
</div>

<form action="userlog" method="post" onsubmit="checkform()" id="theform">
<table class="tab" style="width:40%">
<tr style="color:brown; padding-left:35%">
<td>User LOGIN</td>
<form action="userlog" method="post" onsubmit="checkform()"
id="theform">
<table class="tab" style="width: 40%">
<tr style="color: brown; padding-left: 35%">
<td>Customer LOGIN</td>
</tr>
<tr><td><a href="AdminLogin.html" style="color:blue; font-size:medium; ">Are you Admin?, Click Here to Login as Admin</a></td></tr>
<tr>
<td>
<label for="userName">Username : </label>
<input type="text"
name="username" id="userName" placeholder="Enter your Username"><br />
<br />
<label for="Password">Password : </label>
<input
type="password" name="password" placeholder="Enter Password"
id="Password"><br /> <br />

<td><a href="SellerLogin.html"
style="color: blue; font-size: medium;">Are you Seller?, Click
Here to Login as Admin</a></td>
</tr>
<tr>
<td><label for="userName">Username : </label> <input
type="text" name="username" id="userName"
placeholder="Enter your Username"><br /> <br /> <label
for="Password">Password : </label> <input type="password"
name="password" placeholder="Enter Password" id="Password"><br />
<br />

<div class="capbox">
<div id="CaptchaDiv">46749</div>
<div class="capbox-inner">
<input type="hidden" id="txtCaptcha" value="46749"> <input
type="text" name="CaptchaInput" id="CaptchaInput" size="15" placeholder="Enter Captcha"><br>
type="text" name="CaptchaInput" id="CaptchaInput" size="15"
placeholder="Enter Captcha"><br>
</div>
</div>
<br /><br/>
<input class="btn btn-success"
type="submit" value=" Login as an User ">
</td>
</div> <br />
<br /> <input class="btn btn-success" type="submit"
value=" Login as an User "></td>
</tr>
</table>
</form>


<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>


<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"></script>
<script type="text/javascript">


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 37,7 @@
<ul class="navbar-nav" >
<li class="nav-item"><span><a class="nav-link" href="index.html">Home</a></span></li>
<li class="nav-item "><span><a class="nav-link" href="login.html">Login</a></span></li>
<li class="nav-item "><span><a class="nav-link active" href="UserRegister.html">Register</a></span></li>
<li class="nav-item "><span><a class="nav-link active" href="CustomerRegister.html">Register</a></span></li>
</ul>
</div>
</nav>
Expand Down
81 changes: 0 additions & 81 deletions WebContent/RemoveBooks.html

This file was deleted.

Loading

0 comments on commit f0f05ce

Please sign in to comment.