Blame view

site/removeRaspberry.php 1.43 KB
066421f4   grouille   Suppression RPI +...
1
2
3
  <?php
  $raspberrys = getRaspberrys();
  ?>
62c28743   grouille   Suppression RPI +...
4
5
6
  <div class="row">
  	<div class="col-6 col-md-6 offset-md-3 offset-3">
  	<br/>
bc0324e0   grouille   Suppression RPI +...
7
  		<h1 style="margin-bottom:20px; border-bottom:1px solid #CCC; padding-bottom:20px;"><i class="far fa-plus-square"></i> Suppression d'une Raspberry</h1>
62c28743   grouille   Suppression RPI +...
8
9
10
11
  		<form action="removeRpi.php" method="post">
  			<table class="table table-striped table-bordered">
  				<tbody>
  					<tr>
066421f4   grouille   Suppression RPI +...
12
13
14
15
16
17
18
19
20
21
22
23
24
  						<td><label for="ip">Raspberry : </label></td>
  						<td>
  							<div class="form-group my-1 mr-sm-2">
                                                               <select class="custom-select my-1 mr-sm-2" id="ip" name="ip" required>
  								<option> </option>
                                                                       <?php
                                                                       foreach($raspberrys as $raspberry)
                                                                       { ?>
                                                                         <option><?php echo $raspberry['ip'];?></option>
                                                                       <?php }?>
                                                               </select>
                                                      	</div>
  						</td>
62c28743   grouille   Suppression RPI +...
25
26
27
28
29
30
31
32
  					</tr>
  				</tbody>
  			</table>
  			<input type="submit" class="btn btn-dark btn-lg btn-block" style="margin-top:20px; margin-bottom:20px;" value="Supprimer la Raspberry"/>
  			<br/>
  		</form>
  	</div>
  </div>