Small final fixes to components and participants pages
parent
a96b203021
commit
170e885251
|
@ -45,7 +45,7 @@ if ($response['db'] === null) {
|
|||
}
|
||||
|
||||
// pagination variables
|
||||
$items_per_page = 15;
|
||||
$items_per_page = 20;
|
||||
$offset = ($currentPage -1) * $items_per_page;
|
||||
|
||||
// jitsi component events list
|
||||
|
|
|
@ -72,7 +72,7 @@ if ($response['db'] === null) {
|
|||
$participantObject = new Participant($db);
|
||||
|
||||
// pagination variables
|
||||
$items_per_page = 15;
|
||||
$items_per_page = 20;
|
||||
$offset = ($currentPage -1) * $items_per_page;
|
||||
|
||||
// search and list specific participant ID
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
</a>
|
||||
</td>
|
||||
<td><?= htmlspecialchars($row['loglevel']) ?></td>
|
||||
<td><span class="text-muted"><?= date('d M Y H:i', strtotime($row['time'])) ?></span></td>
|
||||
<td><span class="text-muted"><?= date('d M Y H:i:s', strtotime($row['time'])) ?></span></td>
|
||||
<td>
|
||||
<a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=components&id=<?= htmlspecialchars($row['component ID'] ?? '') ?>">
|
||||
<?= htmlspecialchars($row['component ID'] ?? '') ?>
|
||||
|
|
|
@ -100,9 +100,8 @@
|
|||
<?php } elseif ($key === 'component') { ?>
|
||||
<td><a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=components&name=<?= htmlspecialchars($column ?? '') ?>"><?= htmlspecialchars($column ?? '') ?></a></td>
|
||||
<?php
|
||||
// in general listings we don't show seconds and miliseconds
|
||||
} elseif ($key === 'start' || $key === 'end') { ?>
|
||||
<td><?= htmlspecialchars(substr($column ?? '', 0, -7)) ?></td>
|
||||
} elseif ($key === 'time' || $key === 'start' || $key === 'end') { ?>
|
||||
<td><?= date('d M Y H:i:s',strtotime($column)) ?></td>
|
||||
<?php } else { ?>
|
||||
<td><?= htmlspecialchars($column ?? '') ?></td>
|
||||
<?php }
|
||||
|
|
Loading…
Reference in New Issue