Liste des citations/proverbes + ajout de citation

This commit is contained in:
Divlo
2019-09-13 15:58:51 +02:00
parent 153da05391
commit 04b95d8988
6 changed files with 92 additions and 10 deletions

View File

@ -8,10 +8,9 @@
<div class="container">
<h1><span class="important"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center">
<?php echo $description?> <br>
<em>(Les citations peuvent être en anglais ou en français)</em> <br> <br>
<a href="#">La liste de toutes les citations/proverbes.</a>
</p> <br>
<?php echo $description?> <br> <br>
<a href="/views/quote-list.php">La liste de toutes les citations/proverbes.</a>
</p> <br>
<div class="form-group">
<div class="form-row text-center">
<div class="col-12">

28
views/quote-list.php Normal file
View File

@ -0,0 +1,28 @@
<!-- Config -->
<?php include("../php/config.php");?>
<!-- Header -->
<?php include("../incl/header.php");?>
<!-- Page Content -->
<div class="container">
<h1><span class="important"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center">
<?php echo $description?> <br>
<a href="/views/function-views/randomQuote.php">Revenir au générateur de citations/proverbes.</a>
</p>
<table class="table table-bordered mt-5">
<thead>
<tr>
<th class="text-center" scope="col">Source</th>
<th class="text-center" scope="col">Citation/Proverbe</th>
</tr>
</thead>
<tbody class="quote-list text-center">
</tbody>
</table>
<!-- Footer -->
<?php include("../incl/footer.php");?>