Skip to content

Commit

Permalink
* ajusted views.
Browse files Browse the repository at this point in the history
 * changed css names.
  • Loading branch information
catouse committed Mar 27, 2014
1 parent 99c8a05 commit ad3a1c2
Show file tree
Hide file tree
Showing 107 changed files with 917 additions and 768 deletions.
2 changes: 1 addition & 1 deletion module/admin/view/bind.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<table align='center' class='table-6'>
<caption><?php echo $lang->admin->bind->caption;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<th><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', '', "class='form-control'");?></td>
</tr>
<tr>
Expand Down
4 changes: 2 additions & 2 deletions module/admin/view/register.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<table align='center' class='table-6'>
<caption><?php echo $lang->admin->register->caption;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<th><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', '', "class='form-control'") . '<span class="star">*</span>' . $lang->admin->register->lblAccount;?></td>
</tr>
<tr>
Expand All @@ -39,7 +39,7 @@
<td><?php echo html::password('password1', '', "class='form-control'") . '<span class="star">*</span>' . $lang->admin->register->lblPasswd;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password2;?></td>
<th><?php echo $lang->user->password2;?></td>
<td><?php echo html::password('password2', '', "class='form-control'") . '<span class="star">*</span>';?></td>
</tr>
<tr>
Expand Down
8 changes: 4 additions & 4 deletions module/bug/view/activate.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
<table class='table-1'>
<caption><?php echo $bug->title;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo html::select('assignedTo', $users, $bug->resolvedBy, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo html::select('openedBuild[]', $builds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->files;?></th>
<th><?php echo $lang->bug->files;?></th>
<td class='text-left'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
Expand Down
12 changes: 6 additions & 6 deletions module/bug/view/assignto.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
js::set('holders', $lang->bug->placeholder);
js::set('page', 'assignedto');
?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $bug->title;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->bug->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='text-3 chosen'");?></td>
<th><?php echo $lang->bug->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='form-control chosen'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->mailto;?></td>
<td><?php echo $lang->bug->mailto;?></td>
<td><?php echo html::select('mailto[]', $users, str_replace(' ', '', $bug->mailto), 'class="w-p98" multiple');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
Expand Down
6 changes: 3 additions & 3 deletions module/bug/view/batchcreate.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/chosen.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1 fixed'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-fixed table-form'>
<caption><?php echo $lang->bug->project . $lang->colon . $lang->bug->batchCreate;?></caption>
<tr>
<th class='w-20px'> <?php echo $lang->idAB;?></th>
Expand All @@ -31,7 +31,7 @@
<?php for($i = 0; $i < $config->bug->batchCreate; $i++):?>
<tr class='text-center'>
<td><?php echo $i+1;?></td>
<td class='text-left' style='overflow:visible'><?php echo html::select("modules[$i]", $moduleOptionMenu, $moduleID, "class='select-1'");?></td>
<td class='text-left' style='overflow:visible'><?php echo html::select("modules[$i]", $moduleOptionMenu, $moduleID, "class='form-control'");?></td>
<td><?php echo html::select("projects[$i]", $projects, $projectID, "class='select-1' onchange='loadProjectBuilds($productID, this.value, $i)'");?></td>
<td class='text-left' style='overflow:visible' id='buildBox<?php echo $i;?>'><?php echo html::select("openedBuilds[$i][]", $builds, '', "class='select-1 chosen' multiple data-placeholder=' '");?></td>
<td><?php echo html::input("titles[$i]", '', 'class=form-control');?></td>
Expand Down
4 changes: 2 additions & 2 deletions module/bug/view/close.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $bug->title;?></caption>
<tr>
<td class='rowhead v-middle'><?php echo $lang->comment;?></td>
Expand Down
12 changes: 6 additions & 6 deletions module/bug/view/confirmbug.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,23 @@
js::set('holders', $lang->bug->placeholder);
js::set('page', 'confirmbug');
?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $bug->title;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->bug->assignedTo;?></th>
<th><?php echo $lang->bug->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='select-2 chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->pri;?></th>
<th><?php echo $lang->bug->pri;?></th>
<td><?php echo html::select('pri', $lang->bug->priList, $bug->pri, 'class=select-2');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->mailto;?></td>
<td><?php echo $lang->bug->mailto;?></td>
<td><?php echo html::select('mailto[]', $users, str_replace(' ' , '', $bug->mailto), 'class="w-p98" multiple');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p94'");?></td>
</tr>
<tr>
Expand Down
26 changes: 13 additions & 13 deletions module/bug/view/create.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<table class='table-1'>
<caption><?php echo $lang->bug->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblProductAndModule;?></th>
<th><?php echo $lang->bug->lblProductAndModule;?></th>
<td>
<?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value) class='form-control' autocomplete='off'");?>
<span id='moduleIdBox'>
Expand All @@ -43,27 +43,27 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->project;?></th>
<th><?php echo $lang->bug->project;?></th>
<td><span id='projectIdBox'><?php echo html::select('project', $projects, $projectID, 'class=select-3 onchange=loadProjectRelated(this.value) autocomplete="off"');?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->openedBuild;?></th>
<th><?php echo $lang->bug->openedBuild;?></th>
<td>
<span id='buildBox'>
<?php echo html::select('openedBuild[]', $builds, $buildID, 'size=4 multiple=multiple class=select-3');?>
</span>
</td>
</tr>
<tr>
<th class='rowhead'><nobr><?php echo $lang->bug->lblAssignedTo;?></nobr></th>
<th><nobr><?php echo $lang->bug->lblAssignedTo;?></nobr></th>
<td><span id='assignedToBox'><?php echo html::select('assignedTo', $users, $assignedTo, "class='form-control chosen'");?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->title;?></th>
<th><?php echo $lang->bug->title;?></th>
<td><?php echo html::input('title', $bugTitle, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->steps;?></th>
<th><?php echo $lang->bug->steps;?></th>
<td>
<div style='position:relative'>
<div class='w-p85 bd-none padding-zero f-left'><?php echo html::textarea('steps', $steps, "rows='10'");?></div>
Expand All @@ -72,31 +72,31 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblStory;?></th>
<th><?php echo $lang->bug->lblStory;?></th>
<td>
<span id='storyIdBox'><?php echo html::select('story', $stories, $storyID);?></span>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->task;?></th>
<th><?php echo $lang->bug->task;?></th>
<td><span id='taskIdBox'><?php echo html::select('task', $tasks, $taskID);?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblTypeAndSeverity;?></th>
<th><?php echo $lang->bug->lblTypeAndSeverity;?></th>
<td>
<?php echo html::select('type', $lang->bug->typeList, $type, 'class=select-2');?>
<?php echo html::select('severity', $lang->bug->severityList, $severity, 'class=select-2');?>
</td>
</tr>
<tr>
<th class='rowhead'><nobr><?php echo $lang->bug->lblSystemBrowserAndHardware;?></nobr></th>
<th><nobr><?php echo $lang->bug->lblSystemBrowserAndHardware;?></nobr></th>
<td>
<?php echo html::select('os', $lang->bug->osList, $os, 'class=select-2');?>
<?php echo html::select('browser', $lang->bug->browserList, $browser, 'class=select-2');?>
</td>
</tr>
<tr>
<th class='rowhead'><nobr><?php echo $lang->bug->lblMailto;?></nobr></th>
<th><nobr><?php echo $lang->bug->lblMailto;?></nobr></th>
<td>
<?php
echo html::select('mailto[]', $users, str_replace(' ', '', $mailto), 'class=text-1 multiple');
Expand All @@ -105,11 +105,11 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->keywords;?></th>
<th><?php echo $lang->bug->keywords;?></th>
<td><?php echo html::input('keywords', $keywords, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->files;?></th>
<th><?php echo $lang->bug->files;?></th>
<td><?php echo $this->fetch('file', 'buildform', 'fileCount=2&percent=0.85');?></td>
</tr>
<tr>
Expand Down
52 changes: 26 additions & 26 deletions module/bug/view/edit.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
<tr class='bd-none'><td class='bd-none'>
<fieldset>
<legend><?php echo $lang->bug->legendSteps;?></legend>
<?php echo html::textarea('steps', $bug->steps, "rows='12' class='area-1'");?>
<?php echo html::textarea('steps', $bug->steps, "rows='12' class='form-control'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->bug->legendComment;?></legend>
<?php echo html::textarea('comment', '', "rows='6' class='area-1'");?>
<?php echo html::textarea('comment', '', "rows='6' class='form-control'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->bug->legendAttatch;?></legend>
Expand All @@ -71,55 +71,55 @@
<legend><?php echo $lang->bug->legendBasicInfo;?></legend>
<table class='table-1 a-left' cellpadding='0' cellspacing='0'>
<tr>
<td class='rowhead'><?php echo $lang->bug->product;?></td>
<td><?php echo $lang->bug->product;?></td>
<td><?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->module;?></td>
<td><?php echo $lang->bug->module;?></td>
<td>
<span id='moduleIdBox'><?php echo html::select('module', $moduleOptionMenu, $currentModuleID, "onchange='loadModuleRelated()' class='form-control'");?></span>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->productplan;?></td>
<td><?php echo $lang->bug->productplan;?></td>
<td>
<span id="planIdBox"><?php echo html::select('plan', $plans, $bug->plan, "class='form-control'");?></span>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->type;?></td>
<td><?php echo $lang->bug->type;?></td>
<td><?php echo html::select('type', $lang->bug->typeList, $bug->type, "class='form-control'");?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->severity;?></td>
<td><?php echo $lang->bug->severity;?></td>
<td><?php echo html::select('severity', $lang->bug->severityList, $bug->severity, "class='form-control'");?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->pri;?></td>
<td><?php echo $lang->bug->pri;?></td>
<td><?php echo html::select('pri', $lang->bug->priList, $bug->pri, "class='form-control'");?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->status;?></td>
<td><?php echo $lang->bug->status;?></td>
<td><?php echo html::select('status', $lang->bug->statusList, $bug->status, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->confirmed;?></td>
<td><?php echo $lang->bug->confirmed;?></td>
<td><?php echo $lang->bug->confirmedList[$bug->confirmed];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='form-control chosen'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->os;?></td>
<td><?php echo $lang->bug->os;?></td>
<td><?php echo html::select('os', $lang->bug->osList, $bug->os, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->browser;?></td>
<td><?php echo $lang->bug->browser;?></td>
<td><?php echo html::select('browser', $lang->bug->browserList, $bug->browser, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->keywords;?></td>
<td><?php echo $lang->bug->keywords;?></td>
<td><?php echo html::input('keywords', $bug->keywords, 'class="form-control"');?></td>
</tr>
<tr>
Expand All @@ -137,12 +137,12 @@
<td><span id='projectIdBox'><?php echo html::select('project', $projects, $bug->project, 'class=select-3 onchange=loadProjectRelated(this.value)');?></span></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->story;?></td>
<td><?php echo $lang->bug->story;?></td>
<td><div id='storyIdBox'><?php echo html::select('story', $stories, $bug->story, "class=select-3");?></div>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->task;?></td>
<td><?php echo $lang->bug->task;?></td>
<td><div id='taskIdBox'><?php echo html::select('task', $tasks, $bug->task, "class='form-control'");?></div></td>
</tr>
</table>
Expand All @@ -156,35 +156,35 @@
<td><?php echo $users[$bug->openedBy];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo $lang->bug->openedBuild;?></td>
<td><span id='openedBuildBox'><?php echo html::select('openedBuild[]', $openedBuilds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></span></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedBy;?></td>
<td><?php echo $lang->bug->resolvedBy;?></td>
<td><?php echo html::select('resolvedBy', $users, $bug->resolvedBy, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedDate;?></td>
<td><?php echo $lang->bug->resolvedDate;?></td>
<td><?php echo html::input('resolvedDate', $bug->resolvedDate, 'class=form-control');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedBuild;?></td>
<td><?php echo $lang->bug->resolvedBuild;?></td>
<td><span id='resolvedBuildBox'><?php echo html::select('resolvedBuild', $resolvedBuilds, $bug->resolvedBuild, "class='form-control'");?></span></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolution;?></td>
<td><?php echo $lang->bug->resolution;?></td>
<td><?php echo html::select('resolution', $lang->bug->resolutionList, $bug->resolution, 'class=select-3 onchange=setDuplicate(this.value)');?></td>
</tr>
<tr id='duplicateBugBox' <?php if($bug->resolution != 'duplicate') echo "style='display:none'";?>>
<td class='rowhead'><?php echo $lang->bug->duplicateBug;?></td>
<td><?php echo $lang->bug->duplicateBug;?></td>
<td><?php echo html::input('duplicateBug', $bug->duplicateBug, 'class=form-control');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->closedBy;?></td>
<td><?php echo $lang->bug->closedBy;?></td>
<td><?php echo html::select('closedBy', $users, $bug->closedBy, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->closedDate;?></td>
<td><?php echo $lang->bug->closedDate;?></td>
<td><?php echo html::input('closedDate', $bug->closedDate, 'class=form-control');?></td>
</tr>
</table>
Expand All @@ -193,11 +193,11 @@
<legend><?php echo $lang->bug->legendMisc;?></legend>
<table class='table-1 a-left'>
<tr>
<td class='rowhead'><?php echo $lang->bug->linkBug;?></td>
<td><?php echo $lang->bug->linkBug;?></td>
<td><?php echo html::input('linkBug', $bug->linkBug, 'class="form-control"');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->case;?></td>
<td><?php echo $lang->bug->case;?></td>
<td><?php echo html::input('case', $bug->case, 'class="form-control"');?></td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/m.assignto.html.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo "BUG#$bug->id " . $bug->title;?></h3>
<table class='table-1'>
<tr>
Expand Down
Loading

0 comments on commit ad3a1c2

Please sign in to comment.