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;

View File

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

View File

@ -32,11 +32,11 @@ echo $this->getData('nav')->render(); ?>
<tr>
<td><?= $this->getHtml('ID', '0', '0'); ?>
<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>
</label>
<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>
</label>
<label>
@ -44,11 +44,11 @@ echo $this->getData('nav')->render(); ?>
</label>
<td><?= $this->getHtml('Name'); ?>
<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>
</label>
<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>
</label>
<label>

View File

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

View File

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