* adjust for annualdata style.
This commit is contained in:
@@ -61,7 +61,7 @@ body {height: 100vh; padding: 0;}
|
||||
#block4 .pri {display: inline-block; width: 13px; height: 8px; background: #2B4D6D; border-radius: 4px; margin-right: 8px;}
|
||||
#block4 > header {margin-top: 12px; margin-left: -10px;}
|
||||
#block4 > header > div > .pri {margin: 0 10px;}
|
||||
#block4 > .row {margin-top: 20px;}
|
||||
#block4 > .row {margin-top: 20px; height:260px; overflow:auto;}
|
||||
#block4 > .row > .col-xs-6 + .col-xs-6:before {content: ' '; display: block; position: absolute; left: 0; top: 10px; bottom: 26px; background: #1A2835; width: 1px;}
|
||||
#block4 > .row > .col-xs-6 {text-align: center;}
|
||||
#block4 .progress-info {pointer-events: 'none';}
|
||||
|
||||
@@ -559,7 +559,7 @@ class reportModel extends model
|
||||
$storyInfo = array();
|
||||
$storyInfo['count'] = 0;
|
||||
$storyInfo['pri'] = array();
|
||||
$storyInfo['stage'] = array('wait' => 0, 'projected' => 0, 'developing' => 0, 'developed' => 0, 'released' => 0, 'closed' => 0);
|
||||
$storyInfo['stage'] = array();
|
||||
$storyInfo['month'] = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
foreach($stories as $story)
|
||||
{
|
||||
@@ -568,7 +568,8 @@ class reportModel extends model
|
||||
if(!isset($storyInfo['pri'][$story->pri])) $storyInfo['pri'][$story->pri] = 0;
|
||||
$storyInfo['pri'][$story->pri] ++;
|
||||
|
||||
if(isset($storyInfo['stage'][$story->stage])) $storyInfo['stage'][$story->stage] ++;
|
||||
if(!isset($storyInfo['stage'][$story->stage])) $storyInfo['stage'][$story->stage] = 0;
|
||||
$storyInfo['stage'][$story->stage] ++;
|
||||
|
||||
$month = (int)substr($story->openedDate, 5, 2) - 1;
|
||||
$storyInfo['month'][$month] ++;
|
||||
|
||||
Reference in New Issue
Block a user