Skip to content

Commit

Permalink
* changed css names.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Mar 25, 2014
1 parent 3c7f807 commit c1fd283
Show file tree
Hide file tree
Showing 147 changed files with 267 additions and 262 deletions.
4 changes: 2 additions & 2 deletions module/action/view/trash.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
<tbody>
<?php foreach($trashes as $action):?>
<?php $module = $action->objectType == 'case' ? 'testcase' : $action->objectType;?>
<tr class='a-center'>
<tr class='text-center'>
<td><?php echo $lang->action->objectTypes[$action->objectType];?></td>
<td><?php echo $action->objectID;?></td>
<td class='a-left'><?php echo html::a($this->createLink($module, 'view', "id=$action->objectID"), $action->objectName);?></td>
<td class='text-left'><?php echo html::a($this->createLink($module, 'view', "id=$action->objectID"), $action->objectName);?></td>
<td><?php echo $users[$action->actor];?></td>
<td><?php echo $action->date;?></td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion module/admin/view/cleardata.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<caption><?php echo $lang->admin->clearData;?></caption>
<tr><td><?php echo nl2br($lang->admin->clearDataDesc);?></td></tr>
<tr>
<td class='a-center'>
<td class='text-center'>
<span><?php echo $this->lang->admin->pleaseInputYes . html::input('sure', '', "class='text-2' onkeyup='showClearButton()' autocomplete='off'");?></span>
<?php echo html::submitButton($lang->admin->clearData, "class='hidden btn btn-danger'");?>
</td>
Expand Down
4 changes: 2 additions & 2 deletions module/bug/view/activate.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->files;?></th>
<td class='a-left'><?php echo $this->fetch('file', 'buildform');?></td>
<td class='text-left'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/assignto.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->server->http_referer);?></td>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->server->http_referer);?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
Expand Down
8 changes: 4 additions & 4 deletions module/bug/view/batchcreate.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
</tr>

<?php for($i = 0; $i < $config->bug->batchCreate; $i++):?>
<tr class='a-center'>
<tr class='text-center'>
<td><?php echo $i+1;?></td>
<td class='a-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='select-1'");?></td>
<td><?php echo html::select("projects[$i]", $projects, $projectID, "class='select-1' onchange='loadProjectBuilds($productID, this.value, $i)'");?></td>
<td class='a-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 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=select-1');?></td>
<td><?php echo html::textarea("stepses[$i]", '', "rows='1' class=text-1");?></td>
<td><?php echo html::select("types[$i]", $lang->bug->typeList, '');?></td>
Expand All @@ -42,7 +42,7 @@
<td><?php echo html::select("browsers[$i]", $lang->bug->browserList, '');?></td>
</tr>
<?php endfor;?>
<tr><td colspan='8' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
<tr><td colspan='8' class='text-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>
4 changes: 2 additions & 2 deletions module/bug/view/batchedit.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
if($bugs[$bugID]->type != 'newfeature') unset($this->lang->bug->typeList['newfeature']);
if($bugs[$bugID]->type != 'trackthings') unset($this->lang->bug->typeList['trackthings']);
?>
<tr class='a-center'>
<tr class='text-center'>
<td><?php echo $bugID . html::hidden("bugIDList[$bugID]", $bugID);?></td>
<td><?php echo html::select("types[$bugID]", $lang->bug->typeList, $bugs[$bugID]->type, 'class=select-1');?></td>
<td><?php echo html::select("severities[$bugID]", (array)$lang->bug->severityList, $bugs[$bugID]->severity, 'class=select-1');?></td>
Expand All @@ -53,7 +53,7 @@
<?php if(isset($suhosinInfo)):?>
<tr><td colspan='<?php echo $this->config->bug->batchEdit->columns;?>'><div class='f-left blue'><?php echo $suhosinInfo;?></div></td></tr>
<?php endif;?>
<tr><td colspan='<?php echo $this->config->bug->batchEdit->columns;?>' class='a-center'><?php echo html::submitButton();?></td></tr>
<tr><td colspan='<?php echo $this->config->bug->batchEdit->columns;?>' class='text-center'><?php echo html::submitButton();?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>
4 changes: 2 additions & 2 deletions module/bug/view/browse.custom.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class='box-title'><?php echo $productName;?></div>
<div class='box-content'>
<?php echo $moduleTree;?>
<div class='a-right'><?php common::printLink('tree', 'browse', "productID=$productID&view=bug", $lang->tree->manage);?></div>
<div class='text-right'><?php common::printLink('tree', 'browse', "productID=$productID&view=bug", $lang->tree->manage);?></div>
</div>
</nobr>
</td>
Expand Down Expand Up @@ -55,7 +55,7 @@
?>
</nobr></td>
<?php endforeach;?>
<td class='a-center'><nobr>
<td class='text-center'><nobr>
<?php
$params = "bugID=$bug->id";
common::printIcon('bug', 'resolve', $params, $bug, 'list', '', '', 'iframe', true);
Expand Down
10 changes: 5 additions & 5 deletions module/bug/view/browse.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<div class='box-title'><?php echo $productName;?></div>
<div class='box-content'>
<?php echo $moduleTree;?>
<div class='a-right'>
<div class='text-right'>
<?php common::printLink('tree', 'browse', "productID=$productID&view=bug", $lang->tree->manage);?>
<?php common::printLink('tree', 'fix', "root=$productID&type=bug", $lang->tree->fix, 'hiddenwin');?>
</div>
Expand Down Expand Up @@ -126,7 +126,7 @@
<tbody>
<?php foreach($bugs as $bug):?>
<?php $bugLink = inlink('view', "bugID=$bug->id");?>
<tr class='a-center'>
<tr class='text-center'>
<td class='<?php echo $bug->status;?>' style="font-weight:bold">
<input type='checkbox' name='bugIDList[]' value='<?php echo $bug->id;?>'/>
<?php echo html::a($bugLink, sprintf('%03d', $bug->id));?>
Expand All @@ -135,14 +135,14 @@
<td><span class='<?php echo 'pri' . $lang->bug->priList[$bug->pri];?>'><?php echo $lang->bug->priList[$bug->pri];?></span></td>

<?php $class = 'confirm' . $bug->confirmed;?>
<td class='a-left' title="<?php echo $bug->title?>"><?php echo "<span class='$class'>[{$lang->bug->confirmedList[$bug->confirmed]}] </span>" . html::a($bugLink, $bug->title);?></td>
<td class='text-left' title="<?php echo $bug->title?>"><?php echo "<span class='$class'>[{$lang->bug->confirmedList[$bug->confirmed]}] </span>" . html::a($bugLink, $bug->title);?></td>

<?php if($this->cookie->windowWidth >= $this->config->wideSize):?>
<td><?php echo $lang->bug->statusList[$bug->status];?></td>
<?php endif;?>

<?php if($browseType == 'needconfirm'):?>
<td class='a-left' title="<?php echo $bug->storyTitle?>"><?php echo html::a($this->createLink('story', 'view', "stoyID=$bug->story"), $bug->storyTitle, '_blank');?></td>
<td class='text-left' title="<?php echo $bug->storyTitle?>"><?php echo html::a($this->createLink('story', 'view', "stoyID=$bug->story"), $bug->storyTitle, '_blank');?></td>
<td><?php $lang->bug->confirmStoryChange = $lang->confirm; common::printIcon('bug', 'confirmStoryChange', "bugID=$bug->id", '', 'list', '', 'hiddenwin')?></td>
<?php else:?>
<td><?php echo zget($users, $bug->openedBy, $bug->openedBy);?></td>
Expand All @@ -159,7 +159,7 @@
<td><?php echo substr($bug->resolvedDate, 5, 11)?></td>
<?php endif;?>

<td class='a-right'>
<td class='text-right'>
<?php
$params = "bugID=$bug->id";
common::printIcon('bug', 'confirmBug', $params, $bug, 'list', '', '', 'iframe', true);
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/close.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/confirmbug.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p94'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->server->http_referer);?></td>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->server->http_referer);?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/create.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<td><?php echo $this->fetch('file', 'buildform', 'fileCount=2&percent=0.85');?></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<td colspan='2' class='text-center'>
<?php echo html::submitButton() . html::backButton() . html::hidden('case', $caseID);?>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/customfields.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<a class='btn' onclick='restoreDefault()'><?php echo $lang->bug->restoreDefault;?></a>
</td>
</tr>
<tr><td colspan='4' class='a-center'><?php echo html::submitButton('', 'onclick=selectItem("customFields")');?></td></tr>
<tr><td colspan='4' class='text-center'><?php echo html::submitButton('', 'onclick=selectItem("customFields")');?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.lite.html.php';?>
2 changes: 1 addition & 1 deletion module/bug/view/edit.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<legend><?php echo $lang->bug->legendAttatch;?></legend>
<?php echo $this->fetch('file', 'buildform', 'filecount=2');?>
</fieldset>
<div class='a-center'>
<div class='text-center'>
<?php
echo html::submitButton();
$browseLink = $app->session->bugList != false ? $app->session->bugList : inlink('browse', "productID=$bug->product");
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/m.activate.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<td><?php echo html::textarea('comment', '');?></td>
</tr>
<tr>
<td class='a-center' colspan='2'>
<td class='text-center' colspan='2'>
<?php echo html::submitButton($lang->bug->buttonConfirm, 'data-inline="true" data-theme="b"');?>
<?php echo html::linkButton($lang->goback, $this->createLink('bug', 'view', "bugID=$bug->id"), 'self', "data-inline='true'");?>
</td>
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
Expand Up @@ -12,7 +12,7 @@
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
</tr>
<tr>
<td class='a-center' colspan='2'>
<td class='text-center' colspan='2'>
<?php echo html::submitButton('', 'data-inline="true" data-theme="b"'); ?>
<?php echo html::linkButton($lang->goback, $this->createLink('bug', 'view', "bugID=$bug->id"), 'self', "data-inline='true'");?>
</td>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/m.close.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<td><?php echo html::textarea('comment', '');?></td>
</tr>
<tr>
<td class='a-center' colspan='2'>
<td class='text-center' colspan='2'>
<?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?>
<?php echo html::linkButton($lang->goback, $this->createLink('bug', 'view', "bugID=$bug->id"), 'self', "data-inline='true'");?>
</td>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/m.confirmbug.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<td><?php echo html::textarea('comment', '');?></td>
</tr>
<tr>
<td class='a-center' colspan='2'>
<td class='text-center' colspan='2'>
<?php echo html::submitButton($lang->bug->buttonConfirm, 'data-inline="true" data-theme="b"');?>
<?php echo html::linkButton($lang->goback, $this->createLink('bug', 'view', "bugID=$bug->id"), 'self', "data-inline='true'");?>
</td>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/m.resolve.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<td><?php echo html::textarea('comment');?></td>
</tr>
<tr>
<td class='a-center' colspan='2'>
<td class='text-center' colspan='2'>
<?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?>
<?php echo html::linkButton($lang->goback, $this->createLink('bug', 'view', "bugID=$bug->id"), 'self', "data-inline='true'");?>
</td>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/report.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<th><?php echo $lang->report->percent;?></th>
</tr>
<?php foreach($datas[$chartType] as $key => $data):?>
<tr class='a-center'>
<tr class='text-center'>
<td><?php echo $data->name;?></td>
<td><?php echo $data->value;?></td>
<td><?php echo ($data->percent * 100) . '%';?></td>
Expand Down
2 changes: 1 addition & 1 deletion module/bug/view/resolve.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
<td colspan='2' class='a-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->bugList);?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
Expand Down
6 changes: 3 additions & 3 deletions module/build/view/create.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<table class='table-1 fixed bd-none' id='story'>
<?php foreach($stories as $key => $story):?>
<?php $storyLink = $this->createLink('story', 'view', "storyID=$story->id", '', true); ?>
<tr class='a-center'>
<tr class='text-center'>
<td class='w-id a-left'>
<input type='checkbox' name='stories[]' value="<?php echo $story->id;?>" <?php if($story->stage == 'developed' or $story->status == 'closed') echo 'checked';?>> <?php echo sprintf('%03d', $story->id);?>
</td>
Expand All @@ -91,7 +91,7 @@
<table class='table-1 fixed bd-none' id='bug'>
<?php foreach($bugs as $bug):?>
<?php $bugLink = $this->createLink('bug', 'view', "bugID=$bug->id", '', true);?>
<tr class='a-center'>
<tr class='text-center'>
<td class='w-id a-left'>
<input type='checkbox' name='bugs[]' value="<?php echo $bug->id;?>" <?php if($bug->status == 'resolved' or $bug->status == 'closed') echo "checked";?>> <?php echo sprintf('%03d', $bug->id);?>
</td>
Expand All @@ -115,7 +115,7 @@
<th class='rowhead'><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='10' class='area-1'");?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<?php js::set('packageType', 'filePath')?>
Expand Down
6 changes: 3 additions & 3 deletions module/build/view/edit.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<table class='f-left table-1 fixed bd-none'>
<?php foreach($stories as $key => $story):?>
<?php $storyLink = $this->createLink('story', 'view', "storyID=$story->id", '', true);?>
<tr class='a-center'>
<tr class='text-center'>
<td class='w-id a-left' id='story'><input type='checkbox' name='stories[]' value="<?php echo $story->id;?>" <?php if(strpos(',' . $build->stories . ',', ',' . $story->id . ',') !== false) echo 'checked';?>> <?php echo sprintf('%03d', $story->id);?></td>
<td class='a-left nobr'><?php echo html::a($storyLink, $story->title, '', "class='preview'");?></td>
<td class='<?php echo $story->status;?> w-50px'><?php echo $lang->story->statusList[$story->status];?></td>
Expand Down Expand Up @@ -109,7 +109,7 @@
<table class='f-left table-1 fixed bd-none'>
<?php foreach($bugs as $bug):?>
<?php $bugLink = $this->createLink('bug', 'view', "bugID=$bug->id", '', true);?>
<tr class='a-center'>
<tr class='text-center'>
<td class='w-id a-left' id='bug'><input type='checkbox' name='bugs[]' value="<?php echo $bug->id;?>" <?php if(strpos(',' . $build->bugs . ',', ',' . $bug->id . ',') !== false) echo 'checked';?>> <?php echo sprintf('%03d', $bug->id);?></td>
<td class='a-left nobr'><?php echo html::a($bugLink, $bug->title, '', "class='preview'");?></td>
<td class='w-80px'><?php echo $lang->bug->statusList[$bug->status];?></td>
Expand All @@ -131,7 +131,7 @@
<th class='rowhead'><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', $build->desc, "rows='10' class='area-1'");?></td>
</tr>
<tr><td colspan='2' class='a-center'><?php echo html::submitButton() . html::backButton() .html::hidden('project', $build->project);?></td></tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton() .html::hidden('project', $build->project);?></td></tr>
</table>
</form>
<?php js::set('packageType', $build->packageType == 'file' ? 'fileform' : 'filePath')?>
Expand Down
6 changes: 3 additions & 3 deletions module/build/view/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</tr>
<?php foreach($stories as $storyID => $story):?>
<?php $storyLink = $this->createLink('story', 'view', "storyID=$story->id", '', true);?>
<tr class='a-center'>
<tr class='text-center'>
<td><?php echo sprintf('%03d', $story->id);?></td>
<td><span class='<?php echo 'pri' . $lang->story->priList[$story->pri]?>'><?php echo $lang->story->priList[$story->pri];?></span></td>
<td class='a-left nobr'><?php echo html::a($storyLink,$story->title, '', "class='preview'");?></td>
Expand All @@ -70,7 +70,7 @@
</tr>
<?php foreach($bugs as $bug):?>
<?php $bugLink = $this->createLink('bug', 'view', "bugID=$bug->id", '', true);?>
<tr class='a-center'>
<tr class='text-center'>
<td><?php echo sprintf('%03d', $bug->id);?></td>
<td class='a-left nobr'><?php echo html::a($bugLink, $bug->title, '', "class='preview'");?></td>
<td><?php echo $lang->bug->statusList[$bug->status];?></td>
Expand All @@ -89,7 +89,7 @@
<legend><?php echo $lang->build->basicInfo?></legend>
<table class='table-1 a-left fixed'>
<tr>
<th width='25%' class='a-right'><?php echo $lang->build->product;?></th>
<th width='25%' class='text-right'><?php echo $lang->build->product;?></th>
<td><?php echo $build->productName;?></td>
</tr>
<tr>
Expand Down
Loading

0 comments on commit c1fd283

Please sign in to comment.