mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
Merge pull request #2914 from jaredevantabor/ux-audit
1px white border for any status icon within a tooltip
This commit is contained in:
@@ -230,7 +230,7 @@ function InventoriesList($scope, $rootScope, $location, $log,
|
|||||||
data.results.forEach( function(row) {
|
data.results.forEach( function(row) {
|
||||||
if (row.related.last_update) {
|
if (row.related.last_update) {
|
||||||
html += "<tr>";
|
html += "<tr>";
|
||||||
html += "<td><a href=\"\" ng-click=\"viewJob('" + row.related.last_update + "')\" aw-tool-tip=\"" + row.status.charAt(0).toUpperCase() + row.status.slice(1) + ". Click for details\" aw-tip-placement=\"top\"><i class=\"fa icon-job-" + row.status + "\"></i></a></td>";
|
html += `<td><a href="" ng-click="viewJob('${row.related.last_update}')" aw-tool-tip="${row.status.charAt(0).toUpperCase() + row.status.slice(1)}. Click for details" aw-tip-placement="top"><i class="SmartStatus-tooltip--${row.status} fa icon-job-${row.status}"></i></a></td>`;
|
||||||
html += "<td>" + ($filter('longDate')(row.last_updated)).replace(/ /,'<br />') + "</td>";
|
html += "<td>" + ($filter('longDate')(row.last_updated)).replace(/ /,'<br />') + "</td>";
|
||||||
html += "<td><a href=\"\" ng-click=\"viewJob('" + row.related.last_update + "')\">" + ellipsis(row.summary_fields.group.name) + "</a></td>";
|
html += "<td><a href=\"\" ng-click=\"viewJob('" + row.related.last_update + "')\">" + ellipsis(row.summary_fields.group.name) + "</a></td>";
|
||||||
html += "</tr>\n";
|
html += "</tr>\n";
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ export default
|
|||||||
|
|
||||||
recent_notifications.forEach(function(row) {
|
recent_notifications.forEach(function(row) {
|
||||||
html += "<tr>\n";
|
html += "<tr>\n";
|
||||||
html += "<td><i class=\"fa icon-job-" + row.status + "\"></i></td>\n";
|
html += `<td><i class=\"SmartStatus-tooltip--${row.status} fa icon-job-${row.status}"></i></td>`;
|
||||||
html += "<td>" + ($filter('longDate')(row.created)).replace(/ /,'<br />') + "</td>\n";
|
html += "<td>" + ($filter('longDate')(row.created)).replace(/ /,'<br />') + "</td>\n";
|
||||||
html += "</tr>\n";
|
html += "</tr>\n";
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
line-height: 22px;
|
line-height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.SmartStatus-tooltip--successful,
|
||||||
.SmartStatus-tooltip--success{
|
.SmartStatus-tooltip--success{
|
||||||
color: @default-succ;
|
color: @default-succ;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
|
|||||||
Reference in New Issue
Block a user