From 28133d5d06f209eb3c45bacf6bb60474cc9ac356 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Tue, 27 Apr 2010 14:38:13 +0000 Subject: [PATCH] * adjust the UI. --- module/index/control.php | 6 +++--- module/index/view/index.html.php | 34 +++++++++++++++++--------------- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/module/index/control.php b/module/index/control.php index e5a52ce3d3..4db92e18b3 100644 --- a/module/index/control.php +++ b/module/index/control.php @@ -43,14 +43,14 @@ class index extends control foreach($projects as $project) { $dataXML = $this->report->createSingleXML($this->project->getBurnData($project->id), $this->lang->project->charts->burn->graph); - $burns[$project->id] = $this->report->createJSChart('line', $dataXML, 'auto', 200); + $burns[$project->id] = $this->report->createJSChart('line', $dataXML, 'auto', 260); } - $projectGroups = array_chunk($projects, 3); + $projectGroups = array_chunk($projects, 2); $this->view->projectGroups = $projectGroups; $this->view->burns = $burns; $this->view->counts = count($projects); - $this->view->actions = $this->loadModel('action')->getDynamic('all', 25); + $this->view->actions = $this->loadModel('action')->getDynamic('all', 30); $this->view->users = $this->loadModel('user')->getPairs('noletter'); $this->view->users['guest']= 'guest'; // append the guest account. $this->display(); diff --git a/module/index/view/index.html.php b/module/index/view/index.html.php index fb58a31445..ba5f92d250 100644 --- a/module/index/view/index.html.php +++ b/module/index/view/index.html.php @@ -27,27 +27,29 @@
-
+
$project):?> -
- - - - - - - - - - - - -
createLink('project', 'browse', "projectid=$project->id"), $project->name);?>
project->beginAndEnd;?>begin . ' ~ ' . $project->end;?>
project->status;?>show($lang->project->statusList, $project->status);?>
id];?>
createLink('project', 'burn', "projectID=$project->id"), $lang->project->largeBurnChart);?>
+
+
+
+ createLink('project', 'browse', "projectid=$project->id"), $project->name); + echo '(' . $project->begin . ' ~ ' . $project->end . ')'; + ?> +
+
+
+ id]; + echo html::linkButton($lang->project->largeBurnChart, $this->createLink('project', 'burn', "projectID=$project->id")); + ?> +
+