Commit c7a8bc3c authored by Lê Tiến Hưng's avatar Lê Tiến Hưng
Browse files

Update file shop.html

parent a06c5700
package com.demo.controller;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet( urlPatterns = {"/login/hello"})
public class HelloController extends HttpServlet {
private static final long serialVersionUID = 1L;
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String userName = request.getParameter("userName").trim();
if(userName == null || "".equals(userName)){
<<<<<<< HEAD
userName = "Phat112121";
=======
userName = "hung";
>>>>>>> origin/hunglt
}
String greetings = "Hello " + userName;
response.setContentType("text/plain");
response.getWriter().write(greetings);
}
}
File added
......@@ -107,4 +107,6 @@
.carddiv{
width: 80% !important ;
}
}
\ No newline at end of file
}
......@@ -176,7 +176,7 @@
</div>
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
<a class="scroll-to-top rounded bg-danger" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
......
......@@ -170,85 +170,85 @@
class="fas fa-download fa-sm text-white-50"></i>Import</a>
</div>
</div>
<div class=" row d-flex align-items-stretch justify-content-center mt-3 mx-4" >
<div class=" row d-flex align-items-stretch justify-content-center mt-3 mx-4">
<!-- <div class="row"> -->
<div class ="carddiv" style="width: 18.5%;">
<div class="carddiv" style="width: 18.5%;">
<div class=" row card shadow py-2 ">
<div class="row no-gutters align-items-center my-2 mx-2 ">
<div class="col-auto ">
<a href="#" class="btn btn-dark btn-circle disable">
<i class="fa fa-shopping-bag"></i>
</a>
</div>
<div class="h6 font-weight-bold text-gray-800 ml-2">
<div>12000</div>
<div>Shops</div>
<div class="row no-gutters align-items-center my-2 mx-2 ">
<div class="col-auto ">
<a href="#" class="btn btn-dark btn-circle disable">
<i class="fa fa-shopping-bag"></i>
</a>
</div>
<div class="h6 font-weight-bold text-gray-800 ml-2">
<div>12000</div>
<div>Shops</div>
</div>
</div>
</div>
</div>
<div class ="carddiv" style="width: 19%;">
<div class="carddiv" style="width: 19%;">
<div class=" row card shadow py-2">
<div class="row no-gutters align-items-center my-2 mx-2">
<div class="col-auto">
<a href="#" class="btn btn-success btn-circle">
<i class="fa fa-tag"></i>
</a>
</div>
<div class="h6 ml-2 font-weight-bold text-success ">
<div>93020</div>
<div>Products</div>
<div class="row no-gutters align-items-center my-2 mx-2">
<div class="col-auto">
<a href="#" class="btn btn-success btn-circle">
<i class="fa fa-tag"></i>
</a>
</div>
<div class="h6 ml-2 font-weight-bold text-success ">
<div>93020</div>
<div>Products</div>
</div>
</div>
</div>
</div>
<div class ="carddiv" style="width: 18.5%;">
<div class="carddiv" style="width: 18.5%;">
<div class=" row card shadow py-2">
<div class="row no-gutters align-items-center mx-2 my-2">
<div class=" col-auto">
<a href="#" class="btn btn-warning btn-circle">
<i class="fa fa-eye"></i>
</a>
</div>
<div class="h6 ml-2 font-weight-bold text-warning">
<div>25626</div>
<div>Views</div>
<div class="row no-gutters align-items-center mx-2 my-2">
<div class=" col-auto">
<a href="#" class="btn btn-warning btn-circle">
<i class="fa fa-eye"></i>
</a>
</div>
<div class="h6 ml-2 font-weight-bold text-warning">
<div>25626</div>
<div>Views</div>
</div>
</div>
</div>
</div>
<div class ="carddiv" style="width: 18.5%;">
<div class="carddiv" style="width: 18.5%;">
<div class=" row card shadow py-2">
<div class="row no-gutters align-items-center mx-2 my-2">
<div class="col-auto">
<a href="#" class="btn btn-pink btn-circle">
<i class="fa fa-heart"></i>
</a>
</div>
<div class="h6 font-weight-bold text-pink ml-1">
<div>32324</div>
<div>Favorited</div>
<div class="row no-gutters align-items-center mx-2 my-2">
<div class="col-auto">
<a href="#" class="btn btn-pink btn-circle">
<i class="fa fa-heart"></i>
</a>
</div>
<div class="h6 font-weight-bold text-pink ml-1">
<div>32324</div>
<div>Favorited</div>
</div>
</div>
</div>
</div>
<div class ="carddiv" style="width: 18.5%;">
<div class="carddiv" style="width: 18.5%;">
<div class="card row shadow py-2 ">
<div class="row no-gutters align-items-center mx-2 my-2">
<div class="col-auto">
<a href="#" class="btn btn-purple btn-circle">
<i class="fa fa-thumbs-up"></i>
</a>
</div>
<div class="h6 font-weight-bold text-purple ml-2">
<div>443233</div>
<div>Tried</div>
</div>
<div class="row no-gutters align-items-center mx-2 my-2">
<div class="col-auto">
<a href="#" class="btn btn-purple btn-circle">
<i class="fa fa-thumbs-up"></i>
</a>
</div>
<div class="h6 font-weight-bold text-purple ml-2">
<div>443233</div>
<div>Tried</div>
</div>
</div>
</div>
</div>
......@@ -267,27 +267,100 @@
</div>
<div class="p-2 m-3 border">
<form class="m-4">
<div class="row justify-content-around ">
<div class="d-flex col-4 bg-dark">
<div>
<form class="m-3">
<div class="row justify-content-start p-1 ">
<div class="d-flex col-sm-12 col-lg-6">
<div class="mr-4 p-2 col-2">
<label>Shop name</label>
</div>
<div>
<input type="text" class="form-control">
</div>
<div class="col-6 ">
<input type="text" class="form-control">
</div>
</div>
<div class=" d-flex col-4 bg-success ">
<div>
<div class=" d-flex col-sm-12 col-lg-6 ">
<div class="mr-4 p-2 col-2 ">
<label>Categories</label>
</div>
<div>
<input type="text" class="form-control">
</div>
<div class="dropdown col-6 ">
<button class="btn btn-secondary dropdown-toggle col-12 text-left " type="button"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false" >
All(120)
</button>
<div class="dropdown-menu col-12" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Women(60)</a>
<a class="dropdown-item" href="#">Men(30)</a>
<a class="dropdown-item" href="#">Girls(20)</a>
<a class="dropdown-item" href="#">Boys(10)</a>
</div>
</div>
</div>
<div class="d-flex col-sm-12 col-lg-6">
<div class="mr-4 p-2 col-2">
<label>Location</label>
</div>
<div class="dropdown col-6 ">
<button class="btn btn-secondary dropdown-toggle col-12 text-left" type="button"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
All(100)
</button>
<div class="dropdown-menu col-12" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Da Nang(50)</a>
<a class="dropdown-item" href="#">Ha Noi (20)</a>
<a class="dropdown-item" href="#">Ho Chi Minh(20)</a>
<a class="dropdown-item" href="#">Hue (10)</a>
</div>
</div>
</div>
<div class=" d-flex col-sm-12 col-lg-6 ">
<div class="mr-4 p-2 col-2 ">
<label>Sort</label>
</div>
<div class="dropdown col-6 ">
<button class="btn btn-secondary dropdown-toggle col-12 text-left" type="button"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
Newest to oldest
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Newest to oldest</a>
<a class="dropdown-item" href="#">Oldest to newest</a>
<a class="dropdown-item" href="#">Top viewed</a>
<a class="dropdown-item" href="#">Top tried</a>
<a class="dropdown-item" href="#">Top favorited</a>
</div>
</div>
</div>
<div class=" d-flex col-sm-12 col-lg-6 ">
<div class="mr-4 p-2 col-2 ">
<label>Status</label>
</div>
<div class="dropdown col-6 ">
<button class="btn btn-secondary dropdown-toggle col-12 text-left" type="button"
id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false">
All(100)
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">All(100)</a>
<a class="dropdown-item" href="#">Active(50)</a>
<a class="dropdown-item" href="#">Pending(20))</a>
<a class="dropdown-item" href="#">Rejected(14)</a>
<a class="dropdown-item" href="#">Suspended(14))</a>
<a class="dropdown-item" href="#">Blocked(10)</a>
</div>
</div>
</div>
</div>
<div class="form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
......@@ -480,7 +553,7 @@
</div>
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
<a class="scroll-to-top rounded btn-purple" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
......@@ -509,7 +582,6 @@
<!-- Page level custom scripts -->
<script src="js/demo/datatables-demo.js"></script>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment