Ajout de la barre de navigation
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -14,10 +14,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row flex-nowrap">
|
|
||||||
{% include "parts/menu_application.html" %}
|
{% include "parts/menu_application.html" %}
|
||||||
|
<div class="row flex-nowrap vh-100">
|
||||||
{% include "parts/navigation-ordinateur.html" %}
|
{% include "parts/navigation-ordinateur.html" %}
|
||||||
{% comment %} {% include "parts/navigation-mobile.html" %} {% endcomment %}
|
|
||||||
<div class="col">
|
<div class="col">
|
||||||
{% block "contenu" %} {% endblock %}
|
{% block "contenu" %} {% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,8 +1,21 @@
|
|||||||
<div class="col-1 bg-danger border d-flex flex-column vh-100 pt-5 sticky-top">
|
{% load static %}
|
||||||
<a href="{{ LIEN_SIRH }}" class="text-white text-center fw-bold text-decoration-none mb-4" style="font-size:1.4em">
|
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
||||||
<i class="bi bi-people-fill fs-1 d-block"></i>SIRH
|
<div class="container-fluid">
|
||||||
|
<a class="navbar-brand" href="#">
|
||||||
|
<img src="{% static 'images/cerfig.jpg' %}" alt="Logo" width="85" height="30" class="d-inline-block align-text-top">
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ LIEN_SGL }}" class="text-white text-center fw-bold text-decoration-none mb-4" style="font-size:1.4em">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<i class="bi bi-building-gear fs-1 d-block"></i> SGL
|
<span class="navbar-toggler-icon"></span>
|
||||||
</a>
|
</button>
|
||||||
</div>
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
|
<ul class="nav nav-tabs justify-content-end w-100">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ LIEN_SIRH }}">SIRH</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link active" aria-current="page" href="{{ LIEN_SGL }}">SGL</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
static/images/cerfig.jpg
Normal file
BIN
static/images/cerfig.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 85 KiB |
@@ -179,26 +179,25 @@ const tableau_equipement_rendre = new Tabulator("#tableau-equipement-rendre", {
|
|||||||
{title:"Libellé", field:"produit"},
|
{title:"Libellé", field:"produit"},
|
||||||
{title:"Quantite", field:"quantite"},
|
{title:"Quantite", field:"quantite"},
|
||||||
{title:"Detenteur", field:"detenteur"},
|
{title:"Detenteur", field:"detenteur"},
|
||||||
// {title:"Departement", field:"detenteur"},
|
|
||||||
{title:"Rendu", field:"action", formatter:"tickCross", editor: true},
|
{title:"Rendu", field:"action", formatter:"tickCross", editor: true},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
$("equipementARendreEnregistrer").addEventListener("click", function () {
|
// $("equipementARendreEnregistrer").addEventListener("click", function () {
|
||||||
const information_equipement = tableau_equipement_rendre.getData();
|
// const information_equipement = tableau_equipement_rendre.getData();
|
||||||
const csrf = document.querySelector('[name=csrfmiddlewaretoken]').value;
|
// const csrf = document.querySelector('[name=csrfmiddlewaretoken]').value;
|
||||||
fetch(`${$("equipementARendreEnregistrer").dataset.url}`, {
|
// fetch(`${$("equipementARendreEnregistrer").dataset.url}`, {
|
||||||
method: "POST",
|
// method: "POST",
|
||||||
headers: {
|
// headers: {
|
||||||
"Content-Type": "application/json",
|
// "Content-Type": "application/json",
|
||||||
"X-CSRFToken": csrf
|
// "X-CSRFToken": csrf
|
||||||
},
|
// },
|
||||||
body: JSON.stringify(information_equipement)
|
// body: JSON.stringify(information_equipement)
|
||||||
})
|
// })
|
||||||
.then(response => response.json())
|
// .then(response => response.json())
|
||||||
.then(data => {
|
// .then(data => {
|
||||||
tableau_equipement_rendre.setData("/equipement-a-rendre");
|
// tableau_equipement_rendre.setData("/equipement-a-rendre");
|
||||||
// tableau_equipement_rendre.clearEditedData();
|
// // tableau_equipement_rendre.clearEditedData();
|
||||||
})
|
// })
|
||||||
.catch(error => console.error(error))
|
// .catch(error => console.error(error))
|
||||||
})
|
// })
|
||||||
Reference in New Issue
Block a user