* change 'featurebar' to 'titlebar' and ajust style.

This commit is contained in:
Catouse
2014-04-23 17:56:18 +08:00
parent 924f8fbc8c
commit 6193014130
25 changed files with 30 additions and 28 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'>
<?php echo html::icon($lang->icons['trash']);?> <?php echo $lang->action->trash;?>
</div>
+2
View File
@@ -1 +1,3 @@
#titlebar #querybox {margin-top: -14px;}
#titlebar > .heading {display: none}
form {position:relative}
+1 -1
View File
@@ -16,7 +16,7 @@ include '../../common/view/treeview.html.php';
js::set('deptID', $deptID);
js::set('confirmDelete', $lang->user->confirmDelete);
?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><?php echo html::icon($lang->icons['company']);?> <?php echo $lang->company->browse;?></div>
<div id='querybox' class='show'><?php echo $searchForm?></div>
</div>
+2 -2
View File
@@ -12,9 +12,9 @@
?>
<?php include '../../common/view/header.html.php';?>
<div class='container mw-600px'>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><?php echo html::icon($lang->icons['company']);?> <?php echo $lang->company->view;?></div>
<div class='btn-group pull-right'>
<div class='actions'>
<?php common::printLink('company', 'edit', '', '<i class="icon-pencil"></i> ' . $lang->edit, '', 'id="editCompany" class="btn btn-primary iframe" data-width="580"', true, true);?>
</div>
</div>
+1 -1
View File
@@ -21,7 +21,7 @@
<div class='content'>
<?php echo nl2br($lang->convert->desc);?>
<div class='text-center pdt-20'>
<?php echo html::a($this->createLink('convert', 'selectsource'), '<i class="icon-exchange"></i> ' . $lang->convert->start, '', 'class="btn btn-primary"');?>
<?php echo html::a($this->createLink('convert', 'selectsource'), $lang->convert->start, '', 'class="btn btn-primary"');?>
</div>
</div>
</div>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/treeview.html.php';?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><?php echo html::icon($lang->icons['dept']);?> <?php echo $lang->dept->common;?></div>
</div>
<div class='main'>
+1 -1
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmDelete', $lang->group->confirmDelete);?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><?php echo html::icon($lang->icons['group']);?> <?php echo $lang->group->browse;?></div>
<div class='actions'>
<?php common::printIcon('group', 'create', '', '', 'button', '', '', 'iframe', true, "data-width='550'");?>
+1 -1
View File
@@ -39,7 +39,7 @@
?>
<script>$('#<?php echo $type;?>').addClass('active')</script>
</ul>
<div class='btn-group pull-right'>
<div class='actions'>
<?php echo html::a(helper::createLink('todo', 'export', "account=$account&orderBy=id_desc"), "<i class='icon-download-alt'></i> " . $lang->todo->export, '', "class='btn iframe'") ?>
<?php echo html::a(helper::createLink('todo', 'batchCreate'), "<i class='icon-plus-sign'></i> " . $lang->todo->batchCreate, '', "class='btn'") ?>
<?php echo html::a(helper::createLink('todo', 'create', "date=" . str_replace('-', '', $date)), "<i class='icon-plus'></i> " . $lang->todo->create, '', "class='btn'") ?>
+2 -2
View File
@@ -13,9 +13,9 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmDelete', $lang->doc->confirmDelete)?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><i class='icon-file-text'></i> <?php echo $lang->product->doc;?> </div>
<div class='btn-group pull-right'>
<div class='actions'>
<?php common::printIcon('doc', 'create', "libID=product&moduleID=0&productID={$product->id}&projectID=0&from=product");?>
</div>
</div>
+1 -1
View File
@@ -14,7 +14,7 @@
<?php include '../../common/view/colorize.html.php';?>
<div id='featurebar'>
<div class='heading'><?php echo html::icon($lang->icons['product']) . ' ' . $lang->product->index;?> </div>
<div class='btn-group pull-right'>
<div class='actions'>
<?php echo html::a($this->createLink('product', 'create'), "<i class='icon-plus'></i> " . $lang->product->create,'', "class='btn'") ?>
</div>
</div>
+1 -1
View File
@@ -11,7 +11,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/sparkline.html.php';?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><i class='icon-folder-close'></i> <?php echo $lang->product->project;?> </div>
</div>
<table class='table'>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<div class='container mw-900px'>
<div id='featurebar'><div class='heading'><i class='icon-code-fork'></i> <?php echo $lang->product->roadmap;?></div></div>
<div id='titlebar'><div class='heading'><i class='icon-code-fork'></i> <?php echo $lang->product->roadmap;?></div></div>
<table class='table-grid w-p100'>
<?php
$years = array_keys($roadmaps);
+2 -2
View File
@@ -12,9 +12,9 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php js::set('confirmDelete', $lang->productplan->confirmDelete)?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><i class='icon-flag'></i> <?php echo $lang->productplan->browse;?> </div>
<div class='btn-group pull-right'>
<div class='actions'>
<?php common::printIcon('productplan', 'create', "productID=$product->id", '', 'button', 'plus');?>
</div>
</div>
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'>
<?php echo html::icon($lang->icons['bug']);?> <?php echo $lang->project->bug;?>
<?php if($build) echo ' <span class="label label-danger">Build:' . $build->name . '</span>'; ?>
+1 -1
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmDelete', $lang->build->confirmDelete)?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'>
<?php echo html::icon($lang->icons['build']);?> <?php echo $lang->project->build;?>
</div>
+1 -1
View File
@@ -14,7 +14,7 @@
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmDelete', $lang->doc->confirmDelete)?>
<div class='container'>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'>
<?php echo html::icon($lang->icons['doc']);?> <?php echo $lang->project->doc;?>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/sparkline.html.php';?>
<div id='featurebar'>
<div class='heading'><?php echo html::icon($lang->icons['project']) . ' ' . $lang->project->allProject;?> </div>
<div class='btn-group pull-right'>
<div class='actions'>
<?php echo html::a($this->createLink('project', 'create'), "<i class='icon-plus'></i> " . $lang->project->create,'', "class='btn'") ?>
</div>
<ul class='nav'>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<div class='container mw-700px'>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'>
<?php echo html::icon($lang->icons['product']);?> <?php echo $lang->project->manageProducts;?>
</div>
+1 -1
View File
@@ -14,7 +14,7 @@
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmUnlinkMember', $lang->project->confirmUnlinkMember)?>
<div class='container mw-700px'>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'>
<?php echo html::icon($lang->icons['team']);?> <?php echo $lang->project->team;?>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmDelete', $lang->testtask->confirmDelete)?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'>
<?php echo html::icon($lang->icons['test']);?> <?php echo $lang->testtask->browse;?>
</div>
+2 -2
View File
@@ -14,9 +14,9 @@
<?php include '../../common/view/tablesorter.html.php';?>
<?php js::set('confirmDelete', $lang->release->confirmDelete)?>
<div class='container mw-900px'>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><i class='icon-tags'></i> <?php echo $lang->release->browse;?> </div>
<div class='btn-group pull-right'>
<div class='actions'>
<?php common::printIcon('release', 'create', "product=$product->id");?>
</div>
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php include '../../common/view/header.html.php';?>
<div class='container'>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><i class='icon-globe'></i> <?php echo $lang->sso->browse;?></div>
<div class='actions'><?php common::printIcon('sso', 'create');?></div>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/colorize.html.php';?>
<?php js::set('confirmDelete', $lang->testtask->confirmDelete)?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><?php echo html::icon($lang->icons['testtask']);?> <?php echo $lang->testtask->browse;?></div>
<div class='actions'>
<?php common::printIcon('testtask', 'create', "product=$productID");?>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/treeview.html.php';?>
<div id='featurebar'>
<div id='titlebar'>
<div class='heading'><i class='icon-cogs'></i> <?php echo $lang->tree->common;?> </div>
</div>
<div class='row'>
+1 -1
View File
@@ -446,7 +446,7 @@ body {font-size: 13px; color:#141414;padding-bottom: 40px;}
#titlebar #querybox {margin: 5px -20px -10px}
/* Container in outer */
.outer > .container {margin: 20px auto; padding: 0; border: 1px solid #ddd;}
.outer > .container {margin: 0 auto 20px; padding: 0; border: 1px solid #ddd;}
.outer > .container > #featurebar, .outer > .container > #titlebar {margin: 0}
.outer > .container > form, body > .container > form{padding: 10px 30px 10px 15px}
.outer > .container > .table-data {margin: 10px 0}