added multi column workflow fields
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
<td>
|
||||
<form method="post" name="wf-termination-<?=$term->id?>" id="wf-termination-<?=$term->id?>" action="<?=self::getUrl("Linework","save", ["filter" => $filter])?>" enctype="multipart/form-data" >
|
||||
<input type="hidden" name="id" value="<?=$term->id?>" />
|
||||
<table class="table ">
|
||||
<table class="table workflow-table">
|
||||
<?php $i = 0; foreach($term->workflowitems as $item): ?>
|
||||
<?php if($i==0): ?>
|
||||
<?php if($item->type == "delimiter"): ?>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<td class="workflow-item wfitem-<?=$item->type?> wfitem-width-<?=$item->width?>" <?=($item->width > 1) ? "colspan='".$item->width."'" : ""?>>
|
||||
<td class="workflow-item wfitem-<?=$item->type?> wfitem-width-<?=$item->width?>" <?=($item->width > 1) ? "colspan='".$item->width."'" : ""?> style="width: <?=$this->commaToDot(round(100 / $termination_wf_colspan, 2) * $item->width)?>%">
|
||||
<?php if($item->type != "gps"): ?>
|
||||
<label class="form-label" for="wfitem_<?=$item->name?>_<?=$$wftype->id?>">
|
||||
<?=($item->label) ? $item->label : " "?>
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
|
||||
.workflow-table {
|
||||
margin-bottom:4px;
|
||||
max-width: 100%;
|
||||
max-width: 100% !important;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
.workflow-table label {
|
||||
@@ -61,8 +62,14 @@
|
||||
padding-bottom: 4px;
|
||||
border-top: none;
|
||||
min-width: 138px;
|
||||
max-width: 138px;
|
||||
|
||||
}
|
||||
|
||||
.workflow-table tr {
|
||||
max-width:100%;
|
||||
}
|
||||
|
||||
.workflow-table .workflow-item.wfitem-width-2 {
|
||||
max-width: 276px;
|
||||
}
|
||||
@@ -85,12 +92,11 @@
|
||||
.workflow-table .workflow-item select {
|
||||
padding-left: 4px;
|
||||
min-width: 138px;
|
||||
max-width: 100%;
|
||||
max-width: 138px;
|
||||
}
|
||||
|
||||
.workflow-item input[type=text] {
|
||||
max-width:100%;
|
||||
min-width: 138px;
|
||||
width: 138px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user