Lauout tweaks for Pipe- and Linework
This commit is contained in:
@@ -60,8 +60,9 @@
|
||||
<small
|
||||
class="text-info text-mono"
|
||||
<?php if($item->value->changed): ?>
|
||||
title="Geändert: <?=date("d.m.Y H:i",$item->value->changed)?> von <?=$item->value->changer->name?> (<?=isset($item->value->changer->address) ? $item->value->changer->address->getCompanyOrName(true) : "Unbekannt"?>)" ?>
|
||||
title="Geändert: <?=date("d.m.Y H:i",$item->value->changed)?> von <?=$item->value->changer->name?> (<?=isset($item->value->changer->address) ? $item->value->changer->address->getCompanyOrName(true) : "Unbekannt"?>)"
|
||||
<?php endif; ?>
|
||||
>
|
||||
<?php if($item->value->changed): ?>
|
||||
<?=$item->value->changer->getAbbrName()?>
|
||||
<?php endif; ?>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
name="wfitemplaceholder_<?=$item->name?>"
|
||||
id="wfitemplaceholder_<?=$item->name?>_<?=$$wftype->id?>"
|
||||
value="1"
|
||||
<?=($item->style) ? $item->style : ""?>
|
||||
<?=($item->value->value_int == 1) ? "checked='checked'" : ""?>
|
||||
onchange="$('#wfitem_<?=$item->name?>_<?=$$wftype->id?>').val((this.checked) ? 1 : 0)"
|
||||
>
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>" placeholder="<?=$item->placeholder?>" />
|
||||
<input
|
||||
type="text"
|
||||
class="form-control"
|
||||
name="wfitem_<?=$item->name?>"
|
||||
id="wfitem_<?=$item->name?>_<?=$$wftype->id?>"
|
||||
value="<?=$item->value->value_string?>"
|
||||
placeholder="<?=$item->placeholder?>"
|
||||
<?=($item->style) ? "style='".$item->style."'" : ""?>
|
||||
/>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#wfitem_<?=$item->name?>_<?=$$wftype->id?>').datepicker({
|
||||
|
||||
@@ -40,8 +40,8 @@ if(strpos($item->typedata, "=Model=") !== false) {
|
||||
|
||||
?>
|
||||
|
||||
<select class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>">
|
||||
<option></option>
|
||||
<select class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" <?=($item->style) ? "style='".$item->style."'" : ""?>>
|
||||
<option <?=($item->style) ? "style='".$item->style."'" : ""?>></option>
|
||||
<?php foreach($options as $opt): ?>
|
||||
<?php
|
||||
$key = $opt;
|
||||
@@ -53,6 +53,9 @@ if(strpos($item->typedata, "=Model=") !== false) {
|
||||
}
|
||||
?>
|
||||
|
||||
<option value="<?=$key?>" <?=($key == $item->value->value_string) ? "selected='selected'" : ""?>><?=$label?></option>
|
||||
<option
|
||||
value="<?=$key?>"
|
||||
<?=($key == $item->value->value_string) ? "selected='selected'" : ""?>
|
||||
><?=$label?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>">
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>" <?=($item->style) ? "style='".$item->style."'" : ""?>>
|
||||
@@ -10,11 +10,11 @@
|
||||
<div class="row">
|
||||
<div class="col-md-5 padding-right-2">
|
||||
<label class="form-label" for="wfitem_<?=$item->name?>_lat_<?=$$wftype->id?>">GPS Breite <?=($item->required == 1) ? "*" : ""?></label>
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>[lat]" id="wfitem_<?=$item->name?>_lat_<?=$$wftype->id?>" value="<?=$lat?>" placeholder="<?=str_replace(",", ".", TT_PLACEHOLDER_GPS_LAT)?>">
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>[lat]" id="wfitem_<?=$item->name?>_lat_<?=$$wftype->id?>" value="<?=$lat?>" placeholder="<?=str_replace(",", ".", TT_PLACEHOLDER_GPS_LAT)?>" <?=($item->style) ? "style='".$item->style."'" : ""?>>
|
||||
</div>
|
||||
<div class="col-md-5 padding-left-2">
|
||||
<label class="form-label" for="wfitem_<?=$item->name?>_long_<?=$$wftype->id?>">GPS Länge <?=($item->required == 1) ? "*" : ""?></label>
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>[long]" id="wfitem_<?=$item->name?>_long_<?=$$wftype->id?>" value="<?=$long?>" placeholder="<?=str_replace(",", ".", TT_PLACEHOLDER_GPS_LONG)?>">
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>[long]" id="wfitem_<?=$item->name?>_long_<?=$$wftype->id?>" value="<?=$long?>" placeholder="<?=str_replace(",", ".", TT_PLACEHOLDER_GPS_LONG)?>" <?=($item->style) ? "style='".$item->style."'" : ""?>>
|
||||
</div>
|
||||
<div class="col-md-2 padding-left-2">
|
||||
<label class="form-label"> </label>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>">
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>" <?=($item->style) ? "style='".$item->style."'" : ""?>>
|
||||
@@ -1 +1,9 @@
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>" placeholder="<?=$item->placeholder?>">
|
||||
<input
|
||||
type="text"
|
||||
class="form-control"
|
||||
name="wfitem_<?=$item->name?>"
|
||||
id="wfitem_<?=$item->name?>_<?=$$wftype->id?>"
|
||||
value="<?=$item->value->value_string?>"
|
||||
placeholder="<?=$item->placeholder?>"
|
||||
<?=($item->style) ? "style='".$item->style."'" : ""?>
|
||||
>
|
||||
@@ -1 +1 @@
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>">
|
||||
<input type="text" class="form-control" name="wfitem_<?=$item->name?>" id="wfitem_<?=$item->name?>_<?=$$wftype->id?>" value="<?=$item->value->value_string?>" <?=($item->style) ? "style='".$item->style."'" : ""?>>
|
||||
Reference in New Issue
Block a user