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