Fixed gray block style (grey -> gray)

This commit is contained in:
Dmitry Khomutov 2017-04-16 19:55:29 +07:00
parent acd2bcc088
commit 1f9ec69c52
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
3 changed files with 6 additions and 5 deletions

View file

@ -585,7 +585,8 @@ h6,
} }
.bg-gray { .bg-gray {
color: #666; background-color: #8aa4af;
color: #fff !important;
} }
.timeline > .time-label > span { .timeline > .time-label > span {

View file

@ -3,7 +3,7 @@ use PHPCensor\Helper\Lang;
$statuses = []; $statuses = [];
$failures = 0; $failures = 0;
$subcls = 'grey'; $subcls = 'gray';
$cls = ''; $cls = '';
$success = null; $success = null;
$failure = null; $failure = null;
@ -103,7 +103,7 @@ if ($buildCount > 0) {
<?php for ($idx=0; $idx < 5; $idx++) { <?php for ($idx=0; $idx < 5; $idx++) {
if (empty($builds[$idx])) { if (empty($builds[$idx])) {
echo '<span class="small-box-footer-build small-box-footer bg-grey"><i class="fa fa-minus"></i></span>'; echo '<span class="small-box-footer-build small-box-footer bg-gray"><i class="fa fa-minus"></i></span>';
} else { } else {
$build = $builds[$idx]; $build = $builds[$idx];
$link = APP_URL . 'build/view/' . $build->id; $link = APP_URL . 'build/view/' . $build->id;

View file

@ -4,7 +4,7 @@ use PHPCensor\Helper\Lang;
foreach($projects as $project): foreach($projects as $project):
$statuses = []; $statuses = [];
$failures = 0; $failures = 0;
$subcls = 'grey'; $subcls = 'gray';
$cls = ''; $cls = '';
$success = null; $success = null;
$failure = null; $failure = null;
@ -104,7 +104,7 @@ foreach($projects as $project):
<?php for ($idx=0; $idx < 5; $idx++) { <?php for ($idx=0; $idx < 5; $idx++) {
if (empty($builds[$project->getId()][$idx])) { if (empty($builds[$project->getId()][$idx])) {
echo '<span class="small-box-footer-build small-box-footer bg-grey"><i class="fa fa-minus"></i></span>'; echo '<span class="small-box-footer-build small-box-footer bg-gray"><i class="fa fa-minus"></i></span>';
} else { } else {
$build = $builds[$project->getId()][$idx]; $build = $builds[$project->getId()][$idx];
$link = APP_URL . 'build/view/' . $build->id; $link = APP_URL . 'build/view/' . $build->id;