* finish task #4036 for backyard.
This commit is contained in:
@@ -44,7 +44,6 @@ table th.col-closed {width:15%}
|
||||
.board-bug-closed .board-footer .board-id, .board-task-closed .board-footer .board-id {border-color: #777}
|
||||
.board-footer .bug-pri, .board-footer .task-pri, .board-footer .story-pri {margin-right: 10px;}
|
||||
|
||||
.board-story {background: #dd7503}
|
||||
.board-bug-wait,.board-task-wait {background: #2b529c}
|
||||
.board-bug-doing,.board-task-doing {background: #D2322D}
|
||||
.board-bug-done,.board-task-done {background: #229F24}
|
||||
@@ -69,6 +68,14 @@ table th.col-closed {width:15%}
|
||||
.story-pri.pri-3 {background-color:#b56a00;}
|
||||
.story-pri.pri-4 {background-color:#795523;}
|
||||
|
||||
.board-story {background: #dd7503}
|
||||
.board-story.stage-projected {background-color:#808080;}
|
||||
.board-story.stage-developing {background-color:#d2322d;}
|
||||
.board-story.stage-developed {background-color:#229E70;}
|
||||
.board-story.stage-testing {background-color:#e84e0f;}
|
||||
.board-story.stage-tested {background-color:#795523;}
|
||||
.board-story.stage-released {background-color:#8957a1;}
|
||||
|
||||
.bug-pri,.task-pri {display: inline-block; width: 16px; height: 16px; text-align: center; border-radius: 8px; border: 1px solid #ddd; font-size: 12px}
|
||||
|
||||
.affix {position:fixed; top:0px; width:95%;z-index:1030;}
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
<table class='boards-layout table' id='kanbanHeader'>
|
||||
<thead>
|
||||
<tr>
|
||||
<?php if($project->type != 'ops'):?>
|
||||
<?php $hasStory = count($stories) >= 2;?>
|
||||
<?php if($hasStory):?>
|
||||
<th class='w-p15 col-story'>
|
||||
<div class='dropdown inline-block'>
|
||||
<a data-toggle='dropdown' href='javascript:;'><?php echo $lang->project->orderList[$orderBy]?> <span class='icon-caret-down'></span> </a>
|
||||
@@ -43,7 +44,7 @@
|
||||
<table class='boards-layout table active-disabled table-bordered' id='kanbanWrapper'>
|
||||
<thead>
|
||||
<tr>
|
||||
<?php if($project->type != 'ops'):?>
|
||||
<?php if($hasStory):?>
|
||||
<th class='w-p15 col-story'> </th>
|
||||
<?php endif;?>
|
||||
<?php foreach ($taskCols as $col):?><th class='col-<?php echo $col?>'></th><?php endforeach;?>
|
||||
@@ -52,11 +53,12 @@
|
||||
<tbody>
|
||||
<?php $rowIndex = 0; ?>
|
||||
<?php foreach($stories as $story):?>
|
||||
<?php if(empty(get_object_vars($story))) continue;?>
|
||||
<tr data-id='<?php echo $rowIndex++?>'>
|
||||
<?php if($project->type != 'ops'):?>
|
||||
<?php if($hasStory):?>
|
||||
<td class='col-story'>
|
||||
<?php if(!empty($story->id)):?>
|
||||
<div class='board board-story' data-id='<?php echo $story->id?>'>
|
||||
<div class='board board-story stage-<?php echo $story->stage?>' data-id='<?php echo $story->id?>'>
|
||||
<div class='board-title'>
|
||||
<?php echo html::a($this->createLink('story', 'view', "storyID=$story->id", '', true), $story->title, '', 'class="kanbanFrame" title="' . $story->title . '"');?>
|
||||
<div class='board-actions'>
|
||||
@@ -86,7 +88,7 @@
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<?php foreach ($taskCols as $col):?>
|
||||
<?php foreach($taskCols as $col):?>
|
||||
<td class='col-droppable col-<?php echo $col?>' data-id='<?php echo $col?>'>
|
||||
<?php if(!empty($story->tasks[$col])):?>
|
||||
<?php foreach($story->tasks[$col] as $task):?>
|
||||
|
||||
Reference in New Issue
Block a user