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