Add ID to tables

This commit is contained in:
Wirlaburla 2024-05-04 22:38:23 -04:00
parent 90637c20c1
commit 74e56d1763

View File

@ -89,8 +89,8 @@
<center class='page'>
<div class='banner'><img src='banner.png'><br><h3>Status Page</h3><a><?=$CONFIG['site_message'];?></a></div>
<?php
foreach ($services as $service) {
echo '<table class=\'status\'>';
foreach ($services as $id=>$service) {
echo '<table class=\'status\' id=\''.$id.'\'>';
echo '<tr class=\'title\'><td colspan=\''.count($service['status']).'\'>';
if (!empty($service['message'])) {
echo '<details><summary><b>';