Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @using QLBH_MVC.Helpers
- <!DOCTYPE html>
- <html>
- <head runat="server">
- <title>Website bán hàng</title>
- <!-- Bootstrap Core CSS -->
- <link rel="stylesheet" href="~/assets/css/bootstrap.min.css" />
- <script src="~/Scripts/jquery-2.1.4.min.js"></script>
- <script src="~/assets/bootstrap-3.3.4-dist/js/bootstrap.min.js"></script>
- <!-- Customizable CSS giao diện chính của web-->
- <link rel="stylesheet" href="~/assets/css/main.css" />
- <link rel="stylesheet" href="~/assets/css/owl.carousel.css" />
- <link rel="stylesheet" href="~/assets/css/owl.transitions.css" />
- <link rel="stylesheet" href="~/assets/css/animate.min.css" />
- <link href="~/assets/css/main.css" rel="stylesheet" />
- <link href="~/assets/css/owl.carousel.css" rel="stylesheet" />
- <link href="~/assets/css/owl.transitions.css" rel="stylesheet" />
- <link href="~/assets/css/animate.min.css" rel="stylesheet" />
- <!-- Màu cho trang web -->
- @*<link href="assets/css/orange.css" rel="stylesheet" />--%>*@
- @*<%--<link href="assets/css/dark-green.css" rel="stylesheet" />--%>
- <%--<link href="assets/css/navy.css" rel="stylesheet" />--%>*@
- @* <%--<link href="assets/css/green.css" rel="stylesheet" />--%>
- <%--<link href="assets/css/red.css" rel="stylesheet" />--%>*@
- <link href="~/assets/css/blue.css" rel="stylesheet" />
- <!-- Demo Purpose Only. Should be removed in production -->
- <link href="~/assets/css/config.css" rel="stylesheet" />
- <!-- Fonts -->
- <link href="~/fonts.googleapis.com/OpenSans.css" rel="stylesheet" />
- <!-- Icons/Glyphs -->
- <link href="~/assets/css/font-awesome.min.css" rel="stylesheet" />
- <link href="~/assets/zontal-admin/css/style.css" rel="stylesheet" />
- <!-- Favicon logo tab brower-->
- <link rel="shortcut icon" href="~/assets/images/icon.ico" />
- @RenderSection("css", required: false)
- </head>
- <body>
- <div class="wrapper">
- <!-- ============================================================= TOP NAVIGATION ============================================================= -->
- <nav class="top-bar animate-dropdown">
- <div class="container">
- <div class="col-xs-12 col-sm-6 no-margin">
- </div>
- <!-- /.col -->
- <div class="col-xs-12 col-sm-6 no-margin">
- <ul class="right">
- @if (CurrentContext.IsLogged() == false)
- {
- <li><a href="@Url.Action("Register", "Account")">Đăng Ký</a></li>
- <li><a href="@Url.Action("Login", "Account")">Đăng Nhập</a></li>
- }
- else
- {
- if (CurrentContext.GetCurUser().Permission == 1)
- {
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
- <i class="fa fa-user"></i>@CurrentContext.GetCurUser().Name </a>
- <ul class="dropdown-menu" role="menu">
- <li><a href="@Url.Action("Dashboard", "Admin")"><i class="fa fa-user"></i>Trang quản lý</a></li>
- <li class="divider"></li>
- <li>
- <a href="@Url.Action("Logout", "Account")">
- <i class="fa fa-sign-out"></i>
- Thoát
- </a>
- </li>
- </ul>
- </li>
- }
- else
- {
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
- <i class="fa fa-user"></i>@QLBH_MVC.Helpers.CurrentContext.GetCurUser().Name </a>
- <ul class="dropdown-menu" role="menu">
- <li><a href="@Url.Action("Profile", "Account")"><i class="fa fa-user"></i>Trang cá nhân</a></li>
- <li><a href="@Url.Action("ViewAllOrder", "Account")"><i class="fa fa-shopping-cart"></i> Lịch sử mua hàng</a></li>
- <li class="divider"></li>
- <li>
- <a href="@Url.Action("Logout", "Account")">
- <i class="fa fa-sign-out"></i>
- Thoát
- </a>
- </li>
- </ul>
- </li>
- }
- }
- </ul>
- </div>
- </div>
- <!-- /.container -->
- </nav>
- <!-- /.top-bar -->
- <!-- HEADER END-->
- <div class="navbar navbar-inverse set-radius-zero">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <img src="~/assets/zontal-admin/img/logo.png" />
- </div>
- <div class="left-div">
- <div class="user-settings-wrapper">
- </div>
- </div>
- </div>
- </div>
- <!-- LOGO HEADER END-->
- <section class="menu-section">
- <div class="container">
- <div class="row">
- <div class="col-md-12">
- <div class="navbar-collapse collapse ">
- <ul id="menu-top" class="nav navbar-nav navbar-right">
- <li><a class="menu-top-active" href="@Url.Action("Manage_Categories", "Admin")">Quản lý danh mục</a></li>
- <li><a href="@Url.Action("Manage_Producers", "Admin")">Quản lý nhà sản xuất</a></li>
- <li><a href="@Url.Action("Manage_Products", "Admin")">Quản lý sản phẩm</a></li>
- <li><a href="@Url.Action("Manage_Orders", "Admin")">Quản lý đơn hàng</a></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </section>
- @RenderBody()
- <footer id="footer" class="color-bg">
- <!--Button Scroll On Top, class ScrollToTop in main.css-->
- <a href="#" class="scrollToTop">
- <img src="~/Imgs/Arrow-Up.png" /></a>
- <!--end Button scroll on top--->
- <div class="copyright-bar">
- <div class="container">
- <center><b><font color="white">© Bản quyền thuộc về Tập đoàn thương mại điện tử TKS</font></b></center>
- </div>
- <!-- /.copyright-bar -->
- </div>
- </footer>
- <!-- /#footer -->
- <!-- JavaScripts placed at the end of the document so the pages load faster -->
- @RenderSection("js", required: false)
- <!-- For demo purposes – can be removed on production -->
- <script src="~/switchstylesheet/switchstylesheet.js"></script>
- <script>
- $(document).ready(function () {
- $(".changecolor").switchstylesheet({ seperator: "color" });
- $('.show-theme-options').click(function () {
- $(this).parent().toggleClass('open');
- return false;
- });
- });
- $(window).bind("load", function () {
- $('.show-theme-options').delay(2000).trigger('click');
- });
- //function scroll on top button
- $(window).scroll(function () {
- if ($(this).scrollTop() > 500) {
- $('.scrollToTop').fadeIn();
- } else {
- $('.scrollToTop').fadeOut();
- }
- });
- //Click event to scroll to top
- $('.scrollToTop').click(function () {
- $('html, body').animate({ scrollTop: 0 }, 800);
- return false;
- });
- //end function scroll on top button
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement