* finish task #6161.

This commit is contained in:
wangyidong
2019-07-30 15:38:49 +08:00
parent cd2162d54a
commit 17b53acaa9
73 changed files with 178 additions and 116 deletions
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:300px !important;}
html[lang^='zh-'] .thWidth{width:130px !important;}
+1 -2
View File
@@ -22,8 +22,7 @@
<form class="load-indicator main-form form-ajax" method='post'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-300px' : 'w-130px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->admin->safe->password?></th>
<th class='thWidth'><?php echo $lang->admin->safe->password?></th>
<td class='w-250px'><?php echo html::radio('mode', $lang->admin->safe->modeList, isset($config->safe->mode) ? $config->safe->mode : 0, "onclick=showModeRule(this.value)")?></td>
<td><?php echo $lang->admin->safe->noticeMode?></td>
</tr>
+2
View File
@@ -0,0 +1,2 @@
.actionWidth{width:140px !important;}
html[lang^='zh-'] .actionWidth{width:110px !important;}
+1 -2
View File
@@ -36,8 +36,7 @@
<th class='w-150px'><?php echo $lang->backup->time?></th>
<th><?php echo $lang->backup->files?></th>
<th class='w-150px'><?php echo $lang->backup->size?></th>
<?php $colWidth = common::checkNotCN() ? 'w-140px' : 'w-110px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->actions?></th>
<th class='actionWidth'><?php echo $lang->actions?></th>
</tr>
</thead>
<tbody class='text-center'>
+1 -1
View File
@@ -6,7 +6,7 @@ $lang->branch->delete = 'Branch löschen';
$lang->branch->add = 'Hinzufügen';
$lang->branch->manageTitle = '%s Management';
$lang->branch->all = 'Alle';
$lang->branch->all = 'Alle ';
$lang->branch->id = 'ID';
$lang->branch->product = 'Produkt';
+1 -1
View File
@@ -6,7 +6,7 @@ $lang->branch->delete = 'Delete Branch';
$lang->branch->add = 'Add';
$lang->branch->manageTitle = '%s Management';
$lang->branch->all = 'All';
$lang->branch->all = 'All ';
$lang->branch->id = 'ID';
$lang->branch->product = 'Product';
+2 -4
View File
@@ -46,8 +46,7 @@ class branchModel extends model
$product = $this->loadModel('product')->getById($productID);
if(!$product or $product->type == 'normal') return array();
$space = common::checkNotCN() ? ' ' : '';
$branches = array('0' => $this->lang->branch->all . $space . $this->lang->product->branchName[$product->type]) + $branches;
$branches = array('0' => $this->lang->branch->all . $this->lang->product->branchName[$product->type]) + $branches;
}
return $branches;
}
@@ -107,13 +106,12 @@ class branchModel extends model
}
}
$space = common::checkNotCN() ? ' ' : '';
foreach($products as $product)
{
if($product->type == 'normal') continue;
if(!isset($branchGroups[$product->id])) $branchGroups[$product->id] = array();
if(strpos($params, 'noempty') === false) $branchGroups[$product->id] = array('0' => $this->lang->branch->all . $space . $this->lang->product->branchName[$product->type]) + $branchGroups[$product->id];
if(strpos($params, 'noempty') === false) $branchGroups[$product->id] = array('0' => $this->lang->branch->all . $this->lang->product->branchName[$product->type]) + $branchGroups[$product->id];
}
return $branchGroups;
+3
View File
@@ -4,3 +4,6 @@
.col-side .chosen-container[id^="resolvedBuild"] {width: 172px!important}
.chosen-choices li.search-choice{word-break: break-all;}
#linkBugBox > li {margin-left:-56px}
.thWidth{width:100px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+2
View File
@@ -0,0 +1,2 @@
.confirm0 {color:gray; font-size:9px}
.confirm1 {color:green; font-size:9px}
+3
View File
@@ -1 +1,4 @@
.chosen-container[id^="buildProject"] {max-width: 160px; border-radius: 0}
.thWidth{width:130px !important;}
html[lang^='zh-'] .thWidth{width:100px !important;}
+5
View File
@@ -3,3 +3,8 @@
.table-data tr > td{word-break: break-all; word-wrap: break-word;}
.side-col .cell{padding:0px;}
.tab-pane table {border: 1px solid #ddd; border-top: none;}
#legendBasicInfo .thWidth{width:110px !important;}
#legendLife .thWidth{width:100px !important;}
html[lang^='zh-'] #legendBasicInfo .thWidth{width:70px !important;}
html[lang^='zh-'] #legendLife .thWidth{width:90px !important;}
+2 -4
View File
@@ -212,8 +212,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
<table class='table table-form'>
<tbody>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-100px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->bug->openedBy;?></th>
<th class='thWidth'><?php echo $lang->bug->openedBy;?></th>
<td><?php echo $users[$bug->openedBy];?></td>
</tr>
<tr>
@@ -266,8 +265,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
<table class='table table-form'>
<tbody>
<tr class='text-top'>
<?php $colWidth = common::checkNotCN() ? 'w-100px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->bug->linkBug;?></th>
<th class='thWidth'><?php echo $lang->bug->linkBug;?></th>
<td><?php echo html::a($this->createLink('bug', 'linkBugs', "bugID=$bug->id", '', true), $lang->bug->linkBugs, '', "class='text-primary' data-toggle='modal' data-type='iframe' data-width='95%'");?></td>
</tr>
<tr>
+1 -2
View File
@@ -32,8 +32,7 @@ js::set('productID' , $bug->product);
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-130px' : 'w-100px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->bug->resolution;?></th>
<th class='thWidth'><?php echo $lang->bug->resolution;?></th>
<td class='w-p35-f'><?php echo html::select('resolution', $lang->bug->resolutionList, '', "class='form-control chosen' onchange=setDuplicate(this.value)");?></td>
<td></td>
</tr>
+2 -4
View File
@@ -102,11 +102,10 @@
</ul>
<div class='tab-content'>
<div class='tab-pane active' id='legendBasicInfo'>
<?php $widthClass = common::checkNotCN() ? 'w-110px' : 'w-70px';?>
<table class="table table-data">
<tbody>
<tr valign='middle'>
<th class='<?php echo $widthClass;?>'><?php echo $lang->bug->product;?></th>
<th class='thWidth'><?php echo $lang->bug->product;?></th>
<td><?php if(!common::printLink('bug', 'browse', "productID=$bug->product", $productName)) echo $productName;?></td>
</tr>
<?php if($this->session->currentProductType != 'normal'):?>
@@ -271,11 +270,10 @@
</ul>
<div class='tab-content'>
<div class='tab-pane active' id='legendLife'>
<?php $widthClass = common::checkNotCN() ? 'w-100px' : 'w-90px';?>
<table class="table table-data">
<tbody>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->bug->openedBy;?></th>
<th class='thWidth'><?php echo $lang->bug->openedBy;?></th>
<td> <?php echo zget($users, $bug->openedBy) . $lang->at . $bug->openedDate;?></td>
</tr>
<tr>
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+1 -2
View File
@@ -23,8 +23,7 @@
<form class='main-form' method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-120px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->company->name;?></th>
<th class='thWidth'><?php echo $lang->company->name;?></th>
<td><?php echo html::input('name', $company->name, "class='form-control'");?></td>
</tr>
<tr>
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:250px !important;}
html[lang^='zh-'] .thWidth{width:120px !important;}
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:140px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+1 -2
View File
@@ -33,11 +33,10 @@
</div>
</div>
<table class='table table-form mw-800px'>
<?php $colWidth = common::checkNotCN() ? 'w-250px' : 'w-120px';?>
<?php $i = 0;?>
<?php foreach($requiredFields as $method => $requiredField):?>
<tr>
<th class='<?php echo $colWidth;?>'>
<th class='thWidth'>
<?php
$fields = $this->custom->getFormFields($moduleName, $method);
+1 -2
View File
@@ -54,8 +54,7 @@ EOT;
<?php if(($module == 'story' or $module == 'testcase') and $field == 'review'):?>
<table class='table table-form mw-800px'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-140px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->custom->storyReview;?></th>
<th class='thWidth'><?php echo $lang->custom->storyReview;?></th>
<td><?php echo html::radio('needReview', $lang->custom->reviewList, $needReview);?></td>
<td></td>
</tr>
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:130px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+1 -2
View File
@@ -23,8 +23,7 @@ $jsRoot = $webRoot . "js/";
<form action="<?php echo inlink('edit', 'deptID=' . $dept->id);?>" target='hiddenwin' method='post' class='mt-10px' id='dataform'>
<table class='table table-form' style='width:100%'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-130px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->dept->parent;?></th>
<th class='thWidth'><?php echo $lang->dept->parent;?></th>
<td><?php echo html::select('parent', $optionMenu, $dept->parent, "class='form-control chosen'");?></td>
</tr>
<tr>
+3
View File
@@ -6,3 +6,6 @@
#mainMenu #groupName{line-height:33px; float: left}
.checkbox-right{padding-left:0px !important;}
.thWidth{width:180px !important;}
html[lang^='zh-'] .thWidth{width:150px !important;}
+3
View File
@@ -4,3 +4,6 @@
.checkbox-primary>label{padding-left:20px;}
.pl-0px {padding-left:0px !important;}
.pt-0px {padding-top:0px !important;}
.thWidth{width:130px !important;}
html[lang^='zh-'] .thWidth{width:100px !important;}
+1 -2
View File
@@ -21,8 +21,7 @@
<form class="load-indicator main-form form-ajax" id="manageViewForm" method="post" target='hiddenwin'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-130px' : 'w-100px';?>
<th class='text-bottom <?php echo $colWidth;?>'><?php echo $lang->group->viewList;?></th>
<th class='text-bottom thWidth'><?php echo $lang->group->viewList;?></th>
<td class='text-bottom'>
<?php foreach($lang->menu as $menuKey => $menu):?>
<?php if(!is_string($menu)) continue;?>
+3 -6
View File
@@ -26,8 +26,7 @@
</tr>
</thead>
<tr class='<?php echo cycle('even, bg-gray');?>'>
<?php $colWidth = common::checkNotCN() ? 'w-180px' : 'w-150px';?>
<th class='text-right <?php echo $colWidth;?>'><?php echo $lang->my->common;?></th>
<th class='text-right thWidth'><?php echo $lang->my->common;?></th>
<td id='my' class='pv-10px'>
<div class='checkbox-primary'>
<input type='checkbox' name='actions[my][]' value='limited' <?php if(isset($groupPrivs['my']['limited'])) echo "checked";?> />
@@ -73,8 +72,7 @@
<table class='table table-hover table-striped table-bordered' id='privList'>
<thead>
<tr class='text-center'>
<?php $colWidth = common::checkNotCN() ? 'w-180px' : 'w-150px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->group->module;?></th>
<th class='thWidth'><?php echo $lang->group->module;?></th>
<th><?php echo $lang->group->method;?></th>
</tr>
</thead>
@@ -98,8 +96,7 @@
}
?>
<tr class='<?php echo cycle('even, bg-gray');?>'>
<?php $colWidth = common::checkNotCN() ? 'w-180px' : 'w-150px';?>
<th class='text-middle text-right <?php echo $colWidth;?>'>
<th class='text-middle text-right thWidth'>
<div class="checkbox-primary checkbox-inline checkbox-right check-all">
<input type='checkbox' id='allChecker<?php echo $moduleName;?>'>
<label class='text-right' for='allChecker<?php echo $moduleName;?>'><?php echo $lang->$moduleName->common;?></label>
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:130px !important;}
html[lang^='zh-'] .thWidth{width:100px !important;}
+1 -2
View File
@@ -22,9 +22,8 @@
</div>
<form method='post' target='hiddenwin'>
<table align='center' class='table table-form w-320px'>
<?php $thWidth = common::checkNotCN() ? 'w-130px' : 'w-90px';?>
<tr>
<th class='rowhead <?php echo $thWidth?>'><?php echo $lang->user->account;?></th>
<th class='rowhead thWidth'><?php echo $lang->user->account;?></th>
<td><?php echo $user->account . html::hidden('account',$user->account);?></td>
</tr>
<tr>
+3
View File
@@ -1 +1,4 @@
#product_chosen .chosen-single{width:180px;}
.thWidth{width:130px !important;}
html[lang^='zh-'] .thWidth{width:100px !important;}
+2
View File
@@ -6,3 +6,5 @@
#burnLegend > div > .barline {position: absolute; width: 20px; left: 0; top: 13px; height: 3px; background: #EEEEEE;}
#burnLegend .line-real .bg-primary{background: #1183fb}
.thWidth{width:150px !important;}
html[lang^='zh-'] .thWidth{width:120px !important;}
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:100px !important;}
+1 -2
View File
@@ -40,8 +40,7 @@
</th>
<th><?php common::printOrderLink('name', $orderBy, $vars, $lang->project->name);?></th>
<th class='w-100px'><?php common::printOrderLink('code', $orderBy, $vars, $lang->project->code);?></th>
<?php $colWidth = common::checkNotCN() ? 'w-130px' : 'w-100px';?>
<th class='<?php echo $colWidth;?>'><?php common::printOrderLink('PM', $orderBy, $vars, $lang->project->PM);?></th>
<th class='thWidth'><?php common::printOrderLink('PM', $orderBy, $vars, $lang->project->PM);?></th>
<th class='w-90px'><?php common::printOrderLink('end', $orderBy, $vars, $lang->project->end);?></th>
<th class='w-90px'><?php common::printOrderLink('status', $orderBy, $vars, $lang->project->status);?></th>
<th class='w-70px'><?php echo $lang->project->totalEstimate;?></th>
+1 -1
View File
@@ -27,7 +27,7 @@
echo $lang->project->howToUpdateBurn;
?>
<?php if($interval):?>
<div class='input-control <?php echo common::checkNotCN() ? "w-150px" : "w-120px" ?>'>
<div class='input-control thWidth'>
<?php echo html::select('interval', $dayList, $interval, "class='form-control chosen'");?>
</div>
<?php endif;?>
+2 -3
View File
@@ -196,11 +196,10 @@
<div class="detail-content">
<table class="table table-data">
<tbody>
<?php $class = common::checkNotCN() ? 'w-120px' : 'w-100px';?>
<?php if($config->global->flow != 'onlyStory'):?>
<?php if(!empty($fromBug)):?>
<tr class='text-top'>
<th class=<?php echo $class;?>><?php echo $lang->story->legendFromBug;?></th>
<th class='thWidth'><?php echo $lang->story->legendFromBug;?></th>
<td class='pd-0'>
<ul class='list-unstyled'>
<?php echo "<li title='#$fromBug->id $fromBug->title'>" . html::a($this->createLink('bug', 'view', "bugID=$fromBug->id"), "#$fromBug->id $fromBug->title") . '</li>';?>
@@ -209,7 +208,7 @@
</tr>
<?php endif;?>
<tr class='text-top'>
<th class=<?php echo $class;?>><?php echo $lang->story->legendBugs;?></th>
<th class='thWidth'><?php echo $lang->story->legendBugs;?></th>
<td class='pd-0'>
<?php if(empty($bugs)):?>
<?php echo $lang->noData;?>
+9 -6
View File
@@ -15,8 +15,6 @@ $jsRoot = $this->app->getWebRoot() . "js/";
include '../../common/view/datepicker.html.php';
include '../../common/view/chosen.html.php';
$formId = 'searchForm-' . uniqid('');
$fieldWidth = common::checkNotCN() ? 'w-130px' : 'w-110px';
$operatorWidth = common::checkNotCN() ? 'w-110px' : 'w-90px';
?>
<style>
#selectPeriod {padding: 4px 0; height: 197px; min-width: 120px}
@@ -59,6 +57,11 @@ $operatorWidth = common::checkNotCN() ? 'w-110px' : 'w-90px';
<?php endif;?>
#toggle-queries{position: absolute; right: 0px; top: 40px; width: 13px; background: #79cdfb; border-radius: 6px; height: 30px;cursor: pointer}
#toggle-queries .icon{ position: absolute; top: 6px; right: -2px; color: #fff;}
.fieldWidth{width:130px !important;}
.operatorWidth{width:110px !important;}
html[lang^='zh-'] .fieldWidth{width:110px !important;}
html[lang^='zh-'] .operatorWidth{width:90px !important;}
</style>
<?php if($style != 'simple'):?>
<div id='toggle-queries'>
@@ -113,10 +116,10 @@ foreach($fieldParams as $fieldName => $param)
echo '</td>';
/* Print field. */
echo "<td class='{$fieldWidth}' style='overflow: visible'>" . html::select("field$fieldNO", $searchFields, $formSession["field$fieldNO"], "onchange='setField(this, $fieldNO, {$module}params)' class='form-control chosen'") . '</td>';
echo "<td class='fieldWidth' style='overflow: visible'>" . html::select("field$fieldNO", $searchFields, $formSession["field$fieldNO"], "onchange='setField(this, $fieldNO, {$module}params)' class='form-control chosen'") . '</td>';
/* Print operator. */
echo "<td class='{$operatorWidth}'>" . html::select("operator$fieldNO", $lang->search->operators, $formSession["operator$fieldNO"], "class='form-control'") . '</td>';
echo "<td class='operatorWidth'>" . html::select("operator$fieldNO", $lang->search->operators, $formSession["operator$fieldNO"], "class='form-control'") . '</td>';
/* Print value. */
echo "<td id='valueBox$fieldNO' style='overflow:visible'>";
@@ -173,10 +176,10 @@ foreach($fieldParams as $fieldName => $param)
echo '</td>';
/* Print field. */
echo "<td class='{$fieldWidth}' style='overflow: visible'>" . html::select("field$fieldNO", $searchFields, $formSession["field$fieldNO"], "onchange='setField(this, $fieldNO, {$module}params)' class='form-control chosen'") . '</td>';
echo "<td class='fieldWidth' style='overflow: visible'>" . html::select("field$fieldNO", $searchFields, $formSession["field$fieldNO"], "onchange='setField(this, $fieldNO, {$module}params)' class='form-control chosen'") . '</td>';
/* Print operator. */
echo "<td class='{$operatorWidth}'>" . html::select("operator$fieldNO", $lang->search->operators, $formSession["operator$fieldNO"], "class='form-control'") . '</td>';
echo "<td class='operatorWidth'>" . html::select("operator$fieldNO", $lang->search->operators, $formSession["operator$fieldNO"], "class='form-control'") . '</td>';
/* Print value. */
echo "<td id='valueBox$fieldNO'>";
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:150px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+5
View File
@@ -1 +1,6 @@
#product_chosen .chosen-single{border-right-width:1px}
.thWidth{width:100px !important;}
.linkThWidth{width:110px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
html[lang^='zh-'] .linkThWidth{width:70px !important;}
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:110px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+5
View File
@@ -1,3 +1,8 @@
.side-col .cell{padding:0px;}
.side-col #legendProjectAndTask .list-unstyled{padding:10px; border-top:0px; margin:0px;}
.col-4 .cell .tab-content .text-top{padding-top: 1px}
#legendLifeTime .thWidth{width:100px !important;}
#legendRelated .thWidth{width:110px !important;}
html[lang^='zh-'] #legendLifeTime .thWidth{width:70px !important;}
html[lang^='zh-'] #legendRelated .thWidth{width:70px !important;}
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:90px !important;}
+1 -2
View File
@@ -25,8 +25,7 @@
<form method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-150px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->story->closedReason;?></th>
<th class='thWidth'><?php echo $lang->story->closedReason;?></th>
<td class='w-p25-f'><?php echo html::select('closedReason', $lang->story->reasonList, '', 'class="form-control" onchange="setStory(this.value)"');?></td><td></td>
</tr>
<tr id='duplicateStoryBox' style='display:none'>
+2 -4
View File
@@ -67,8 +67,7 @@
<div class='detail-title'><?php echo $lang->story->legendBasicInfo;?></div>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-100px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->story->product;?></th>
<th class='thWidth'><?php echo $lang->story->product;?></th>
<td>
<div class='input-group'>
<?php echo html::select('product', $products, $story->product, "onchange='loadProduct(this.value);' class='form-control chosen control-product'");?>
@@ -210,8 +209,7 @@
</tr>
<?php endif;?>
<tr>
<?php $width = common::checkNotCN() ? 'w-110px': 'w-70px'?>
<th class=<?php echo $width?>><?php echo $lang->story->linkStories;?></th>
<th class='linkThWidth'><?php echo $lang->story->linkStories;?></th>
<td><?php echo html::a($this->createLink('story', 'linkStory', "storyID=$story->id&type=linkStories", '', true), $lang->story->linkStory, '', "data-toggle='modal' data-type='iframe' data-width='95%'");?></td>
</tr>
<tr>
+1 -2
View File
@@ -27,8 +27,7 @@ var assignedTo = '<?php $story->lastEditedBy ? print($story->lastEditedBy) : pri
<form method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-110px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->story->reviewedDate;?></th>
<th class='thWidth'><?php echo $lang->story->reviewedDate;?></th>
<td class='w-p25-f'><?php echo html::input('reviewedDate', helper::today(), "class='form-control form-date'");?></td><td></td>
</tr>
<tr>
+4 -6
View File
@@ -232,11 +232,10 @@
</table>
</div>
<div class='tab-pane' id='legendLifeTime'>
<?php $widthClass = common::checkNotCN() ? 'w-100px' : 'w-70px';?>
<table class="table table-data">
<tbody>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->story->openedBy;?></th>
<th class='thWidth'><?php echo $lang->story->openedBy;?></th>
<td><?php echo $users[$story->openedBy] . $lang->at . $story->openedDate;?></td>
</tr>
<tr>
@@ -314,13 +313,12 @@
</div>
<?php endif;?>
<div class="tab-pane <?php if($config->global->flow == 'onlyStory') echo 'active';?>" id='legendRelated'>
<?php $widthClass = common::checkNotCN() ? 'w-110px' : 'w-70px';?>
<table class="table table-data">
<tbody>
<?php if($config->global->flow != 'onlyStory'):?>
<?php if(!empty($fromBug)):?>
<tr class='text-top'>
<th class='<?php echo $widthClass;?>'><?php echo $lang->story->legendFromBug;?></th>
<th class='thWidth'><?php echo $lang->story->legendFromBug;?></th>
<td class='pd-0'>
<ul class='list-unstyled'>
<?php echo "<li title='#$fromBug->id $fromBug->title'>" . html::a($this->createLink('bug', 'view', "bugID=$fromBug->id", '', true), "#$fromBug->id $fromBug->title", '', "class='iframe' data-width='80%'") . '</li>';?>
@@ -329,7 +327,7 @@
</tr>
<?php endif;?>
<tr>
<th class='text-top <?php echo $widthClass;?>'><?php echo $lang->story->legendBugs;?></th>
<th class='text-top thWidth'><?php echo $lang->story->legendBugs;?></th>
<td class='pd-0'>
<ul class='list-unstyled'>
<?php
@@ -356,7 +354,7 @@
</tr>
<?php endif;?>
<tr>
<th class='text-top <?php echo $widthClass;?>'><?php echo $lang->story->legendLinkStories;?></th>
<th class='text-top thWidth'><?php echo $lang->story->legendLinkStories;?></th>
<td class='pd-0'>
<ul class='list-unstyled'>
<?php
+1 -2
View File
@@ -32,8 +32,7 @@
<th class='w-pri'> <?php common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);?></th>
<th class='w-p30'> <?php common::printOrderLink('title', $orderBy, $vars, $lang->story->title);?></th>
<th> <?php common::printOrderLink('plan', $orderBy, $vars, $lang->story->planAB);?></th>
<?php $colWidth = common::checkNotCN() ? 'w-120px' : 'w-90px';?>
<th class='<?php echo $colWidth;?>'><?php common::printOrderLink('source', $orderBy, $vars, $lang->story->source);?></th>
<th class='thWidth'><?php common::printOrderLink('source', $orderBy, $vars, $lang->story->source);?></th>
<th class='w-100px'><?php common::printOrderLink('openedBy', $orderBy, $vars, $lang->openedByAB);?></th>
<th class='w-100px'><?php common::printOrderLink('assignedTo', $orderBy, $vars, $lang->assignedToAB);?></th>
<th class='w-70px'> <?php common::printOrderLink('estimate', $orderBy, $vars, $lang->story->estimateAB);?></th>
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:90px !important;}
html[lang^='zh-'] .thWidth{width:70px !important;}
+4
View File
@@ -0,0 +1,4 @@
.thWidth{width:85px !important;}
.lifeThWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:70px !important;}
html[lang^='zh-'] .lifeThWidth{width:70px !important;}
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:100px !important;}
+3
View File
@@ -1 +1,4 @@
.form-condensed .table-form {margin-bottom: 20px;}
.thWidth{width:90px !important;}
html[lang^='zh-'] .thWidth{width:70px !important;}
+5
View File
@@ -1,3 +1,8 @@
.side-col .cell{padding:0px;}
.side-col #legendProjectAndTask .list-unstyled{padding:10px; border:1px solid #ddd; border-top:0px; margin:0px;}
.tab-pane table {border: 1px solid #ddd; border-top: none;}
#legendLife .thWidth{width:100px !important;}
.effortThWidth{width:90px !important;}
html[lang^='zh-'] #legendLife .thWidth{width:70px !important;}
html[lang^='zh-'] .effortThWidth{width:70px !important;}
+1 -2
View File
@@ -27,8 +27,7 @@
<form method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-90px' : 'w-70px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->task->assignedTo;?></th>
<th class='thWidth'><?php echo $lang->task->assignedTo;?></th>
<td class='w-p25-f'><?php echo html::select('assignedTo', $members, $task->finishedBy, "class='form-control chosen'");?></td>
<td></td>
</tr>
+4 -6
View File
@@ -20,7 +20,6 @@
<?php js::set('confirmChangeProject', $lang->task->confirmChangeProject);?>
<?php js::set('changeProjectConfirmed', false);?>
<?php js::set('newRowCount', count($task->team) < 6 ? 6 - count($task->team) : 1);?>
<?php $thWidth = common::checkNotCN() ? 'w-85px' : 'w-70px';?>
<div class='main-content' id='mainContent'>
<form method='post' enctype='multipart/form-data' target='hiddenwin' id='dataform'>
<div class='main-header'>
@@ -91,12 +90,12 @@
<table class='table table-form'>
<?php if($task->parent <= 0):?>
<tr>
<th class=<?php echo $thWidth;?>><?php echo $lang->task->project;?></th>
<th class='thWidth'><?php echo $lang->task->project;?></th>
<td><?php echo html::select('project', $projects, $task->project, 'class="form-control chosen" onchange="loadAll(this.value)"');?></td>
</tr>
<?php endif;?>
<tr>
<th class=<?php echo $thWidth;?>><?php echo $lang->task->module;?></th>
<th class='thWidth'><?php echo $lang->task->module;?></th>
<td id="moduleIdBox"><?php echo html::select('module', $modules, $task->module, 'class="form-control chosen" onchange="loadModuleRelated()"');?></td>
</tr>
<?php if($config->global->flow != 'onlyTask' and $project->type != 'ops'):?>
@@ -148,7 +147,7 @@
<div class='detail-title'><?php echo $lang->task->legendEffort;?></div>
<table class='table table-form'>
<tr>
<th class=<?php echo $thWidth;?>><?php echo $lang->task->estStarted;?></th>
<th class='thWidth'><?php echo $lang->task->estStarted;?></th>
<td><?php echo html::input('estStarted', $task->estStarted, "class='form-control form-date'");?></td>
</tr>
<tr>
@@ -177,10 +176,9 @@
</div>
<div class='detail'>
<div class='detail-title'><?php echo $lang->task->legendLife;?></div>
<?php $thWidth = common::checkNotCN() ? 'w-120px' : 'w-70px';?>
<table class='table table-form'>
<tr>
<th class=<?php echo $thWidth;?>><?php echo $lang->task->openedBy;?></th>
<th class='lifeThWidth'><?php echo $lang->task->openedBy;?></th>
<td><?php echo $users[$task->openedBy];?></td>
</tr>
<tr>
+2 -3
View File
@@ -35,14 +35,13 @@
<form method='post' enctype='multipart/form-data' target='hiddenwin'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-120px' : 'w-100px';?>
<th class='<?php echo $colWidth;?>'><?php echo !empty($task->team) ? $lang->task->common . $lang->task->consumed : $lang->task->hasConsumed;?></th>
<th class='thWidth'><?php echo !empty($task->team) ? $lang->task->common . $lang->task->consumed : $lang->task->hasConsumed;?></th>
<td class='w-p25-f'><?php echo $task->consumed;?> <?php echo $lang->workingHour;?></td>
<td></td>
</tr>
<?php if(!empty($task->team)):?>
<tr>
<th class='<?php echo $colWidth;?>'><?php echo $lang->task->hasConsumed;?></th>
<th class='thWidth'><?php echo $lang->task->hasConsumed;?></th>
<td class='w-p25-f'><?php echo (float)$task->myConsumed;?> <?php echo $lang->workingHour;?></td><td></td>
</tr>
<?php endif;?>
+2 -3
View File
@@ -24,7 +24,6 @@
<?php $team = array_keys($task->team);?>
<?php js::set('confirmRecord', (!empty($team) && $task->assignedTo != end($team)) ? $lang->task->confirmTransfer : $lang->task->confirmRecord);?>
<?php js::set('noticeSaveRecord', $lang->task->noticeSaveRecord);?>
<?php $colWidth = common::checkNotCN() ? 'w-90px' : 'w-70px';?>
<div id='mainContent' class='main-content'>
<div class='center-block'>
<div class='main-header'>
@@ -42,8 +41,8 @@
<tr class='text-center'>
<th class="w-id"><?php echo $lang->idAB;?></th>
<th class="w-120px"><?php echo $lang->task->date;?></th>
<th class="<?php echo $colWidth;?>"><?php echo $lang->task->consumed;?></th>
<th class="<?php echo $colWidth;?>"><?php echo $lang->task->left;?></th>
<th class="thWidth"><?php echo $lang->task->consumed;?></th>
<th class="thWidth"><?php echo $lang->task->left;?></th>
<th><?php echo $lang->comment;?></th>
<th class='c-actions-2'><?php if(empty($task->team) or $task->assignedTo == $this->app->user->account) echo $lang->actions;?></th>
</tr>
+2 -4
View File
@@ -288,10 +288,9 @@
</table>
</div>
<div class='tab-pane' id='legendLife'>
<?php $widthClass = common::checkNotCN() ? 'w-100px' : 'w-70px';?>
<table class='table table-data'>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->task->openedBy;?></th>
<th class='thWidth'><?php echo $lang->task->openedBy;?></th>
<td><?php echo $task->openedBy ? zget($users, $task->openedBy, $task->openedBy) . $lang->at . $task->openedDate : $lang->noData;?></td>
</tr>
<tr>
@@ -344,9 +343,8 @@
<summary class="detail-title"><?php echo $lang->task->legendEffort;?></summary>
<div class="detail-content">
<table class='table table-data'>
<?php $widthClass = common::checkNotCN() ? 'w-90px' : 'w-70px';?>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->task->estimate;?></th>
<th class='effortThWidth'><?php echo $lang->task->estimate;?></th>
<td><?php echo $task->estimate . $lang->workingHour;?></td>
</tr>
<tr>
+5
View File
@@ -4,3 +4,8 @@
.outer .col-side .side-handle{right:0px;top:10px;}
.outer.hide-side .main-side{display:none;}
.table-fixed td{white-space: unset;}
.thWidth{width:90px !important;}
.lifeThWidth{width:100px !important;}
html[lang^='zh-'] .thWidth{width:60px !important;}
html[lang^='zh-'] .lifeThWidth{width:60px !important;}
+5 -8
View File
@@ -132,16 +132,15 @@
<details class="detail" open>
<summary class="detail-title"><?php echo $lang->testcase->legendBasicInfo;?></summary>
<div class="detail-content">
<?php $widthClass = common::checkNotCN() ? 'w-90px' : 'w-60px';?>
<table class='table table-data'>
<?php if($isLibCase):?>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->testcase->lib;?></th>
<th class='thWidth'><?php echo $lang->testcase->lib;?></th>
<td><?php if(!common::printLink('testsuite', 'library', "libID=$case->lib", $libName)) echo $libName;?></td>
</tr>
<?php else:?>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->testcase->product;?></th>
<th class='thWidth'><?php echo $lang->testcase->product;?></th>
<td><?php if(!common::printLink('testcase', 'browse', "productID=$case->product", $productName)) echo $productName;?></td>
</tr>
<?php if($this->session->currentProductType != 'normal'):?>
@@ -276,17 +275,16 @@
<details class="detail" open>
<summary class="detail-title"><?php echo $lang->testcase->legendLinkBugs;?></summary>
<div class="detail-content">
<?php $widthClass = common::checkNotCN() ? 'w-90px' : 'w-60px';?>
<table class='table table-data'>
<?php if($case->fromBug):?>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->testcase->fromBug;?></th>
<th class='thWidth'><?php echo $lang->testcase->fromBug;?></th>
<td><?php echo html::a($this->createLink('bug', 'view', "bugID=$case->fromBug", '', true), $case->fromBugTitle, '', "class='iframe' data-width='80%'");?></td>
</tr>
<?php endif;?>
<?php if($case->toBugs):?>
<tr>
<th class='<?php echo $widthClass;?>' valign="top"><?php echo $lang->testcase->toBug;?></th>
<th class='thWidth' valign="top"><?php echo $lang->testcase->toBug;?></th>
<td>
<?php
foreach($case->toBugs as $bugID => $bugTitle)
@@ -306,10 +304,9 @@
<details class="detail" open>
<summary class="detail-title"><?php echo $lang->testcase->legendOpenAndEdit;?></summary>
<div class="detail-content">
<?php $widthClass = common::checkNotCN() ? 'w-100px' : 'w-60px';?>
<table class='table table-data'>
<tr>
<th class='<?php echo $widthClass;?>'><?php echo $lang->testcase->openedBy;?></th>
<th class='lifeThWidth'><?php echo $lang->testcase->openedBy;?></th>
<td><?php echo $users[$case->openedBy] . $lang->at . $case->openedDate;?></td>
</tr>
<?php if($config->testcase->needReview or !empty($config->testcase->forceReview)):?>
+5
View File
@@ -3,3 +3,8 @@
#end_chosen .chosen-single{border-left: none;}
.cycleConfig .checkbox-primary{float:left; width:100px;}
.cycleConfig .tab-pane{padding:8px 0px;}
.thWidth{width:110px !important;}
.inputGroupWidth{width:270px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
html[lang^='zh-'] .inputGroupWidth{width:200px !important;}
+3
View File
@@ -1,2 +1,5 @@
#projectModal .modal-dialog, #productModal .modal-dialog {top: auto!important; bottom: 90px;}
.body-modal #projectModal .modal-dialog, .body-modal #productModal .modal-dialog {top: auto!important; bottom: 55px;}
.thWidth{width:100px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+2 -3
View File
@@ -22,8 +22,7 @@
<form method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-110px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->todo->date;?></th>
<th class='thWidth'><?php echo $lang->todo->date;?></th>
<td class='w-400px'>
<div class='input-group'>
<?php echo html::input('date', $date, "class='form-control form-date'");?>
@@ -76,7 +75,7 @@
</div>
</div>
<?php echo html::hidden('config[type]', 'day')?>
<div class='input-group' style='width:<?php echo common::checkNotCN() ? '270px' : '200px';?>; padding-top:5px;'>
<div class='input-group inputGroupWidth' style='padding-top:5px;'>
<?php printf($lang->todo->beforeDays, html::input('config[beforeDays]', 0, "class='form-control'"));?>
</div>
</td>
+3 -5
View File
@@ -93,8 +93,7 @@
<div class='detail-content'>
<table class='table table-data'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-100px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->todo->pri;?></th>
<th class='thWidth'><?php echo $lang->todo->pri;?></th>
<td><span title="<?php echo zget($lang->todo->priList, $todo->pri);?>" class='label-pri <?php echo 'label-pri-' . $todo->pri;?>' title='<?php echo zget($lang->todo->priList, $todo->pri, $todo->pri);?>'><?php echo zget($lang->todo->priList, $todo->pri)?></span></td>
</tr>
<tr>
@@ -137,12 +136,11 @@
<div class='detail-content'>
<table class='table table-data'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-100px' : 'w-80px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->todo->beginAndEnd?></th>
<th class='thWidth'><?php echo $lang->todo->beginAndEnd?></th>
<td><?php echo $todo->config->begin . " ~ " . $todo->config->end;?></td>
</tr>
<tr>
<th class='<?php echo $colWidth;?> text-top'><?php echo $lang->todo->cycleConfig?></th>
<th class='thWidth text-top'><?php echo $lang->todo->cycleConfig?></th>
<td>
<?php
if($todo->config->type == 'day')
+2
View File
@@ -0,0 +1,2 @@
.thWidth{width:150px !important;}
html[lang^='zh-'] .thWidth{width:110px !important;}
+3
View File
@@ -14,3 +14,6 @@
#finishedLangs .item{height:30px;}
#finishedLangs .item h4{margin:0; height:100%; line-height:30px;}
#finishedLangs .item .pull-right{color:#999; line-height:30px;}
.thWidth{width:130px !important;}
html[lang^='zh-'] .thWidth{width:95px !important;}
+1 -1
View File
@@ -33,7 +33,7 @@
<?php if($config->translate->needReview):?>
<th class='w-90px'><?php echo $lang->translate->reviewedProgress;?></th>
<?php endif;?>
<th class='<?php echo common::checkNotCN() ? 'w-150px' : 'w-110px';?>'><?php echo $lang->actions;?></th>
<th class='thWidth'><?php echo $lang->actions;?></th>
</tr>
</thead>
<tbody class='text-center'>
+1 -1
View File
@@ -48,7 +48,7 @@
<tr>
<th class='text-left'><?php echo $data->name;?></th>
<td class='text-progress text-center'><?php printf($lang->translate->progress, ($data->progress * 100) . '%');?></td>
<td class='actions <?php echo common::checkNotCN() ? 'w-130px' : 'w-95px';?>'>
<td class='actions thWidth'>
<?php
echo html::a(inlink('chooseModule', "language=$langKey"), $lang->translate->common, '', "class='btn btn-sm $disabled'");
echo html::a(inlink('export', "language=$langKey"), $lang->export, '', "class='btn btn-sm iframe $disabled'");
+3
View File
@@ -1 +1,4 @@
body{background:white; overflow:none}
.thWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:80px !important;}
+5 -6
View File
@@ -23,33 +23,32 @@ js::set('type', $type);
<div class='modal-body'>
<form action="<?php echo inlink('edit', 'module=' . $module->id .'&type=' .$type);?>" target='hiddenwin' method='post' class='mt-10px' id='dataform'>
<table class='table table-form'>
<?php $colWidth = common::checkNotCN() ? 'w-120px' : 'w-80px';?>
<?php if($showProduct):?>
<tr>
<th class='<?php echo $colWidth;?>'><?php echo $lang->tree->product;?></th>
<th class='thWidth'><?php echo $lang->tree->product;?></th>
<td><?php echo html::select('root', $products, $module->root, "class='form-control chosen'");?></td>
</tr>
<?php endif;?>
<?php $hidden = ($type != 'story' and $module->type == 'story');?>
<?php if($type == 'doc'):?>
<tr>
<th class='<?php echo $colWidth;?>'><?php echo $lang->doc->lib;?></th>
<th class='thWidth'><?php echo $lang->doc->lib;?></th>
<td><?php echo html::select('root', $libs, $module->root, "class='form-control chosen' onchange=loadDocModule(this.value)");?></td>
</tr>
<?php endif;?>
<?php if($module->type != 'line'):?>
<tr <?php if($hidden) echo "style='display:none'";?>>
<th class='<?php echo $colWidth;?>'><?php echo ($type == 'doc' || $type == 'feedback') ? $lang->tree->parentCate : $lang->tree->parent;?></th>
<th class='thWidth'><?php echo ($type == 'doc' || $type == 'feedback') ? $lang->tree->parentCate : $lang->tree->parent;?></th>
<td><?php echo html::select('parent', $optionMenu, $module->parent, "class='form-control chosen'");?></td>
</tr>
<?php endif;?>
<tr <?php if($hidden) echo "style='display:none'";?>>
<th class='<?php echo $colWidth;?>'><?php echo ($type == 'doc' || $type == 'feedback') ? $lang->tree->cate : $lang->tree->name;?></th>
<th class='thWidth'><?php echo ($type == 'doc' || $type == 'feedback') ? $lang->tree->cate : $lang->tree->name;?></th>
<td><?php echo html::input('name', $module->name, "class='form-control'");?></td>
</tr>
<?php if($type == 'bug'):?>
<tr>
<th class='<?php echo $colWidth;?>'><?php echo $lang->tree->owner;?></th>
<th class='thWidth'><?php echo $lang->tree->owner;?></th>
<td><?php echo html::select('owner', $users, $module->owner, "class='form-control chosen'", true);?></td>
</tr>
<?php endif;?>
+5
View File
@@ -1 +1,6 @@
th.required:after {position: relative; right: 10px;}
.accountThWidth{width:200px !important;}
.genderThWidth{width:140px !important;}
html[lang^='zh-'] .accountThWidth{width:180px !important;}
html[lang^='zh-'] .genderThWidth{width:90px !important;}
+2 -4
View File
@@ -37,14 +37,12 @@
<tr class='text-center'>
<th class='w-40px'><?php echo $lang->idAB;?></th>
<th class='w-150px<?php echo zget($visibleFields, 'dept', ' hidden')?>'><?php echo $lang->user->dept;?></th>
<?php $colWidth = common::checkNotCN() ? 'w-200px' : 'w-180px';?>
<th class='<?php echo $colWidth;?> required'><?php echo $lang->user->account;?></th>
<th class='accountThWidth required'><?php echo $lang->user->account;?></th>
<th class='w-130px required'><?php echo $lang->user->realname;?></th>
<th class='w-120px'><?php echo $lang->user->role;?></th>
<th class='w-120px'><?php echo $lang->user->group;?></th>
<th class='<?php echo zget($visibleFields, 'email', "$minWidth hidden", $minWidth)?>'><?php echo $lang->user->email;?></th>
<?php $colWidth = common::checkNotCN() ? 'w-140px' : 'w-90px';?>
<th class='<?php echo $colWidth; echo zget($visibleFields, 'gender', ' hidden')?>'><?php echo $lang->user->gender;?></th>
<th class='genderThWidth<?php echo zget($visibleFields, 'gender', ' hidden')?>'><?php echo $lang->user->gender;?></th>
<th class="<?php echo $minWidth;?> required"><?php echo $lang->user->password;?></th>
<th class='w-120px<?php echo zget($visibleFields, 'commiter', ' hidden')?>'><?php echo $lang->user->commiter;?></th>
<th class='w-120px<?php echo zget($visibleFields, 'join', ' hidden')?>'> <?php echo $lang->user->join;?></th>
+3
View File
@@ -3,3 +3,6 @@
.objectType {margin-right: 5px !important;}
#paramsTR th{padding-left:25px;}
#paramsTR th label{font-weight:bold; padding-left:25px;}
.thWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:90px !important;}
+3
View File
@@ -3,3 +3,6 @@
.objectType {margin-right: 5px !important;}
#paramsTR th{padding-left:25px;}
#paramsTR th label{font-weight:bold; padding-left:25px;}
.thWidth{width:120px !important;}
html[lang^='zh-'] .thWidth{width:90px !important;}
+1 -2
View File
@@ -21,8 +21,7 @@
<form id='webhookForm' method='post' class='form-ajax'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-120px' : 'w-90px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->webhook->type;?></th>
<th class='thWidth'><?php echo $lang->webhook->type;?></th>
<td style="width:550px" ><?php echo html::select('type', $lang->webhook->typeList, '', "class='form-control'");?></td>
<td></td>
</tr>
+1 -2
View File
@@ -20,8 +20,7 @@
<form id='webhookForm' method='post' class='form-ajax'>
<table class='table table-form'>
<tr>
<?php $colWidth = common::checkNotCN() ? 'w-120px' : 'w-90px';?>
<th class='<?php echo $colWidth;?>'><?php echo $lang->webhook->type;?></th>
<th class='thWidth'><?php echo $lang->webhook->type;?></th>
<td><?php echo html::select('type', $lang->webhook->typeList, $webhook->type, "class='form-control'");?></td>
<td></td>
</tr>