forked from v4l3n71n/covas-bo
228 lines
10 KiB
HTML
228 lines
10 KiB
HTML
<!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 href="https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.css" rel="stylesheet">
|
|
|
|
|
|
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css" type="text/css">
|
|
<link href="../css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
|
|
<link href="https://cdn.jsdelivr.net/npm/@yaireo/tagify/dist/tagify.css" rel="stylesheet" type="text/css" />
|
|
|
|
<!-- 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://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.js"></script>
|
|
<script src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/@yaireo/tagify"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/@yaireo/tagify/dist/tagify.polyfills.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" 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>
|
|
<li class="nav-item">
|
|
<a class="nav-link active" aria-current="page" href="/html/events.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>
|
|
Évènements
|
|
</a>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4">
|
|
|
|
<div class="alert alert-warning alert-dismissible hidden" id="notModifiedAlert" role="alert">
|
|
<div>Utilisateur non ajouté, car le pseudo ou l'adresse mail existe déjà</div>
|
|
<button type="button" class="btn-close" aria-label="Close"></button>
|
|
</div>
|
|
|
|
<div class="alert alert-success alert-dismissible hidden" id="createUserAlert" role="alert">
|
|
<div>Vous avez créée l'utilisateur <span id="displayUser"></span></div>
|
|
<button type="button" class="btn-close" aria-label="Close"></button>
|
|
</div>
|
|
|
|
<div class="alert alert-warning alert-dismissible hidden" id="usernameExistAlert" role="alert">
|
|
<div>Pseudo déjà pris</div>
|
|
<button type="button" class="btn-close" aria-label="Close"></button>
|
|
</div>
|
|
|
|
<div class="alert alert-warning alert-dismissible hidden" id="emailExistAlert" role="alert">
|
|
<div>Email déjà pris</div>
|
|
<button type="button" class="btn-close" aria-label="Close"></button>
|
|
</div>
|
|
|
|
<div class="alert alert-danger alert-dismissible hidden" id="notAuthorizedAlert" role="alert">
|
|
<div>Action non autorisée</div>
|
|
<button type="button" class="btn-close" 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" 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" aria-label="Close"></button>
|
|
</div>
|
|
|
|
<div class="alert alert-danger alert-dismissible hidden" id="syntaxAlert" role="alert">
|
|
<div>Erreur d'entrée dans le formulaire</div>
|
|
<button type="button" class="btn-close" 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" aria-label="Close"></button>
|
|
</div>
|
|
|
|
|
|
<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">Évènement</h1>
|
|
</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="Pseudo" aria-describedby="nameUpdate">
|
|
</div>
|
|
|
|
<div class="input-group mb-3">
|
|
<span class="input-group-text" id="placeUpdate">Lieu</span>
|
|
<div id="placeUpdateInput"></div>
|
|
</div>
|
|
|
|
<div class="input-group mb-3">
|
|
<span class="input-group-text" id="organizersUpdate">Organisateurs</span>
|
|
<input id="organizersUpdateInput" type="text" class="form-control" placeholder="Organisateurs" aria-label="Organisateurs" aria-describedby="organizersUpdate">
|
|
</div>
|
|
|
|
<div class="input-group mb-3">
|
|
<span class="input-group-text" id="start_dateUpdate">Date de début de l'évènement</span>
|
|
<input id="start_dateUpdateInput" type="datetime-local" class="form-control" placeholder="Date de début de l'évènement" aria-label="Date de début de l'évènement" aria-describedby="start_dateUpdate">
|
|
</div>
|
|
|
|
<div class="input-group mb-3">
|
|
<span class="input-group-text" id="end_dateUpdate">Date de fin de l'évènement</span>
|
|
<input id="end_dateUpdateInput" type="datetime-local" class="form-control" placeholder="Date de fin de l'évènement" aria-label="Date de fin de l'évènement" aria-describedby="end_dateUpdate">
|
|
</div>
|
|
|
|
|
|
<div class="d-grid gap-2 col-6 mx-auto">
|
|
<button type="button" class="btn btn-success" id="addUser">Ajouter l'évènement</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</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>
|
|
<script src="../js/geosearch.js"></script>
|
|
<script src="../js/addItem.js"></script>
|
|
<script src="../js/tags.js"></script>
|
|
|
|
</body></html> |