| 
									
										
										
										
											2024-10-30 20:14:54 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |                 <!-- widget "hosts" --> | 
					
						
							| 
									
										
										
										
											2024-10-31 09:08:53 +00:00
										 |  |  |                 <div class="card text-center w-50 mx-lef"> | 
					
						
							| 
									
										
										
										
											2024-10-30 20:14:54 +00:00
										 |  |  |                     <p class="h4 card-header">Jilo configuration for Jitsi platform <strong>"<?= htmlspecialchars($platformDetails[0]['name']) ?>"</strong></p> | 
					
						
							|  |  |  |                     <div class="card-body"> | 
					
						
							|  |  |  |                         <p class="card-text">delete a host:</p> | 
					
						
							|  |  |  |                         <form method="POST" action="<?= htmlspecialchars($app_root) ?>?page=config&item=host"> | 
					
						
							|  |  |  | <?php | 
					
						
							|  |  |  | foreach ($hostDetails[0] as $key => $value) { | 
					
						
							|  |  |  | ?>
 | 
					
						
							|  |  |  |                             <div class="row mb-3"> | 
					
						
							|  |  |  |                                 <div class="col-md-4 text-end"> | 
					
						
							|  |  |  |                                     <label for="<?= htmlspecialchars($key) ?>" class="form-label"><?= htmlspecialchars($key) ?>:</label>
 | 
					
						
							|  |  |  |                                 </div> | 
					
						
							|  |  |  |                                 <div class="col-md-8"> | 
					
						
							|  |  |  |                                     <div class="text-start"><?= htmlspecialchars($value ?? '') ?></div>
 | 
					
						
							|  |  |  |                                     <input type="hidden" name="<?= htmlspecialchars($key) ?>" value="<?= htmlspecialchars($value ?? '') ?>" /> | 
					
						
							|  |  |  |                                 </div> | 
					
						
							|  |  |  |                             </div> | 
					
						
							|  |  |  | <?php } ?>
 | 
					
						
							|  |  |  |                             <br /> | 
					
						
							|  |  |  |                             <input type="hidden" name="host" value="<?= htmlspecialchars($hostDetails[0]['id']) ?>" /> | 
					
						
							|  |  |  |                             <input type="hidden" name="delete" value="true" /> | 
					
						
							|  |  |  |                             <p class="h5 text-danger">Are you sure you want to delete this host?</p> | 
					
						
							|  |  |  |                             <br /> | 
					
						
							| 
									
										
										
										
											2024-11-04 16:22:16 +00:00
										 |  |  |                             <a class="btn btn-outline-secondary btn-sm" href="<?= htmlspecialchars($app_root) ?>?page=config&item=host&platform=<?= htmlspecialchars($platform_id) ?>&host=<?= htmlspecialchars($host) ?>#platform<?= htmlspecialchars($platform_id) ?>host<?= htmlspecialchars($host) ?>" />Cancel</a> | 
					
						
							| 
									
										
										
										
											2024-10-31 09:08:53 +00:00
										 |  |  |                                | 
					
						
							|  |  |  |                             <input type="submit" class="btn btn-danger btn-sm" value="Delete" /> | 
					
						
							| 
									
										
										
										
											2024-10-30 20:14:54 +00:00
										 |  |  |                         </form> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |                 <!-- /widget "hosts" --> |