* change style.

This commit is contained in:
Catouse
2013-09-17 15:01:00 +08:00
parent f5826c1315
commit 1f830da3ef
8 changed files with 259 additions and 29 deletions
+6 -6
View File
@@ -162,12 +162,12 @@ js::set('customed', $customed);
<td class='a-right'>
<?php
$params = "bugID=$bug->id";
common::printIcon('bug', 'confirmBug', $params, $bug, 'list', '', '', 'iframe', true);
common::printIcon('bug', 'assignTo', $params, '', 'list', '', '', 'iframe', true);
common::printIcon('bug', 'resolve', $params, $bug, 'list', '', '', 'iframe', true);
common::printIcon('bug', 'close', $params, $bug, 'list', '', '', 'iframe', true);
common::printIcon('bug', 'edit', $params, $bug, 'list');
common::printIcon('bug', 'create', "product=$bug->product&extra=bugID=$bug->id", $bug, 'list', 'copy');
common::printIcon('bug', 'confirmBug', $params, $bug, 'list', 'icon-search icon-large', '', 'iframe', true);
common::printIcon('bug', 'assignTo', $params, '', 'list', 'icon-hand-right icon-large', '', 'iframe', true);
common::printIcon('bug', 'resolve', $params, $bug, 'list', 'icon-ok-circle icon-large', '', 'iframe', true);
common::printIcon('bug', 'close', $params, $bug, 'list', 'icon-off icon-large', '', 'iframe', true);
common::printIcon('bug', 'edit', $params, '', 'list', 'icon-edit icon-large');
common::printIcon('bug', 'create', "product=$bug->product&extra=bugID=$bug->id", $bug, 'list', 'icon-copy icon-large');
?>
</td>
<?php endif;?>
+1 -1
View File
@@ -321,7 +321,7 @@ class common extends control
}
else
{
echo html::a($link, "<i class='$class'></i><i class='icon-bolt'></i>", $target, "class='link-icon' title='$title'", false);
echo html::a($link, "<i class='$class'></i>", $target, "class='link-icon' title='$title'", false);
}
}
else
+2
View File
@@ -25,6 +25,8 @@ $clientTheme = $this->app->getClientTheme();
css::import($themeRoot . 'fontawesome/ie7.min.css', $config->version);
echo '<![endif]-->';
css::import($defaultTheme . 'button.css', $config->version);
css::import($defaultTheme . 'yui.css', $config->version);
css::import($defaultTheme . 'style.css', $config->version);
css::import($langTheme, $config->version);
+6 -6
View File
@@ -23,7 +23,7 @@
</div>
</div>
<form method='post' action='<?php echo $this->createLink('bug', 'batchEdit', "productID=0");?>'>
<table class='table-1 fixed tablesorter colored' id='bugList'>
<table class='table-1 data-table fixed tablesorter colored' id='bugList'>
<?php $vars = "type=$type&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
<thead>
<tr class='colhead'>
@@ -56,11 +56,11 @@
<td class='a-right'>
<?php
$params = "bugID=$bug->id";
common::printIcon('bug', 'confirmBug', $params, $bug, 'list', '', '', 'iframe', true);
common::printIcon('bug', 'assignTo', $params, '', 'list', '', '', 'iframe', true);
common::printIcon('bug', 'resolve', $params, $bug, 'list', '', '', 'iframe', true);
common::printIcon('bug', 'close', $params, $bug, 'list', '', '', 'iframe', true);
common::printIcon('bug', 'edit', $params, '', 'list');
common::printIcon('bug', 'confirmBug', $params, $bug, 'list', 'icon-search icon-large', '', 'iframe', true);
common::printIcon('bug', 'assignTo', $params, '', 'list', 'icon-hand-right icon-large', '', 'iframe', true);
common::printIcon('bug', 'resolve', $params, $bug, 'list', 'icon-ok-circle icon-large', '', 'iframe', true);
common::printIcon('bug', 'close', $params, $bug, 'list', 'icon-off icon-large', '', 'iframe', true);
common::printIcon('bug', 'edit', $params, '', 'list', 'icon-edit icon-large');
?>
</td>
</tr>
+7 -7
View File
@@ -25,7 +25,7 @@
</div>
</div>
<form method='post' id='myTaskForm'>
<table class='table-1 tablesorter fixed colored' id='tasktable'>
<table class='table-1 data-table tablesorter fixed colored' id='tasktable'>
<?php $vars = "type=$type&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
<thead>
<tr class='colhead'>
@@ -62,12 +62,12 @@
<td><?php echo $users[$task->openedBy];?></td>
<td class='a-right'>
<?php
common::printIcon('task', 'assignTo', "projectID=$task->project&taskID=$task->id", $task, 'list', '', '', 'iframe', true);
common::printIcon('task', 'start', "taskID=$task->id", $task, 'list', '', '', 'iframe', true);
common::printIcon('task', 'recordEstimate', "taskID=$task->id", $task, 'list', '', '', 'iframe', true);
common::printIcon('task', 'finish', "taskID=$task->id", $task, 'list', '', '', 'iframe', true);
common::printIcon('task', 'close', "taskID=$task->id", $task, 'list', '', '', 'iframe', true);
common::printIcon('task', 'edit', "taskID=$task->id", '', 'list');
common::printIcon('task', 'assignTo', "projectID=$task->project&taskID=$task->id", $task, 'list', 'icon-hand-right icon-large', '', 'iframe', true);
common::printIcon('task', 'start', "taskID=$task->id", $task, 'list', 'icon-play-circle icon-large', '', 'iframe', true);
common::printIcon('task', 'recordEstimate', "taskID=$task->id", $task, 'list', 'icon-time icon-large', '', 'iframe', true);
common::printIcon('task', 'finish', "taskID=$task->id", $task, 'list', 'icon-ok-sign icon-large', '', 'iframe', true);
common::printIcon('task', 'close', "taskID=$task->id", $task, 'list', 'icon-off icon-large', '', 'iframe', true);
common::printIcon('task', 'edit', "taskID=$task->id", '', 'list', 'icon-edit icon-large');
?>
</td>
</tr>
+7 -7
View File
@@ -42,13 +42,13 @@
</div>
<div class='f-right'>
<?php
common::printIcon('todo', 'export', "account=$account&orderBy=id_desc");
common::printIcon('todo', 'batchCreate');
common::printIcon('todo', 'create', "date=" . str_replace('-', '', $date));
common::printIcon('todo', 'export', "account=$account&orderBy=id_desc", '', 'button', 'icon-signout');
common::printIcon('todo', 'batchCreate', '', '', 'button', 'icon-plus-sign');
common::printIcon('todo', 'create', "date=" . str_replace('-', '', $date), '', 'button', 'icon-plus');
?>
</div>
</div>
<table class='table-1 tablesorter colored' id='todoList'>
<table class='data-table tablesorter colored' id='todoList'>
<?php $vars = "type=$type&account=$account&status=$status&orderBy=%s&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID"; ?>
<thead>
<tr class='colhead'>
@@ -81,11 +81,11 @@
<td class='<?php echo $todo->status;?>'><?php echo $lang->todo->statusList[$todo->status];?></td>
<td class='a-right'>
<?php
common::printIcon('todo', 'finish', "id=$todo->id", $todo, 'list', '', 'hiddenwin');
common::printIcon('todo', 'edit', "id=$todo->id", '', 'list', '', '', 'iframe', true);
common::printIcon('todo', 'finish', "id=$todo->id", $todo, 'list', 'icon-ok-circle icon-large', 'hiddenwin');
common::printIcon('todo', 'edit', "id=$todo->id", '', 'list', 'icon-edit icon-large', '', 'iframe', true);
$deleteURL = $this->createLink('todo', 'delete', "todoID=$todo->id&confirm=yes");
echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"todoList\",confirmDelete)", '&nbsp;', '', "class='icon-green-common-delete' title='{$lang->todo->delete}'");
echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"todoList\",confirmDelete)", '<i class="icon-trash icon-large"></i>', '', "class='link-icon' title='{$lang->todo->delete}'");
?>
</td>
</tr>