Changed workflow to compact tables

This commit is contained in:
Frank Schubert
2021-08-24 23:13:24 +02:00
parent 2e9d5d5767
commit 0d7abef945
7 changed files with 104 additions and 101 deletions

View File

@@ -1,11 +1,13 @@
<div class="form-group row">
<label class="col-lg-2 col-form-label" for="wfitem_<?=$item->name?>">
<?=$item->label?>
<?=($item->required == 1) ? "*" : ""?>
</label>
<div class="col-lg-10">
<?php
<td>
<?php if($item->type != "gps"): ?>
<label class="form-label" for="wfitem_<?=$item->name?>">
<?=$item->label?>
<?=($item->required == 1) ? "*" : ""?>
</label>
<?php endif; ?>
<?php
switch($item->type) {
case "string":
include(realpath(dirname(__FILE__)."/items/")."/string.php");
@@ -34,8 +36,12 @@
case "delimiter":
include(realpath(dirname(__FILE__)."/items/")."/delimiter.php");
break;
case "date":
include(realpath(dirname(__FILE__)."/items/")."/date.php");
break;
default:
include(realpath(dirname(__FILE__)."/items/")."/string.php");
}
?>
</div>
</div>
?>
</td>