fix tests

This commit is contained in:
Dennis Eichhorn 2022-10-08 21:35:00 +02:00
parent 612e5dfef5
commit 6e8ec6d298
5 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,5 @@
<?php declare(strict_types=1); <?php
declare(strict_types=1);
use phpOMS\Router\RouteVerb; use phpOMS\Router\RouteVerb;

View File

@ -23,6 +23,6 @@ use phpOMS\Uri\UriFactory;
</ul> </ul>
</nav> </nav>
<div id="search"> <div id="search">
<input type="text"> <input type="text" name="search-bar">
</div> </div>
</header> </header>

View File

@ -32,11 +32,11 @@ echo $this->getData('nav')->render(); ?>
<tr> <tr>
<td><?= $this->getHtml('ID', '0', '0'); ?> <td><?= $this->getHtml('ID', '0', '0'); ?>
<label for="appList-sort-1"> <label for="appList-sort-1">
<input app="radio" name="appList-sort" id="appList-sort-1"> <input type="radio" name="appList-sort" id="appList-sort-1">
<i class="sort-asc fa fa-chevron-up"></i> <i class="sort-asc fa fa-chevron-up"></i>
</label> </label>
<label for="appList-sort-2"> <label for="appList-sort-2">
<input app="radio" name="appList-sort" id="appList-sort-2"> <input type="radio" name="appList-sort" id="appList-sort-2">
<i class="sort-desc fa fa-chevron-down"></i> <i class="sort-desc fa fa-chevron-down"></i>
</label> </label>
<label> <label>
@ -44,11 +44,11 @@ echo $this->getData('nav')->render(); ?>
</label> </label>
<td><?= $this->getHtml('Name'); ?> <td><?= $this->getHtml('Name'); ?>
<label for="appList-sort-3"> <label for="appList-sort-3">
<input app="radio" name="appList-sort" id="appList-sort-3"> <input type="radio" name="appList-sort" id="appList-sort-3">
<i class="sort-asc fa fa-chevron-up"></i> <i class="sort-asc fa fa-chevron-up"></i>
</label> </label>
<label for="appList-sort-4"> <label for="appList-sort-4">
<input app="radio" name="appList-sort" id="appList-sort-4"> <input type="radio" name="appList-sort" id="appList-sort-4">
<i class="sort-desc fa fa-chevron-down"></i> <i class="sort-desc fa fa-chevron-down"></i>
</label> </label>
<label> <label>

View File

@ -25,7 +25,7 @@ echo $this->getData('nav')->render(); ?>
<div class="row"> <div class="row">
<div class="col-xs-12 box"> <div class="col-xs-12 box">
<select> <select name="app">
<option value="0"><?= $this->getHtml('All'); ?> <option value="0"><?= $this->getHtml('All'); ?>
<?php foreach ($apps as $app) : ?> <?php foreach ($apps as $app) : ?>
<option value="<?= $app->getId(); ?>"><?= $app->name; ?> <option value="<?= $app->getId(); ?>"><?= $app->name; ?>

View File

@ -1,4 +1,5 @@
<?php declare(strict_types=1); <?php
declare(strict_types=1);
// Modules/tests // Modules/tests