Added colspan attribute to workflow items
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php include(realpath(dirname(__FILE__)."/../")."/header.php"); ?>
|
||||
<?php $wftype = "termination"; ?>
|
||||
<?php $wftype = "term"; ?>
|
||||
|
||||
|
||||
<!-- start page title -->
|
||||
@@ -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 workflow-table">
|
||||
<table class="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">
|
||||
<td class="workflow-item" <?=($item->width > 1) ? "colspan='".$item->width."'" : ""?>>
|
||||
<?php if($item->type != "gps"): ?>
|
||||
<label class="form-label" for="wfitem_<?=$item->name?>_<?=$$wftype->id?>">
|
||||
<?=($item->label) ? $item->label : " "?>
|
||||
|
||||
@@ -109,7 +109,7 @@ class LineworkController extends mfBaseController {
|
||||
break;
|
||||
}
|
||||
|
||||
$i++;
|
||||
$i += ($wfitem->width) ? $wfitem->width : 1;
|
||||
}
|
||||
}
|
||||
//var_dump($item_colspan);exit;
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
padding-bottom: 4px;
|
||||
border-top: none;
|
||||
min-width: 138px;
|
||||
max-width: 138px;
|
||||
|
||||
}
|
||||
|
||||
.workflow-header {
|
||||
@@ -76,13 +76,13 @@
|
||||
|
||||
.workflow-table .workflow-item select {
|
||||
padding-left: 4px;
|
||||
width:100%;
|
||||
min-width:138px;
|
||||
/*max-width: 138px;*/
|
||||
}
|
||||
|
||||
.workflow-item input[type=text] {
|
||||
max-width:100%;
|
||||
/*width: 128px;*/
|
||||
0width: 138px;
|
||||
}
|
||||
|
||||
.padding-left-2 {
|
||||
|
||||
Reference in New Issue
Block a user