page modification profile terminer

This commit is contained in:
Yasder5 2026-01-27 19:29:38 +01:00
parent c8c9bbdb87
commit 9c0ad5ae77
3 changed files with 9 additions and 4 deletions

View file

@ -113,4 +113,10 @@
include('../app/views/partials/footer.php'); include('../app/views/partials/footer.php');
} }
public function admin(){
include('../app/views/admin.php');
}
} }

View file

@ -1,4 +1,3 @@
<? php
<!DOCTYPE html> <!DOCTYPE html>
<html lang="fr"> <html lang="fr">
<head> <head>
@ -6,14 +5,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>Dashboard - Folliow Admin</title> <title>Dashboard - Folliow Admin</title>
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/style.min.css" rel="stylesheet" /> <link href="https://cdn.jsdelivr.net/npm/simple-datatables@7.1.2/dist/style.min.css" rel="stylesheet" />
<link href="css/styles.css" rel="stylesheet" /> <link href="assests/css/styles.css" rel="stylesheet" />
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script> <script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
</head> </head>
<body class="sb-nav-fixed"> <body class="sb-nav-fixed">
<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark"> <nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
<!-- Navbar Brand--> <!-- Navbar Brand-->
<a class="navbar-brand ps-3" href="index.html"><img src="./img/Logo-Wordmark.svg" alt="Logo du site" width="150px"></a> <a class="navbar-brand ps-3" href="index.html"><img src="assests/img/Logo-Wordmark.svg" alt="Logo du site" width="150px"></a>
<!-- Sidebar Toggle--> <!-- Sidebar Toggle-->
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button> <button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>

View file

@ -10,7 +10,7 @@
<h2 class="visually-hidden">Les 4 derniers articles</h2> <h2 class="visually-hidden">Les 4 derniers articles</h2>
<div class="row mb-2"> <div class="row mb-2">
<?php <?php
foreach($arrProjectToDiplay as $objProject){ foreach($arrProjectToDisplay as $objProject){
include("../app/views/partials/preview.php"); include("../app/views/partials/preview.php");
} }
?> ?>