* improve style of linkcase views.

This commit is contained in:
Catouse
2018-05-29 17:59:00 +08:00
parent e225a64d8c
commit bd406387b5
5 changed files with 11 additions and 14 deletions
-1
View File
@@ -1 +0,0 @@
#queryBox.show {border-bottom: 1px solid #ddd;}
-1
View File
@@ -1 +0,0 @@
$(function(){ajaxGetSearchForm();})
+6 -5
View File
@@ -24,11 +24,11 @@
</div>
</div>
</div>
<div id='mainContent' class='main-content'>
<div class="cell" id="queryBox"></div>
<div class="cell show" id="queryBox"></div>
<div id='mainContent'>
<form class='main-table table-testcase' data-ride='table' method='post'>
<div class="table-header">
<div class="table-statistic"><i class="icon-unlink"></i> &nbsp;<strong><?php echo $lang->testsuite->unlinkedCases;?></strong> (<?php echo $pager->recTotal;?>)</div>
<i class="icon-unlink"></i> &nbsp;<strong><?php echo $lang->testsuite->unlinkedCases;?></strong> (<?php echo $pager->recTotal;?>)
</div>
<table class='table' id='testcaseList'>
<thead>
@@ -75,9 +75,10 @@
<?php if($cases):?>
<div class='table-footer'>
<div class="checkbox-primary check-all"><label><?php echo $lang->selectAll?></label></div>
<div class='table-actions btn-toolbar'>
<?php echo html::submitButton('', '', 'btn');?>
<div class='table-actions btn-toolbar show-always'>
<?php echo html::submitButton('', '', 'btn btn-secondary');?>
</div>
<div class="table-statistic"></div>
<?php $pager->show('right', 'pagerjs');?>
</div>
<?php endif;?>
-3
View File
@@ -1,3 +0,0 @@
.table > caption {border:1px solid #ddd; border-bottom: none;}
.heading-actions{display:inline-block;margin-top:-5px; margin-left:10px;}
.heading-actions .dropdown{margin-right:5px;}
+5 -4
View File
@@ -63,12 +63,12 @@
<?php echo "<a class='btn btn-link querybox-toggle' id='bysearchTab'><i class='icon icon-search muted'></i>{$lang->testcase->bySearch}</a>";?>
</div>
</div>
<div id='mainContent' class='main-content'>
<div class="cell" id="queryBox"></div>
<div class="cell show" id="queryBox"></div>
<div id='mainContent'>
<form class='main-table table-case' data-ride='table' method='post'>
<table class='table'>
<div class="table-header">
<div class="table-statistic"><strong><?php echo $lang->testtask->unlinkedCases;?></strong> (<?php echo $pager->recTotal;?>)</div>
<i class="icon-unlink"></i> &nbsp;<strong><?php echo $lang->testtask->unlinkedCases;?></strong> (<?php echo $pager->recTotal;?>)
</div>
<thead>
<tr>
@@ -122,7 +122,8 @@
<?php if($cases):?>
<div class='table-footer'>
<div class="checkbox-primary check-all"><label><?php echo $lang->selectAll?></label></div>
<div class="table-actions btn-toolbar"><?php echo html::submitButton('', '', 'btn');?></div>
<div class="table-actions btn-toolbar show-always"><?php echo html::submitButton('', '', 'btn btn-secondary');?></div>
<div class="table-statistic"></div>
<?php $pager->show('right', 'pagerjs');?>
</div>
<?php endif;?>