FunctionProject/views/function-views/randomNumber.php

32 lines
1.2 KiB
PHP
Raw Normal View History

2019-08-28 14:16:47 +02:00
<!-- Config -->
<?php include("../../php/config.php");?>
2019-08-16 12:05:56 +02:00
<!-- Header -->
<?php include("../../incl/header.php");?>
<!-- Page Content -->
<div class="container">
2019-08-18 23:48:24 +02:00
<h1><span class="important"><?php echo $title?></span> :</h1>
<p class="pt-3 text-center"><?php echo $description?></p>
<div class="text-center">
<img class="function-image" src="/img/function-image/randomNumber.png" alt="Nombre aléatoire">
</div>
2019-08-16 12:05:56 +02:00
<div class="form-group">
<label for="minValue">Entrez la valeur minimale :</label>
2019-08-29 23:22:29 +02:00
<input name="minValue" type="number" min="0" id="minValue" placeholder="(e.g : 1)" class="form-control">
2019-08-16 12:05:56 +02:00
<br>
<label for="maxValue">Entrez la valeur maximale :</label>
2019-08-29 23:22:29 +02:00
<input name="maxValue" type="number" min="1" id="maxValue" placeholder="(e.g : 100)" class="form-control">
2019-08-16 12:05:56 +02:00
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitRandomNumber" class="btn btn-dark text-center">Envoyer</button>
</div>
</div>
<br> <br>
<p class="results text-center"></p>
</div>
</div>
<!-- Footer -->
<?php include("../../incl/footer.php");?>