Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
update folder common
Browse files Browse the repository at this point in the history
  • Loading branch information
bakaqc committed Jan 22, 2024
1 parent ad9181a commit 617c655
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 33 deletions.
11 changes: 11 additions & 0 deletions src/main/webapp/view/common/_footer.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<footer class="bg-white sticky-footer">
<div class="container my-auto">
<div class="text-center my-auto copyright">
<h6>Copyright © Sale Dock 2024</h6>

<a href="https://github.com/hardingadonis/saledock" target="_blank">
<img class="img-fluid" src="https://contrib.rocks/image?repo=hardingadonis/saledock" style="transform: scale(0.70);">
</a>
</div>
</div>
</footer>
3 changes: 3 additions & 0 deletions src/main/webapp/view/common/_goback.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a class="border rounded d-inline scroll-to-top" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
26 changes: 26 additions & 0 deletions src/main/webapp/view/common/_nav.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<nav class="navbar navbar-expand bg-white shadow mb-4 topbar static-top navbar-light">
<div class="container-fluid">
<button class="btn btn-link d-md-none rounded-circle me-3" id="sidebarToggleTop" type="button">
<i class="fas fa-bars"></i>
</button>

<ul class="navbar-nav flex-nowrap ms-auto">
<li class="nav-item dropdown no-arrow">
<div class="nav-item dropdown no-arrow">
<a class="dropdown-toggle nav-link" aria-expanded="false" data-bs-toggle="dropdown" href="#">
<span class="d-none d-lg-inline me-2 text-gray-600 small">
Group 1
</span>
<img class="border rounded-circle img-profile" src="assets/img/avatars/employee.png">
</a>

<div class="dropdown-menu shadow dropdown-menu-end animated--grow-in">
<a class="dropdown-item" href="#">
<i class="fas fa-sign-out-alt fa-sm fa-fw me-2 text-gray-400"></i>&nbsp;Logout
</a>
</div>
</div>
</li>
</ul>
</div>
</nav>
48 changes: 48 additions & 0 deletions src/main/webapp/view/common/_sidenav.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<nav class="navbar align-items-start sidebar sidebar-dark accordion bg-gradient-primary p-0 navbar-dark">
<div class="container-fluid d-flex flex-column p-0">
<a class="navbar-brand d-flex justify-content-center align-items-center sidebar-brand m-0" href="#">
<div class="sidebar-brand-icon rotate-n-15">
<i class="la la-balance-scale"></i>
</div>
<div class="sidebar-brand-text mx-3">
<span>SALE DOCK</span>
</div>
</a>

<hr class="sidebar-divider my-0">

<ul class="navbar-nav text-light" id="accordionSidebar">
<li class="nav-item">
<a class="nav-link" href="index.html">
<i class="fas fa-tachometer-alt"></i>
<span>B?ng ?i?u khi?n</span>
</a>
</li>

<li class="nav-item">
<a class="nav-link" href="customer.html" title="Qu?n lý khách hàng">
<i class="fas fa-table"></i>
<span>Khách hàng</span>
</a>

<a class="nav-link" href="product.html" title="Qu?n lí s?n ph?m">
<i class="fas fa-table"></i>
<span data-bs-toggle="tooltip" data-bss-tooltip="" data-bs-placement="right" title="Qu?n lí s?n ph?m">
S?n ph?m
</span>
</a>

<a class="nav-link" href="order.html" title="Qu?n lí ??n hàng">
<i class="fas fa-table"></i>
<span data-bs-toggle="tooltip" data-bss-tooltip="" data-bs-placement="right" title="Qu?n lí ??n hàng">
??n hàng
</span>
</a>
</li>
</ul>

<div class="text-center d-none d-md-inline">
<button class="btn rounded-circle border-0" id="sidebarToggle" type="button"></button>
</div>
</div>
</nav>
11 changes: 0 additions & 11 deletions src/main/webapp/view/common/footer.jsp

This file was deleted.

11 changes: 0 additions & 11 deletions src/main/webapp/view/common/nav.jsp

This file was deleted.

11 changes: 0 additions & 11 deletions src/main/webapp/view/common/sidenav.jsp

This file was deleted.

0 comments on commit 617c655

Please sign in to comment.