This commit is contained in:
滔哥
2017-10-27 15:36:45 +08:00
3 changed files with 8 additions and 15 deletions
+6 -13
View File
@@ -63,19 +63,12 @@ table th.col-closed {width:14%}
.board {background: #333; color: #f1f1f1; outline: 1px solid rgba(0,0,0,.1); outline-offset: -1px;}
.board:hover {outline: 1px solid rgba(0,0,0,.3); color:#fff}
.board-bug-cancel, .board-task-cancel {background: #333; opacity: 1;}
.board-bug-wait, .board-task-wait {background: #2b529c;opacity: 1;}
.board-task-pause {background: #E48600;opacity: 1;}
.board-bug-doing, .board-task-doing {background: #D2322D;opacity: 1;}
.board-bug-done, .board-task-done {background: #229F24;opacity: 1;}
.board-bug-closed, .board-task-closed {background: #777; opacity: 1;}
.board-bug-cancel.inverse, .board-task-cancel.inverse {opacity: 1;}
.board-bug-wait.inverse, .board-task-wait.inverse {opacity: 1}
.board-task-pause.inverse {opacity: 1}
.board-bug-doing.inverse, .board-task-doing.inverse {opacity: 1}
.board-bug-done.inverse, .board-task-done.inverse {opacity: 1}
.board-bug-closed.inverse, .board-task-closed.inverse {opacity: 1}
.board-bug-cancel, .board-task-cancel {background: #333; }
.board-bug-wait, .board-task-wait {background: #2b529c;}
.board-task-pause {background: #E48600;}
.board-bug-doing, .board-task-doing {background: #DC143C;}
.board-bug-done, .board-task-done {background: #229F24;}
.board-bug-closed, .board-task-closed {background: #777; }
.board-story {color: #dd7503; background-color: #FFF3E0;}
.board-story.stage-projected {color:#777;}
@@ -35,8 +35,8 @@
<div class='row-table'>
<?php foreach($colorList as $status => $color):?>
<div class='col-table'>
<input type='hidden' id='color<?php echo $status?>' name="colorList[<?php echo $status?>]" data-provide='colorpicker' data-wrapper='input-group-btn' value='<?php echo $color;?>' data-colors='#333,#2B529C,#E48600,#D2323D,#229F24,#777,#D2691E,#008B8B,#2E8B57,#4169E1,#4B0082,#FA8072,#BA55D3,#2E8B57,#6B8E23'>
<?php echo $lang->task->statusList[$status];?>
<input type='hidden' id='color<?php echo $status?>' name="colorList[<?php echo $status?>]" data-provide='colorpicker' data-wrapper='input-group-btn fix-border-right' data-pull-menu-right='false' data-update-text='#name' value='<?php echo $color;?>'>
</div>
<?php endforeach;?>
</div>
+1 -1
View File
@@ -12,7 +12,7 @@
<?php include './taskheader.html.php';?>
<style>
<?php foreach($colorList as $status => $color):?>
<?php echo ".board-bug-$status, .board-task-$status {background: $color;}\n"?>
<?php echo ".board-bug-$status, .board-task-$status {background: " . ($color ? $color : '#000') . ";}\n"?>
<?php endforeach?>
</style>
<?php