Release 0.0.6

This commit is contained in:
Andrei Pohilko
2022-09-29 09:01:05 +01:00
parent 69609b1ee2
commit 1b6dc4159a
3 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,6 @@ function revisionClicked(namespace, name, self) {
revRow.find(".active").removeClass(active).addClass(inactive)
self.removeClass(inactive).addClass(active)
const elm = self.data("elm")
console.log(elm)
setHashParam("revision", elm.revision)
$("#sectionDetails span.rev").text("#"+elm.revision)
statusStyle(elm.status, $("#none"), $("#sectionDetails .rev-details .rev-status"))
@@ -13,6 +12,7 @@ function revisionClicked(namespace, name, self) {
$("#sectionDetails .rev-tags .rev-chart").text(elm.chart)
$("#sectionDetails .rev-tags .rev-app").text(elm.app_version)
$("#sectionDetails .rev-tags .rev-ns").text(getHashParam("namespace"))
$("#sectionDetails .rev-tags .rev-cluster").text(getHashParam("context"))
$("#revDescr").text(elm.description).removeClass("text-danger")
if (elm.status === "failed") {

View File

@@ -129,10 +129,12 @@
<div>
Revision <span class="rev fw-bold me-4"></span>
Upgraded on <span class="rev-date"></span>
<span class="rev-date"></span>
</div>
<div class="rev-tags mt-3">
<span class="rounded rounded-1 me-2 p-1 px-2 bg-tag text-dark">cluster: <span
class="rev-cluster fw-bold"></span></span>
<span class="rounded rounded-1 me-2 p-1 px-2 bg-tag text-dark">namespace: <span
class="rev-ns fw-bold"></span></span>
<span class="rounded rounded-1 me-2 p-1 px-2 bg-tag text-dark">chart version: <span
@@ -258,7 +260,7 @@
</div>
</div>
<footer class="container-fluid small mt-5" style="z-index: -50">
<footer class="container-fluid small mt-5 mb-5" style="z-index: -50">
<div class="row align-items-end justify-content-end">
<div class="col-3"></div>
<div class="col-4 text-center bg-white bg-opacity-50 p-2 px-3 rounded b-shadow">

View File

@@ -1,5 +1,5 @@
name: "dashboard"
version: "0.0.5"
version: "0.0.6"
usage: "A simplified way of working with Helm"
description: "View HELM situation in nice web UI"
command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"