diff --git a/static/css/quay.css b/static/css/quay.css index 7ee169fdf..4653d5a42 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -507,35 +507,96 @@ i.toggle-icon:hover { color: #428bca; } -.status-boxes .popover { - margin-right: 20px; +.status-box a { + padding: 6px; + color: black; } -.status-boxes .popover-content { - width: 260px; +.status-box a b { + margin-right: 10px; } -.build-statuses { +.build-info { + margin: 4px; + padding: 4px; + margin-left: 6px; + margin-right: 6px; + border-bottom: 1px solid #eee; +} + +.build-info:hover { + background: rgba(66, 139, 202, 0.2); + cursor: pointer; + border-radius: 4px; +} + + +.build-info:last-child { + border-bottom: 0px; +} + +.build-status .phase-icon { + border-radius: 50%; + display: inline-block; + width: 12px; + height: 12px; + margin-right: 6px; + margin-top: 4px; + float: left; +} + +.build-status .phase-icon.error { + background-color: red; +} + +.build-status .phase-icon.waiting, .build-status .phase-icon.starting, .build-status .phase-icon.initializing { + background-color: #ddd; +} + +.build-status .phase-icon.building { + background-color: #f0ad4e; +} + +.build-status .phase-icon.pushing { + background-color: #5cb85c; +} + +.build-status .phase-icon.complete { + background-color: #428bca; +} + +.build-status { + display: inline-block; } .build-status-container { padding: 4px; margin-bottom: 10px; border-bottom: 1px solid #eee; - width: 230px; + width: 350px; } .build-status-container .build-message { display: block; white-space: nowrap; - font-size: 12px; + font-size: 14px; + margin-bottom: 10px; + padding-bottom: 10px; + border-bottom: 1px solid #eee; + margin-left: 20px; } .build-status-container .progress { - height: 12px; + height: 10px; margin: 0px; margin-top: 10px; - width: 230px; + margin-left: 20px; + width: 310px; +} + +.build-status-container .timing { + margin-left: 20px; + margin-top: 6px; } .build-status-container:last-child { @@ -1676,16 +1737,6 @@ p.editable:hover i { cursor: pointer; } -.repo .build-info { - padding: 10px; - margin: 0px; -} - -.repo .build-info .progress { - margin: 0px; - margin-top: 10px; -} - .repo .section { display: block; margin-bottom: 20px; diff --git a/static/directives/build-status.html b/static/directives/build-status.html index 8c27dba53..8de830020 100644 --- a/static/directives/build-status.html +++ b/static/directives/build-status.html @@ -1,8 +1,14 @@
- {{ getBuildMessage(build) }} -
+
+ + {{ getBuildMessage(build) }} +
+
+ + Started: +
+
-
diff --git a/static/js/app.js b/static/js/app.js index 2b72f9930..e83c938fa 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -2534,6 +2534,14 @@ quayApp.directive('ngBlur', function() { }; }); +quayApp.directive('ngVisible', function () { + return function (scope, element, attr) { + scope.$watch(attr.ngVisible, function (visible) { + element.css('visibility', visible ? 'visible' : 'hidden'); + }); + }; +}); + quayApp.run(['$location', '$rootScope', 'Restangular', 'UserService', 'PlanService', '$http', '$timeout', function($location, $rootScope, Restangular, UserService, PlanService, $http, $timeout) { diff --git a/static/partials/view-repo.html b/static/partials/view-repo.html index 969b59275..b890d197b 100644 --- a/static/partials/view-repo.html +++ b/static/partials/view-repo.html @@ -38,13 +38,18 @@
-
- - - Building Images - - {{ buildsInfo ? buildsInfo.length : '-' }} +
+