2022-08-11 22:26:25 +02:00
<!DOCTYPE html>
< html lang = "en" > < head >
< meta http-equiv = "content-type" content = "text/html; charset=UTF-8" >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta name = "description" content = "" >
< meta name = "author" content = "Mark Otto, Jacob Thornton, and Bootstrap contributors" >
< meta name = "generator" content = "Hugo 0.101.0" >
< title > Dashboard Template · Bootstrap v5.2< / title >
< link rel = "canonical" href = "https://getbootstrap.com/docs/5.2/examples/dashboard/" >
< link href = "../css/bootstrap.min.css" rel = "stylesheet" integrity = "sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin = "anonymous" >
<!-- Favicons -->
< link rel = "apple-touch-icon" href = "https://getbootstrap.com/docs/5.2/assets/img/favicons/apple-touch-icon.png" sizes = "180x180" >
< link rel = "icon" href = "https://getbootstrap.com/docs/5.2/assets/img/favicons/favicon-32x32.png" sizes = "32x32" type = "image/png" >
< link rel = "icon" href = "https://getbootstrap.com/docs/5.2/assets/img/favicons/favicon-16x16.png" sizes = "16x16" type = "image/png" >
< link rel = "manifest" href = "https://getbootstrap.com/docs/5.2/assets/img/favicons/manifest.json" >
< link rel = "mask-icon" href = "https://getbootstrap.com/docs/5.2/assets/img/favicons/safari-pinned-tab.svg" color = "#712cf9" >
< link rel = "icon" href = "https://getbootstrap.com/docs/5.2/assets/img/favicons/favicon.ico" >
< meta name = "theme-color" content = "#712cf9" >
< script src = "https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js" > < / script >
< style >
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
.b-example-divider {
height: 3rem;
background-color: rgba(0, 0, 0, .1);
border: solid rgba(0, 0, 0, .15);
border-width: 1px 0;
box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}
.b-example-vr {
flex-shrink: 0;
width: 1.5rem;
height: 100vh;
}
.bi {
vertical-align: -.125em;
fill: currentColor;
}
.nav-scroller {
position: relative;
z-index: 2;
height: 2.75rem;
overflow-y: hidden;
}
.nav-scroller .nav {
display: flex;
flex-wrap: nowrap;
padding-bottom: 1rem;
margin-top: -1px;
overflow-x: auto;
text-align: center;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}
< / style >
<!-- Custom styles for this template -->
< link href = "../css/dashboard.css" rel = "stylesheet" >
< link href = "../css/style.css" rel = "stylesheet" >
< header class = "navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow" >
< a class = "navbar-brand col-md-3 col-lg-2 me-0 px-3 fs-6" href = "/html/users.html" > < - Retour à la liste < / a >
< button class = "navbar-toggler position-absolute d-md-none collapsed" type = "button" data-bs-toggle = "collapse" data-bs-target = "#sidebarMenu" aria-controls = "sidebarMenu" aria-expanded = "false" aria-label = "Toggle navigation" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
< div class = "navbar-nav" >
< div class = "nav-item text-nowrap" >
< a class = "nav-link px-3" id = "signout" href = "#" > Deconnecté< / a >
< / div >
< / div >
< / header >
< div class = "container-fluid" >
< div class = "row" >
< nav id = "sidebarMenu" class = "col-md-3 col-lg-2 d-md-block bg-light sidebar collapse" >
< div class = "position-sticky pt-3 sidebar-sticky" >
< ul class = "nav flex-column" >
< li class = "nav-item" >
< a class = "nav-link active" aria-current = "page" href = "/html/users.html" >
< svg xmlns = "http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" class = "feather feather-home align-text-bottom" aria-hidden = "true" > < path d = "M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" > < / path > < polyline points = "9 22 9 12 15 12 15 22" > < / polyline > < / svg >
Utilisateurs
< / a >
< / li >
< / ul >
< / div >
< / nav >
< main class = "col-md-9 ms-sm-auto col-lg-10 px-md-4" >
2022-08-12 22:31:04 +02:00
< div class = "alert alert-warning alert-dismissible hidden" id = "notModifiedAlert" role = "alert" >
< div > Utilisateur non modifié< / div >
< button type = "button" class = "btn-close" data-bs-dismiss = "alert" aria-label = "Close" > < / button >
< / div >
2022-08-14 16:47:24 +02:00
< div class = "alert alert-danger alert-dismissible hidden" id = "notAuthorizedAlert" role = "alert" >
2022-08-12 22:31:04 +02:00
< div > Action non autorisée< / div >
< button type = "button" class = "btn-close" data-bs-dismiss = "alert" aria-label = "Close" > < / button >
< / div >
< div class = "alert alert-danger alert-dismissible hidden" id = "forbiddenAlert" role = "alert" >
< div > Action interdite< / div >
< button type = "button" class = "btn-close" data-bs-dismiss = "alert" aria-label = "Close" > < / button >
< / div >
< div class = "alert alert-danger alert-dismissible hidden" id = "internalServerAlert" role = "alert" >
< div > Erreur interne du serveur< / div >
< button type = "button" class = "btn-close" data-bs-dismiss = "alert" aria-label = "Close" > < / button >
< / div >
< div class = "alert alert-danger alert-dismissible hidden" id = "unknownAlert" role = "alert" >
< div > Erreur inconnue< / div >
< button type = "button" class = "btn-close" data-bs-dismiss = "alert" aria-label = "Close" > < / button >
< / div >
2022-08-11 22:26:25 +02:00
2022-08-12 21:40:29 +02:00
2022-08-11 22:26:25 +02:00
< div class = "d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom" >
< h1 class = "h2" > Utilisateur< / h1 >
< / div >
< div class = "input-group mb-3" >
< span class = "input-group-text" id = "pseudoUpdate" > Pseudo< / span >
2022-08-12 21:40:29 +02:00
< input id = "pseudoUpdateInput" type = "text" class = "form-control" placeholder = "Pseudo" aria-label = "Pseudo" aria-describedby = "pseudoUpdate" >
2022-08-11 22:26:25 +02:00
< / div >
< div class = "input-group mb-3" >
< span class = "input-group-text" id = "passwordUpdate" > Mot de passe< / span >
< input id = "passwordUpdateInput" type = "password" class = "form-control" placeholder = "Mot de passe" aria-label = "Mot de passe" aria-describedby = "passwordUpdate" >
< / div >
< div class = "input-group mb-3" >
< span class = "input-group-text" id = "nameUpdate" > Nom< / span >
< input id = "nameUpdateInput" type = "text" class = "form-control" placeholder = "Nom" aria-label = "Nom" aria-describedby = "nameUpdate" >
< / div >
< div class = "input-group mb-3" >
< span class = "input-group-text" id = "firstNameUpdate" > Prenom< / span >
< input id = "firstNameUpdateInput" type = "text" class = "form-control" placeholder = "Prenom" aria-label = "Prenom" aria-describedby = "firstNameUpdate" >
< / div >
< div class = "input-group mb-3" >
< span class = "input-group-text" id = "emailUpdate" > Email< / span >
< input id = "emailUpdateInput" type = "text" class = "form-control" placeholder = "Email" aria-label = "Email" aria-describedby = "emailUpdate" >
< / div >
2022-08-12 22:17:39 +02:00
< div class = "input-group mb-3" >
< span class = "input-group-text" id = "birthUpdate" > Date de naissance< / span >
< input id = "birthUpdateInput" type = "date" class = "form-control" placeholder = "Date de naissance" aria-label = "Date de naissance" aria-describedby = "birthdateUpdate" >
< / div >
2022-08-11 22:26:25 +02:00
< div class = "input-group mb-3" >
< label class = "input-group-text" for = "rolesSelector" > Roles< / label >
< select class = "form-select" id = "rolesSelector" >
< option value = "Admin" > Administrateur< / option >
2022-08-12 21:40:29 +02:00
< option value = "User" selected > Utilisateur< / option >
2022-08-11 22:26:25 +02:00
< / select >
< / div >
2022-08-12 21:40:29 +02:00
2022-08-11 22:26:25 +02:00
< div class = "d-grid gap-2 col-6 mx-auto" >
2022-08-12 22:17:39 +02:00
< button type = "button" class = "btn btn-success" id = "addUser" > Ajouter l'utilisateur< / button >
2022-08-12 21:40:29 +02:00
2022-08-11 22:26:25 +02:00
< / div >
2022-08-12 21:40:29 +02:00
2022-08-11 22:26:25 +02:00
< / main >
< / div >
< / div >
< script src = "../js/bootstrap.bundle.min.js" integrity = "sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa" crossorigin = "anonymous" > < / script >
< script src = "../js/feather.min.js" integrity = "sha384-uO3SXW5IuS1ZpFPKugNNWqTZRRglnUJK6UAZ/gxOX80nxEkN9NcGZTftn6RzhGWE" crossorigin = "anonymous" > < / script >
< script src = "../js/config.js" > < / script >
< script src = "../js/library.js" > < / script >
2022-08-12 21:40:29 +02:00
< script src = "../js/addUser.js" > < / script >
2022-08-11 22:26:25 +02:00
< / body > < / html >