Design fixes
parent
865d21e2aa
commit
537486d591
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
<!-- Results filter -->
|
<!-- Results filter -->
|
||||||
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
||||||
<form method="POST" id="filter_form" action="?platform=<?= htmlspecialchars($platform_id) ?>&page=<?= htmlspecialchars($page) ?>">
|
<form method="POST" id="filter_form" class="filter-results" action="?platform=<?= htmlspecialchars($platform_id) ?>&page=<?= htmlspecialchars($page) ?>">
|
||||||
<label for="from_time">from</label>
|
<label for="from_time">from</label>
|
||||||
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
||||||
<label for="until_time">until</label>
|
<label for="until_time">until</label>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<!-- Results filter -->
|
<!-- Results filter -->
|
||||||
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
||||||
<form method="POST" id="filter_form" action="?platform=<?= htmlspecialchars($platform_id) ?>&page=<?= htmlspecialchars($page) ?>">
|
<form method="POST" id="filter_form" class="filter-results" action="?platform=<?= htmlspecialchars($platform_id) ?>&page=<?= htmlspecialchars($page) ?>">
|
||||||
<label for="from_time">from</label>
|
<label for="from_time">from</label>
|
||||||
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
||||||
<label for="until_time">until</label>
|
<label for="until_time">until</label>
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="mb-5">
|
<div class="mb-5">
|
||||||
<?php if ($widget['full'] === true) { ?>
|
<?php if ($widget['full'] === true) { ?>
|
||||||
<table class="table table-striped table-hover table-bordered">
|
<table class="table table-results table-striped table-hover table-bordered">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<?php foreach ($widget['table_headers'] as $header) { ?>
|
<?php foreach ($widget['table_headers'] as $header) { ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<!-- Results filter -->
|
<!-- Results filter -->
|
||||||
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
||||||
<form method="POST" id="filter_form" action="?platform=<?= htmlspecialchars($platform_id) ?>&page=<?= htmlspecialchars($page) ?>">
|
<form method="POST" id="filter_form" class="filter-results" action="?platform=<?= htmlspecialchars($platform_id) ?>&page=<?= htmlspecialchars($page) ?>">
|
||||||
<label for="from_time">from</label>
|
<label for="from_time">from</label>
|
||||||
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
||||||
<label for="until_time">until</label>
|
<label for="until_time">until</label>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="mb-5">
|
<div class="mb-5">
|
||||||
<?php if ($widget['full'] === true) { ?>
|
<?php if ($widget['full'] === true) { ?>
|
||||||
<table class="table table-striped table-hover table-bordered">
|
<table class="table table-results table-striped table-hover table-bordered">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<?php foreach ($widget['table_headers'] as $header) { ?>
|
<?php foreach ($widget['table_headers'] as $header) { ?>
|
||||||
|
@ -68,6 +68,10 @@
|
||||||
<td><a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&name=<?= htmlspecialchars($column ?? '') ?>"><?= htmlspecialchars($column ?? '') ?></a></td>
|
<td><a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&name=<?= htmlspecialchars($column ?? '') ?>"><?= htmlspecialchars($column ?? '') ?></a></td>
|
||||||
<?php } elseif ($participant_ip && $key === 'parameter') { ?>
|
<?php } elseif ($participant_ip && $key === 'parameter') { ?>
|
||||||
<td><a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&ip=<?= htmlspecialchars($column ?? '') ?>"><?= htmlspecialchars($column ?? '') ?></a></td>
|
<td><a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&ip=<?= 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>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<td><?= htmlspecialchars($column ?? '') ?></td>
|
<td><?= htmlspecialchars($column ?? '') ?></td>
|
||||||
<?php }
|
<?php }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
<!-- Logs filter -->
|
<!-- Logs filter -->
|
||||||
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
<div class="card w-auto bg-light border-light card-body text-right" style="text-align: right;">
|
||||||
<form method="POST" id="filter_form" action="?page=logs">
|
<form method="POST" id="filter_form" class="filter-results" action="?page=logs">
|
||||||
<label for="from_time">from</label>
|
<label for="from_time">from</label>
|
||||||
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
<input type="date" id="from_time" name="from_time"<?php if (isset($_REQUEST['from_time'])) echo " value=\"" . htmlspecialchars($from_time) . "\"" ?> />
|
||||||
<label for="until_time">until</label>
|
<label for="until_time">until</label>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="mb-5">
|
<div class="mb-5">
|
||||||
<?php if ($widget['full'] === true) { ?>
|
<?php if ($widget['full'] === true) { ?>
|
||||||
<table class="table table-striped table-hover table-bordered">
|
<table class="table table-results table-striped table-hover table-bordered">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<?php foreach ($widget['table_headers'] as $header) { ?>
|
<?php foreach ($widget['table_headers'] as $header) { ?>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="mb-5">
|
<div class="mb-5">
|
||||||
<?php if ($widget['full'] === true) { ?>
|
<?php if ($widget['full'] === true) { ?>
|
||||||
<table class="table table-striped table-hover table-bordered">
|
<table class="table table-results table-striped table-hover table-bordered">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col"></th>
|
<th scope="col"></th>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<div class="mb-5">
|
<div class="mb-5">
|
||||||
<?php if ($widget['full'] === true) { ?>
|
<?php if ($widget['full'] === true) { ?>
|
||||||
<table class="table table-striped table-hover table-bordered">
|
<table class="table table-results table-striped table-hover table-bordered">
|
||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<?php foreach ($widget['table_headers'] as $header) { ?>
|
<?php foreach ($widget['table_headers'] as $header) { ?>
|
||||||
|
@ -60,6 +60,10 @@
|
||||||
<td><a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&ip=<?= htmlspecialchars($column ?? '') ?>"><?= htmlspecialchars($column ?? '') ?></a></td>
|
<td><a href="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=participants&ip=<?= htmlspecialchars($column ?? '') ?>"><?= htmlspecialchars($column ?? '') ?></a></td>
|
||||||
<?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
|
||||||
|
// in general listings we don't show seconds and miliseconds
|
||||||
|
} elseif ($key === 'start' || $key === 'end') { ?>
|
||||||
|
<td><?= htmlspecialchars(substr($column ?? '', 0, -7)) ?></td>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<td><?= htmlspecialchars($column ?? '') ?></td>
|
<td><?= htmlspecialchars($column ?? '') ?></td>
|
||||||
<?php }
|
<?php }
|
||||||
|
|
|
@ -183,3 +183,7 @@
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table-results, .filter-results {
|
||||||
|
font-size: 0.85em;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue