Ajout de HelloFresh
This commit is contained in:
@@ -9,26 +9,113 @@
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/administration.styles.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
|
||||
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
|
||||
|
||||
|
||||
<link rel="stylesheet" href="~/lib/datatable/datatables.min.css" />
|
||||
</head>
|
||||
<body id="page-top">
|
||||
|
||||
<nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">
|
||||
<div class="container-fluid">
|
||||
<!-- Logo -->
|
||||
<a class="navbar-brand d-flex align-items-center" href="/" style="gap: 8px;">
|
||||
<img src="~/images/logo.png" alt="Accueil" style="height: 45px; width: 45px;">
|
||||
</a>
|
||||
|
||||
@RenderBody()
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
||||
@* <li class="nav-item">
|
||||
<a class="nav-link titleSidebar" style="cursor: pointer" onclick="window.location.href = '/Finances'" aria-current="page" href="#">Finances</a>
|
||||
</li> *@
|
||||
<li class="nav-item dropdown">
|
||||
<a href="javascript:void(0)" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
Hello Fresh
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a class="dropdown-item" onclick="window.location.href = '/HelloFresh'">Choix des recettes</a></li>
|
||||
<li><a class="dropdown-item" onclick="window.location.href = '/HelloFresh/ingredients'">Ingrédients</a></li>
|
||||
<li><a class="dropdown-item" onclick="window.location.href = '/HelloFresh/historique'">Historique</a></li>
|
||||
<li><a class="dropdown-item" onclick="window.location.href = '/HelloFresh/cuisine'">Cuisine</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- Menu utilisateur à droite -->
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item dropdown no-arrow">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button"
|
||||
data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="mr-2 d-none d-lg-inline text-gray-600 small">
|
||||
@{
|
||||
var userName = Context.Session.GetString("UserName");
|
||||
}
|
||||
@userName
|
||||
</span>
|
||||
<img class="img-profile rounded-circle" src="/images/undraw_profile.svg">
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-right shadow animated--grow-in"
|
||||
aria-labelledby="userDropdown">
|
||||
<a class="dropdown-item" href="#">
|
||||
<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>
|
||||
Profile
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
<i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>
|
||||
Settings
|
||||
</a>
|
||||
<a class="dropdown-item" href="#">
|
||||
<i class="fas fa-list fa-sm fa-fw mr-2 text-gray-400"></i>
|
||||
Activity Log
|
||||
</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<form asp-controller="Connections" asp-action="Logout" method="post" class="dropdown-item p-0 m-0">
|
||||
@Html.AntiForgeryToken()
|
||||
<button type="submit" class="btn w-100 text-start">
|
||||
<i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i> Logout
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="main-wrapper">
|
||||
@* <div class="sidebar">
|
||||
<h2 class="titleSidebar" style="cursor: pointer" onclick="window.location.href = '/Finances'">Finances</h2>
|
||||
<h2 class="titleSidebar">Hello Fresh</h2>
|
||||
<ul class="ulSidebar">
|
||||
<li class="subTitle" onclick="window.location.href = '/HelloFresh'">Recettes</li>
|
||||
<li class="subTitle" onclick="window.location.href = '/HelloFresh/ingredients'">Ingrédients</li>
|
||||
</ul>
|
||||
|
||||
@* <img class="logoSidebar" onclick="window.location.href = '/Finances'" src="~/images/cardLogo.png" />
|
||||
<img class="logoSidebar" onclick="window.location.href = '/HelloFresh'" src="~/images/HFLogo.png" />
|
||||
</div> *@
|
||||
|
||||
<div class="content">
|
||||
@RenderBody()
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
<!-- Page level plugins -->
|
||||
<script src="~/lib/chart.js/Chart.min.js"></script>
|
||||
|
||||
<!-- Page level custom scripts -->
|
||||
<script src="~/js/demo/chart-area-demo.js"></script>
|
||||
<script src="~/js/demo/chart-pie-demo.js"></script>
|
||||
<script src="~/js/demo/chart-bar-demo.js"></script>
|
||||
<script src="~/lib/jquery-easing/jquery.easing.js"></script>
|
||||
|
||||
<!-- ✅ Popper.js -->
|
||||
<script src="https://unpkg.com/@@popperjs/core@2"></script>
|
||||
|
||||
<!-- ✅ Tippy.js -->
|
||||
<script src="https://unpkg.com/tippy.js@6/dist/tippy-bundle.umd.min.js"></script>
|
||||
|
||||
<script src="~/js/api.js" asp-append-version="true"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
<!-- Select2 -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js" crossorigin="anonymous"></script>
|
||||
<script src="~/lib/datatable/datatables.min.js" ></script>
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user