From 9995b568ca95e325fe4752d0465f06e6af7a6d91 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Wed, 30 Dec 2009 03:13:51 +0000 Subject: [PATCH] + add the feature of altnate color for table. --- db/update.sql | 3 + module/bug/view/browse.html.php | 3 +- module/common/tablesorter.html.php | 34 ++- module/my/view/project.html.php | 2 +- module/product/view/browse.html.php | 3 +- module/project/view/bug.html.php | 3 +- module/project/view/story.html.php | 3 +- module/project/view/task.html.php | 3 +- module/project/view/team.html.php | 3 +- module/testcase/view/browse.html.php | 3 +- www/js/jquery/colorize/full.js | 374 +++++++++++++++++++++++++++ www/theme/default/style.css | 5 + 12 files changed, 428 insertions(+), 11 deletions(-) create mode 100644 www/js/jquery/colorize/full.js diff --git a/db/update.sql b/db/update.sql index 69a748f6b1..23556d395e 100644 --- a/db/update.sql +++ b/db/update.sql @@ -147,3 +147,6 @@ update zt_task set statusCustom = locate(status, 'wait,doing,done,cancel') -- 增加类型字段。-- ALTER TABLE `zt_task` ADD `type` VARCHAR( 20 ) NOT NULL AFTER `name` , ADD INDEX ( TYPE ) + +-- todo 增加状态-- +ALTER TABLE `zt_todo` CHANGE `status` `status` CHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'wait' diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 4ca64c246e..85e3f9661f 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -24,6 +24,7 @@ ?> + - + + + + diff --git a/module/my/view/project.html.php b/module/my/view/project.html.php index ca1ea7e79e..b2afce0d1c 100644 --- a/module/my/view/project.html.php +++ b/module/my/view/project.html.php @@ -27,7 +27,7 @@
- + diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index bd4b714dd6..88102cc07f 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -24,6 +24,7 @@ ?> +
project->name;?> project->code;?> project->begin;?>