PSR et commentaires
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<!-- 03/05/2023 à 11H01 -->
|
||||
<!--
|
||||
Page formulaire de connexion
|
||||
-->
|
||||
<section class="vh-100 gradient-custom">
|
||||
<div class="container py-5 h-100">
|
||||
<div class="row d-flex justify-content-center align-items-center h-100">
|
||||
@@ -23,8 +25,6 @@
|
||||
<label class="form-label" for="typePasswordX">Mot-de-passe</label>
|
||||
</div>
|
||||
|
||||
<!-- <p class="small mb-5 pb-lg-2"><a class="text-white-50" href="#!">Forgot password?</a></p> -->
|
||||
|
||||
<button class="btn btn-outline-light btn-lg px-5"
|
||||
type="submit">Connexion</button>
|
||||
</form>
|
||||
@@ -44,26 +44,3 @@
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--
|
||||
|
||||
<div id="contenu">
|
||||
<h2>Identification utilisateur</h2>
|
||||
|
||||
|
||||
<form method="POST" action="index.php?uc=connexion&action=valideConnexion">
|
||||
|
||||
|
||||
<p>
|
||||
<label for="nom">Login*</label>
|
||||
<input id="login" type="text" name="login" size="30" maxlength="45">
|
||||
</p>
|
||||
<p>
|
||||
<label for="mdp">Mot de passe*</label>
|
||||
<input id="mdp" type="password" name="mdp" size="30" maxlength="45">
|
||||
</p>
|
||||
<input type="submit" value="Valider" name="valider">
|
||||
<input type="reset" value="Annuler" name="annuler">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</div>
|
@@ -30,16 +30,15 @@
|
||||
<?= $uneFiche['eLibelle'] ?>
|
||||
</td>
|
||||
<td>
|
||||
<a href="index.php?direction=nouvelleFiche&userId=<?= $uneFiche['rVisiteur'] ?>&dateListing=<?= $uneFiche['rMois'] ?>">voir</a>
|
||||
<a
|
||||
href="index.php?direction=nouvelleFiche&userId=<?= $uneFiche['rVisiteur'] ?>&dateListing=<?= $uneFiche['rMois'] ?>">voir</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<?php if ($pages > 0) { ?>
|
||||
<?php if ($pages > 0): ?>
|
||||
<div class="col-4 d-flex mx-auto">
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
@@ -63,7 +62,4 @@
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
;
|
||||
?>
|
||||
<?php endif; ?>
|
||||
|
@@ -7,9 +7,10 @@
|
||||
} else { ?>
|
||||
|
||||
<form action="index.php?direction=gestionFiche" method="POST">
|
||||
<?php
|
||||
echo '<h3>Gérer les fiches de frais de :</h3>';
|
||||
echo '<select class="form-select" name="selVisiteur" id="">';
|
||||
|
||||
<h3>Gérer les fiches de frais de :</h3>
|
||||
<select class="form-select" name="selVisiteur" id="">
|
||||
<?php
|
||||
foreach ($LesUtilisateurs as $key => $value) {
|
||||
$id = $value['uId'];
|
||||
$prenom = $value['uPrenom'];
|
||||
@@ -24,8 +25,7 @@
|
||||
echo '</select>'; ?>
|
||||
<button type="submit" class="btn btn-dark m-2">Selectionner</button>
|
||||
<!-- Fin du formulaire -->
|
||||
<?php }
|
||||
?>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($lesFiches as $uneFiche) { ?>
|
||||
<?php foreach ($lesFiches as $uneFiche): ?>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<?= $gestionFiche->dateComplete($uneFiche['rMois']) ?>
|
||||
@@ -57,7 +57,7 @@
|
||||
href="index.php?direction=nouvelleFiche&userId=<?= $userId ?>&dateListing=<?= $uneFiche['rMois'] ?>">voir</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
@@ -66,7 +66,7 @@
|
||||
PAGINATION:
|
||||
-->
|
||||
|
||||
<?php if ($pages > 1) { ?>
|
||||
<?php if ($pages > 1): ?>
|
||||
<div class="col-4 d-flex mx-auto">
|
||||
<nav>
|
||||
<ul class="pagination">
|
||||
@@ -92,6 +92,4 @@
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<?php
|
||||
};
|
||||
?>
|
||||
<?php endif ?>
|
||||
|
@@ -1,4 +1,7 @@
|
||||
<h4 class="d-block mx-auto my-2 text-align-center">BONJOUR <?= strtoupper($_SESSION['uPrenom']) ?> NOUS SOMMES LE <?= date('d-m-Y') ?></h4>
|
||||
<h4 class="d-block mx-auto my-2 text-align-center">BONJOUR
|
||||
<?= strtoupper($_SESSION['uPrenom']) ?> NOUS SOMMES LE
|
||||
<?= date('d-m-Y') ?>
|
||||
</h4>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
|
@@ -157,7 +157,8 @@ if ($disabled == ''):
|
||||
<div class="col-3 d-flex mx-auto my-5 justify-content-center">
|
||||
<?php
|
||||
if ($typeUser == 'comptable' && $status['eId'] == 'CL'): ?>
|
||||
<button type="button" class="btn btn-outline-primary btn-lg" id="validSheetBtn" data-uType="<?= $typeUser ?>">Valider
|
||||
<button type="button" class="btn btn-outline-primary btn-lg" id="validSheetBtn"
|
||||
data-uType="<?= $typeUser ?>">Valider
|
||||
la Fiche
|
||||
</button>
|
||||
<?php else: ?>
|
||||
@@ -166,7 +167,6 @@ if ($disabled == ''):
|
||||
</button>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
</div>
|
||||
<?php endif ?>
|
||||
<script src="include/newFiche.js"></script>
|
||||
|
Reference in New Issue
Block a user