* add the js of sparkline.

This commit is contained in:
wangchunsheng
2011-12-07 02:01:11 +00:00
parent 24bf5cfde3
commit 08a69ea061
2 changed files with 7 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
$().ready(function()
{
$('.projectline').each(function()
{
$(this).sparkline('html', {height:'25px'});
})
})
-4
View File
@@ -12,10 +12,6 @@
<?php include '../../common/view/header.lite.html.php';?>
<?php include '../../common/view/sparkline.html.php';?>
<?php include '../../common/view/colorize.html.php';?>
<h3>
<?php echo html::a(inlink("index", "locate=no&status=undone&productID=$productID"), $lang->project->unDoneProjects);?>
<?php echo html::a(inlink("index", "locate=no&status=done&productID=$productID"), $lang->project->doneProjects);?>
</h3>
<table class='table-1 fixed colored'>
<tr class='colhead'>
<th class='w-150px'><?php echo $lang->project->name;?></th>