phpcs autofixes

This commit is contained in:
Dennis Eichhorn 2023-05-28 12:19:04 +00:00
parent 9d8c8e1d1c
commit 689af3a36e
3 changed files with 29 additions and 29 deletions

View File

@ -15,32 +15,32 @@ declare(strict_types=1);
echo $this->getData('nav')->render(); ?> echo $this->getData('nav')->render(); ?>
<section class="box w-50"> <section class="box w-50">
<header><h1><?= $this->getHtml('Project') ?></h1></header> <header><h1><?= $this->getHtml('Project'); ?></h1></header>
<div class="inner"> <div class="inner">
<form> <form>
<table class="layout wf-100"> <table class="layout wf-100">
<tr><td colspan="3"><label for="iName"><?= $this->getHtml('Name') ?></label> <tr><td colspan="3"><label for="iName"><?= $this->getHtml('Name'); ?></label>
<tr><td colspan="2"><input type="text" id="iName" name="name" placeholder=""><td> <tr><td colspan="2"><input type="text" id="iName" name="name" placeholder=""><td>
<tr><td colspan="3"><label for="iDescription"><?= $this->getHtml('Description') ?></label> <tr><td colspan="3"><label for="iDescription"><?= $this->getHtml('Description'); ?></label>
<tr><td colspan="2"><textarea id="iDescription" name="description"></textarea><td> <tr><td colspan="2"><textarea id="iDescription" name="description"></textarea><td>
<tr><td colspan="3"><label for="iStatus"><?= $this->getHtml('Status') ?></label> <tr><td colspan="3"><label for="iStatus"><?= $this->getHtml('Status'); ?></label>
<tr><td colspan="2"><select id="iStatus" name="status"> <tr><td colspan="2"><select id="iStatus" name="status">
<option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::ACTIVE); ?>"><?= $this->getHtml('Active') ?> <option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::ACTIVE); ?>"><?= $this->getHtml('Active'); ?>
<option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::INACTIVE); ?>"><?= $this->getHtml('Inactive') ?> <option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::INACTIVE); ?>"><?= $this->getHtml('Inactive'); ?>
<option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::FINISHED); ?>"><?= $this->getHtml('Finished') ?> <option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::FINISHED); ?>"><?= $this->getHtml('Finished'); ?>
<option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::CANCELED); ?>"><?= $this->getHtml('Canceled') ?> <option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::CANCELED); ?>"><?= $this->getHtml('Canceled'); ?>
<option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::HOLD); ?>"><?= $this->getHtml('Hold') ?> <option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectStatus::HOLD); ?>"><?= $this->getHtml('Hold'); ?>
</select><td> </select><td>
<tr><td colspan="3"><label for="iFiles"><?= $this->getHtml('Files') ?></label> <tr><td colspan="3"><label for="iFiles"><?= $this->getHtml('Files'); ?></label>
<tr><td colspan="2"><input type="file" id="iFiles" name="file" multiple><td> <tr><td colspan="2"><input type="file" id="iFiles" name="file" multiple><td>
<tr><td colspan="3"><label for="iBudget"><?= $this->getHtml('Budget') ?></label> <tr><td colspan="3"><label for="iBudget"><?= $this->getHtml('Budget'); ?></label>
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder=""><td> <tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder=""><td>
<tr><td><label for="iDue"><?= $this->getHtml('Start') ?></label><td><label for="iDue"><?= $this->getHtml('Due') ?></label><td> <tr><td><label for="iDue"><?= $this->getHtml('Start'); ?></label><td><label for="iDue"><?= $this->getHtml('Due'); ?></label><td>
<tr><td><input type="datetime-local" id="iDue" name="due"><td><input type="datetime-local" id="iDue" name="due"><td> <tr><td><input type="datetime-local" id="iDue" name="due"><td><input type="datetime-local" id="iDue" name="due"><td>
<tr><td><label for="iResponsibility"><?= $this->getHtml('Responsibility') ?></label><td><label for="iUser"><?= $this->getHtml('UserGroup') ?></label><td> <tr><td><label for="iResponsibility"><?= $this->getHtml('Responsibility'); ?></label><td><label for="iUser"><?= $this->getHtml('UserGroup'); ?></label><td>
<tr><td><select id="iStatus" name="status"> <tr><td><select id="iStatus" name="status">
<option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectResponsibility::MANAGER); ?>"><?= $this->getHtml('Manager') ?> <option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectResponsibility::MANAGER); ?>"><?= $this->getHtml('Manager'); ?>
<option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectResponsibility::OTHER); ?>"><?= $this->getHtml('Other') ?> <option value="<?= $this->printHtml(\Modules\ProjectManagement\Models\ProjectResponsibility::OTHER); ?>"><?= $this->getHtml('Other'); ?>
</select> </select>
<td><input type="text" id="iUser" name="user" placeholder=""><td><button><?= $this->getHtml('Add', '0', '0'); ?></button> <td><input type="text" id="iUser" name="user" placeholder=""><td><button><?= $this->getHtml('Add', '0', '0'); ?></button>
<tr><td colspan="3"><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>"> <tr><td colspan="3"><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>">

View File

@ -29,14 +29,14 @@ echo $this->getData('nav')->render(); ?>
<div class="col-xs-12"> <div class="col-xs-12">
<div class="box wf-100"> <div class="box wf-100">
<table class="default"> <table class="default">
<caption><?= $this->getHtml('Projects') ?><i class="fa fa-download floatRight download btn"></i></caption> <caption><?= $this->getHtml('Projects'); ?><i class="fa fa-download floatRight download btn"></i></caption>
<thead> <thead>
<tr> <tr>
<td><?= $this->getHtml('ID', '0', '0'); ?> <td><?= $this->getHtml('ID', '0', '0'); ?>
<td><?= $this->getHtml('Status') ?> <td><?= $this->getHtml('Status'); ?>
<td class="wf-100"><?= $this->getHtml('Name') ?> <td class="wf-100"><?= $this->getHtml('Name'); ?>
<td><?= $this->getHtml('Creator') ?> <td><?= $this->getHtml('Creator'); ?>
<td><?= $this->getHtml('Created') ?> <td><?= $this->getHtml('Created'); ?>
<tfoot> <tfoot>
<tr><td colspan="5"> <tr><td colspan="5">
<tbody> <tbody>