This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/views/function-views/convertDistance.php
2019-09-13 21:56:36 +02:00

60 lines
2.2 KiB
PHP

<!-- 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?></p>
<br>
<div class="form-group">
<label for="firstValue">Entrez la distance que vous voulez convertir et sélectionner l'unité de celle-çi :</label>
<br>
<input name="firstValue" type="text" id="firstValue" placeholder="(e.g : 50)" class="form-control">
<select id="firstValueUnit">
<option value="pm">pm</option>
<option value="nm">nm</option>
<option value="µm">µm</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="dm">dm</option>
<option value="m">m</option>
<option value="dam">dam</option>
<option value="hm">hm</option>
<option value="km">km</option>
<option value="Mm">Mm</option>
<option value="Gm">Gm</option>
<option value="Tm">Tm</option>
</select>
<br> <br>
<label for="secondValue">Choisissez l'unité que vous voulez avoir après conversion :</label> <br>
<select id="secondValue">
<option value="pm">pm</option>
<option value="nm">nm</option>
<option value="µm">µm</option>
<option value="mm">mm</option>
<option value="cm">cm</option>
<option value="dm">dm</option>
<option value="m">m</option>
<option value="dam">dam</option>
<option value="hm">hm</option>
<option value="km">km</option>
<option value="Mm">Mm</option>
<option value="Gm">Gm</option>
<option value="Tm">Tm</option>
</select>
<br>
<div class="form-row text-center">
<div class="col-12">
<button type="submit" id="submitConvertDistance" 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");?>