* Filter execution status.

This commit is contained in:
宋辰轩
2022-12-26 10:57:06 +08:00
parent 0d4f0f34ab
commit 03591f4e00
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
.header {display:flex; justify-content:center; }
.img-header {width:1300px; height:120px; background-image:url("/static/images/screen_header.png"); background-repeat:no-repeat;}
.title {padding-top:39px; padding-left:541px; white-space:nowrap; color:#B2D5E5; font-family: "Helvetica Neue",Helvetica,Tahoma,Arial,'PingFang SC','Source Han Sans CN','Source Han Sans','Source Han Serif','Hiragino Sans GB','WenQuanYi Micro Hei','Microsoft YaHei',sans-serif; letter-spacing:5px;}
.title {padding-top:39px; padding-left:525px; white-space:nowrap; color:#B2D5E5; font-family: "Helvetica Neue",Helvetica,Tahoma,Arial,'PingFang SC','Source Han Sans CN','Source Han Sans','Source Han Serif','Hiragino Sans GB','WenQuanYi Micro Hei','Microsoft YaHei',sans-serif; letter-spacing:5px;}
.time {position:absolute; right:10px; top:30px; color:#eee}
.content {display:flex; justify-content:center; margin-top: 20px;}
+3 -3
View File
@@ -742,10 +742,11 @@ class screenModel extends model
{
$type = 'withdelay';
$this->loadModel('execution');
$executions = $this->execution->getPairs(0, 'sprint') + $this->execution->getPairs(0, 'stage');
$executions = $this->execution->getList(0, 'sprint', 'doing') + $this->execution->getList(0, 'stage', 'doing');
$executionData = array();
foreach($executions as $executionID => $executionName)
foreach($executions as $executionID => $execution)
{
$execution = $this->execution->getByID($executionID);
@@ -767,7 +768,6 @@ class screenModel extends model
$execution->chartData = $chartData;
$executionData[$executionID] = $execution;
}
return $executionData;
}
}
+1 -1
View File
@@ -4,7 +4,7 @@
<?php js::set('executions', $executions);?>
<div class='header'>
<div class='img-header'>
<h2 class='title'>迭代燃尽图</h2>
<h2 class='title'>迭代燃尽图大屏</h2>
<span class='time'><?php echo '更新时间:' . $date;?></span>
</div>
</div>