diff --git a/pkg/dashboard/static/details-view.js b/pkg/dashboard/static/details-view.js index e23dbdb..c206e8e 100644 --- a/pkg/dashboard/static/details-view.js +++ b/pkg/dashboard/static/details-view.js @@ -172,7 +172,7 @@ function showResources(namespace, chart, revision) { //reportError("Failed to get list of resources") }).done(function (data) { const badge = $("").text(data.status.phase); - if (["Available", "Active", "Established", "Bound"].includes(data.status.phase)) { + if (["Available", "Active", "Established", "Bound", "Ready"].includes(data.status.phase)) { badge.addClass("bg-success text-dark") } else if (["Exists"].includes(data.status.phase)) { badge.addClass("bg-success text-dark bg-opacity-50") @@ -186,7 +186,7 @@ function showResources(namespace, chart, revision) { statusBlock.empty().append(badge).attr("title", data.status.phase) resBlock.find(".res-statusmsg").html("" + (data.status.message ? data.status.message : '') + "") - if (badge.text() !== "NotFound") { + if (badge.text() !== "NotFound" && revision == $("#specRev").data("last-rev")) { resBlock.find(".res-actions") const btn = $(""); diff --git a/pkg/dashboard/static/revisions-view.js b/pkg/dashboard/static/revisions-view.js index 3728ee0..9f939ca 100644 --- a/pkg/dashboard/static/revisions-view.js +++ b/pkg/dashboard/static/revisions-view.js @@ -48,14 +48,14 @@ function fillChartHistory(data, namespace, name) { if (elm.description.startsWith("Rollback to ")) { //rev.find(".rev-status").append(" (rollback)") - rev.find(".rev-status").append(" ") + rev.find(".rev-status").append(" ") } const nxt = data[x + 1]; if (nxt && isNewerVersion(elm.chart_ver, nxt.chart_ver)) { - rev.find(".rev-changes").html("" + nxt.chart_ver + " " + elm.chart_ver) + rev.find(".rev-changes").html("" + nxt.chart_ver + " " + elm.chart_ver) } else if (nxt && isNewerVersion(nxt.chart_ver, elm.chart_ver)) { - rev.find(".rev-changes").html("" + nxt.chart_ver + " " + elm.chart_ver) + rev.find(".rev-changes").html("" + nxt.chart_ver + " " + elm.chart_ver) } rev.data("elm", elm) diff --git a/pkg/dashboard/static/styles.css b/pkg/dashboard/static/styles.css index 914417c..6c80be6 100644 --- a/pkg/dashboard/static/styles.css +++ b/pkg/dashboard/static/styles.css @@ -160,6 +160,10 @@ body > .container-fluid { color: #3B3D45 !important; } +#topNav .nav-link.text-danger { + color: #FC1683 !important; +} + #topNav .nav-link.active { background: #EBEFFF; border-radius: 2px; @@ -238,6 +242,10 @@ span.link { text-decoration: underline; } +#installedList .body .row div { + overflow: hidden; +} + #installedList .rel-name { padding-left: 5.5rem; background-image: url("helm-gray-50.svg");