Fix ff layout

This commit is contained in:
Dennis Eichhorn 2017-09-26 20:49:21 +02:00
parent 2d32981320
commit 4640299917
2 changed files with 90 additions and 77 deletions

View File

@ -13,64 +13,73 @@
*/
echo $this->getData('nav')->render(); ?>
<section class="box w-50 floatLeft">
<header><h1><?= $this->getHtml('Survey'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td colspan="3"><label for="iName"><?= $this->getHtml('Name'); ?><label>
<tr><td colspan="2"><input type="text" id="iName" name="name" required><td>
<tr><td><label for="iStart"><?= $this->getHtml('Start'); ?><label><td><label for="iEnd"><?= $this->getHtml('End'); ?><label><td>
<tr><td><input type="datetime-local" id="iStart" name="start" required><td><input type="datetime-local" id="iEnd" name="end" required><td>
<tr><td colspan="3"><label for="iDesc"><?= $this->getHtml('Description'); ?><label>
<tr><td colspan="2"><textarea id="iDesc" name="desc"></textarea><td>
<tr><td colspan="3"><span class="check"><input type="checkbox" id="iResult" name="result"><label for="iResult"><?= $this->getHtml('ResultPublic'); ?><label></span>
<tr><td><label for="iResponsibility"><?= $this->getHtml('Responsibility'); ?><label><td colspan="2"><label for="iPerm"><?= $this->getHtml('UserGroup'); ?><label>
<tr><td><select id="iResponsibility" name="responsibility">
<option value=""><?= $this->getHtml('Questionee'); ?>
<option value=""><?= $this->getHtml('Manager'); ?>
</select><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iPerm" name="permission"></span><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
<tr><td colspan="3"><input type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>">
</table>
</form>
<div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getHtml('Survey'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td colspan="3"><label for="iName"><?= $this->getHtml('Name'); ?><label>
<tr><td colspan="2"><input type="text" id="iName" name="name" required><td>
<tr><td><label for="iStart"><?= $this->getHtml('Start'); ?><label><td><label for="iEnd"><?= $this->getHtml('End'); ?><label><td>
<tr><td><input type="datetime-local" id="iStart" name="start" required><td><input type="datetime-local" id="iEnd" name="end" required><td>
<tr><td colspan="3"><label for="iDesc"><?= $this->getHtml('Description'); ?><label>
<tr><td colspan="2"><textarea id="iDesc" name="desc"></textarea><td>
<tr><td colspan="3"><span class="check"><input type="checkbox" id="iResult" name="result"><label for="iResult"><?= $this->getHtml('ResultPublic'); ?><label></span>
<tr><td><label for="iResponsibility"><?= $this->getHtml('Responsibility'); ?><label><td colspan="2"><label for="iPerm"><?= $this->getHtml('UserGroup'); ?><label>
<tr><td><select id="iResponsibility" name="responsibility">
<option value=""><?= $this->getHtml('Questionee'); ?>
<option value=""><?= $this->getHtml('Manager'); ?>
</select><td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iPerm" name="permission"></span><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
<tr><td colspan="3"><input type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>">
</table>
</form>
</div>
</section>
</div>
</section>
<section class="box w-50 floatLeft">
<header><h1><?= $this->getHtml('Section'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td colspan="2"><label for="iSection"><?= $this->getHtml('Section'); ?><label>
<tr><td colspan="2"><input type="text" id="iSection" name="section">
<tr><td colspan="2"><label for="iSDesc"><?= $this->getHtml('Description'); ?><label>
<tr><td colspan="2"><textarea id="iSDesc" name="sdesc"></textarea>
<tr><td colspan="2"><label for="iSType"><?= $this->getHtml('Type'); ?><label>
<tr><td colspan="2"><select id="iSType" name="stype">
<option>
</select>
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
</table>
</form>
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getHtml('Section'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td colspan="2"><label for="iSection"><?= $this->getHtml('Section'); ?><label>
<tr><td colspan="2"><input type="text" id="iSection" name="section">
<tr><td colspan="2"><label for="iSDesc"><?= $this->getHtml('Description'); ?><label>
<tr><td colspan="2"><textarea id="iSDesc" name="sdesc"></textarea>
<tr><td colspan="2"><label for="iSType"><?= $this->getHtml('Type'); ?><label>
<tr><td colspan="2"><select id="iSType" name="stype">
<option>
</select>
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
</table>
</form>
</div>
</section>
</div>
</section>
</div>
<section class="box w-50 floatLeft">
<header><h1><?= $this->getHtml('Question'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td colspan="2"><label for="iQuestion"><?= $this->getHtml('Question'); ?><label>
<tr><td colspan="2"><input type="text" id="iQuestion" name="question">
<tr><td colspan="2"><label for="iQDesc"><?= $this->getHtml('Description'); ?><label>
<tr><td colspan="2"><textarea id="iQDesc" name="qdesc"></textarea>
<tr><td colspan="2"><label for="iQSection"><?= $this->getHtml('Section'); ?><label>
<tr><td colspan="2"><select id="iQSection" name="iqsection">
<option>
</select>
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
</table>
</form>
</div>
</section>
<div class="row">
<div class="col-xs-12 col-md-6">
<section class="box wf-100">
<header><h1><?= $this->getHtml('Question'); ?></h1></header>
<div class="inner">
<form>
<table class="layout wf-100">
<tr><td colspan="2"><label for="iQuestion"><?= $this->getHtml('Question'); ?><label>
<tr><td colspan="2"><input type="text" id="iQuestion" name="question">
<tr><td colspan="2"><label for="iQDesc"><?= $this->getHtml('Description'); ?><label>
<tr><td colspan="2"><textarea id="iQDesc" name="qdesc"></textarea>
<tr><td colspan="2"><label for="iQSection"><?= $this->getHtml('Section'); ?><label>
<tr><td colspan="2"><select id="iQSection" name="iqsection">
<option>
</select>
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Add', 0, 0); ?>">
</table>
</form>
</div>
</section>
</div>
</div>

View File

@ -19,23 +19,27 @@ $footerView->setPage(1);
echo $this->getData('nav')->render(); ?>
<div class="box w-100">
<table class="table red">
<caption><?= $this->getHtml('Surveys'); ?></caption>
<thead>
<tr>
<td><?= $this->getHtml('Status') ?>
<td class="wf-100"><?= $this->getHtml('Title') ?>
<td><?= $this->getHtml('Created') ?>
<td><?= $this->getHtml('Creator') ?>
<tfoot>
<tr>
<td colspan="4"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="4" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
<div class="row">
<div class="col-xs-12">
<div class="box wf-100">
<table class="table red">
<caption><?= $this->getHtml('Surveys'); ?></caption>
<thead>
<tr>
<td><?= $this->getHtml('Status') ?>
<td class="wf-100"><?= $this->getHtml('Title') ?>
<td><?= $this->getHtml('Created') ?>
<td><?= $this->getHtml('Creator') ?>
<tfoot>
<tr>
<td colspan="4"><?= $footerView->render(); ?>
<tbody>
<?php $count = 0; foreach([] as $key => $value) : $count++; ?>
<?php endforeach; ?>
<?php if($count === 0) : ?>
<tr><td colspan="4" class="empty"><?= $this->getHtml('Empty', 0, 0); ?>
<?php endif; ?>
</table>
</div>
</div>
</div>