* fixed style.

This commit is contained in:
Catouse
2014-04-26 19:41:54 +08:00
parent a3985d73d7
commit d2decf65fc
13 changed files with 45 additions and 57 deletions
+5 -5
View File
@@ -24,8 +24,8 @@
<form class='form-condensed' method='post' enctype='multipart/form-data' target='hiddenwin'>
<table class='table table-form'>
<tr>
<th class='w-80px'><?php echo $lang->bug->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $bug->resolvedBy, "class='form-control'");?></td>
<th class='w-70px'><?php echo $lang->bug->assignedTo;?></th>
<td class='w-p25-f'><?php echo html::select('assignedTo', $users, $bug->resolvedBy, "class='form-control'");?></td><td></td>
</tr>
<tr>
<th><?php echo $lang->bug->openedBuild;?></th>
@@ -33,14 +33,14 @@
</tr>
<tr>
<th><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
<td colspan='2'><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->bug->files;?></th>
<td class='text-left'><?php echo $this->fetch('file', 'buildform');?></td>
<td colspan='2' class='text-left'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
<td colspan='3' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
</tr>
</table>
</form>
+7 -12
View File
@@ -161,6 +161,10 @@
<th><?php echo $lang->bug->keywords;?></th>
<td><?php echo $bug->keywords;?></td>
</tr>
<tr>
<th><?php echo $lang->bug->mailto;?></th>
<td><?php $mailto = explode(',', str_replace(' ', '', $bug->mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?></td>
</tr>
</table>
</div>
<div class='tab-pane' id='legendPrjStoryTask'>
@@ -194,7 +198,6 @@
<div class='tabs'>
<ul class='nav nav-tabs'>
<li class='active'><a href='#legendLife' data-toggle='tab'><?php echo $lang->bug->legendLife;?></a></li>
<li><a href='#case' data-toggle='tab'><?php echo $lang->bug->case;?></a></li>
<li><a href='#legendMisc' data-toggle='tab'><?php echo $lang->bug->legendMisc;?></a></li>
</ul>
<div class='tab-content'>
@@ -247,14 +250,14 @@
</tr>
</table>
</div>
<div class='tab-pane active' id='case'>
<table class='table table-data table-condensed table-borderless'>
<div class='tab-pane' id='legendMisc'>
<table class='table table-data table-condensed table-borderless table-fixed'>
<tr>
<th class='w-60px'><?php echo $lang->bug->fromCase;?></th>
<td><?php if($bug->case) echo html::a($this->createLink('testcase', 'view', "caseID=$bug->case"), $bug->caseTitle);?></td>
</tr>
<tr>
<th valign="top" class='rowhead w-p20'><?php echo $lang->bug->toCase;?></th>
<th><?php echo $lang->bug->toCase;?></th>
<td>
<?php
foreach($bug->toCases as $caseID => $case)
@@ -264,14 +267,6 @@
?>
</td>
</tr>
</table>
</div>
<div class='tab-pane active' id='legendMisc'>
<table class='table table-data table-condensed table-borderless table-fixed'>
<tr>
<th class='w-60px'><?php echo $lang->bug->mailto;?></th>
<td><?php $mailto = explode(',', str_replace(' ', '', $bug->mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?></td>
</tr>
<tr>
<th><?php echo $lang->bug->linkBug;?></th>
<td>