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

64 lines
2.5 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/convertDistance.png" alt="Convert Distance">
</div>
<br>
2019-08-16 12:05:56 +02:00
<div class="form-group">
2019-08-29 23:35:40 +02:00
<label for="firstValue">Entrez la distance que vous voulez convertir et sélectionner l'unité de celle-çi :</label>
<br>
2019-09-16 20:39:30 +02:00
<input name="firstValue" type="text" class="inlineInput" id="firstValue" placeholder="(e.g : 50)" class="form-control">
2019-10-08 11:18:34 +02:00
<select class="form-control selectInline" id="firstValueUnit">
2019-08-29 23:35:40 +02:00
<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>
2019-10-08 11:18:34 +02:00
<select class="form-control selectInline" 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>
2019-08-16 12:05:56 +02:00
<br>
<div class="form-row text-center">
<div class="col-12">
<br>
2019-08-16 12:05:56 +02:00
<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");?>