planning conv heure

This commit is contained in:
Baptiste 2022-06-17 15:20:26 +02:00
parent eaaf37f193
commit 33c759308e

View file

@ -43,7 +43,7 @@ if(isset($_POST['send'])) {
$color = htmlspecialchars($_POST['color']);
$opacity = (float) htmlspecialchars($_POST['opacity']);
$order_start = (int) htmlspecialchars($_POST['order_start']);
$len = (float) htmlspecialchars($_POST['length']);
$len = (float) 6.25*htmlspecialchars($_POST['length']);
$num_planning = (int) htmlspecialchars($_POST['num_planning']);
if($opacity <= 100 AND $opacity >= 0) {
@ -84,7 +84,7 @@ if(isset($_POST['send'])) {
<input type="color" name="color">
<input type="float" class="input_inline" name="opacity" placeholder="Opacité (%)" value="100">
<input type="number" class="input_inline" name="order_start" placeholder="Ordre d'apparition">
<input type="float" class="input_inline" name="length" placeholder="Taille (%)">
<input type="float" class="input_inline" name="length" placeholder="Taille (en heure)">
<select name="num_planning" class="input_inline">
<option value="1">Planning 1</option>
<option value="2">Planning 2</option>
@ -117,7 +117,7 @@ if(isset($_POST['send'])) {
<th width="30%">Description</th>
<th width="5%">Couleur</th>
<th width="5%">Ordre d'apparition</th>
<th width="5%">taille (%)</th>
<th width="5%">taille (en heure)</th>
<th width="10%">Planning </th>
<th width="10%">Action</th>
</tr>