diff --git a/public/assets/css/main.css b/public/assets/css/main.css
index 1e200c08..df05fb5c 100644
--- a/public/assets/css/main.css
+++ b/public/assets/css/main.css
@@ -583,3 +583,8 @@ h6,
.CodeMirror-linenumber {
font-size: 12px;
}
+
+.bg-grey {
+ background-color: #8aa4af !important;
+ color: #fff !important;
+}
diff --git a/src/PHPCensor/Model/Project.php b/src/PHPCensor/Model/Project.php
index b0e9759f..ee83a88d 100644
--- a/src/PHPCensor/Model/Project.php
+++ b/src/PHPCensor/Model/Project.php
@@ -141,13 +141,10 @@ class Project extends ProjectBase
$icon = 'bitbucket';
break;
- case 'git':
+ case 'remote':
case 'gitlab':
- $icon = 'git';
- break;
-
default:
- $icon = 'cog';
+ $icon = 'code-fork';
break;
}
diff --git a/src/PHPCensor/View/Home/ajax-dashboard-project.phtml b/src/PHPCensor/View/Home/ajax-dashboard-project.phtml
index cc33aedc..29ffac4d 100644
--- a/src/PHPCensor/View/Home/ajax-dashboard-project.phtml
+++ b/src/PHPCensor/View/Home/ajax-dashboard-project.phtml
@@ -3,7 +3,7 @@ use PHPCensor\Helper\Lang;
$statuses = [];
$failures = 0;
-$subcls = 'yellow';
+$subcls = 'grey';
$cls = '';
$success = null;
$failure = null;
@@ -103,18 +103,18 @@ if ($buildCount > 0) {
';
+ echo '';
} else {
$build = $builds[$idx];
$link = APP_URL . 'build/view/' . $build->id;
switch ($build->getStatus()) {
case 0:
$class = 'bg-blue';
- $icon = 'fa-minus';
+ $icon = 'fa-clock-o';
break;
case 1:
$class = 'bg-yellow';
- $icon = 'fa-clock-o';
+ $icon = 'fa-cogs';
break;
case 2:
$class = 'bg-green';
diff --git a/src/PHPCensor/View/Home/dashboard-projects.phtml b/src/PHPCensor/View/Home/dashboard-projects.phtml
index 25373b38..0ea6fb8d 100644
--- a/src/PHPCensor/View/Home/dashboard-projects.phtml
+++ b/src/PHPCensor/View/Home/dashboard-projects.phtml
@@ -4,7 +4,7 @@ use PHPCensor\Helper\Lang;
foreach($projects as $project):
$statuses = [];
$failures = 0;
- $subcls = 'yellow';
+ $subcls = 'grey';
$cls = '';
$success = null;
$failure = null;
@@ -104,18 +104,18 @@ foreach($projects as $project):
getId()][$idx])) {
- echo '';
+ echo '';
} else {
$build = $builds[$project->getId()][$idx];
$link = APP_URL . 'build/view/' . $build->id;
switch ($build->getStatus()) {
case 0:
$class = 'bg-blue';
- $icon = 'fa-minus';
+ $icon = 'fa-clock-o';
break;
case 1:
$class = 'bg-yellow';
- $icon = 'fa-clock-o';
+ $icon = 'fa-cogs';
break;
case 2:
$class = 'bg-green';