Skip to content

Commit 1b6dc41

Browse files
committed
Release 0.0.6
1 parent 69609b1 commit 1b6dc41

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

pkg/dashboard/static/details-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ function revisionClicked(namespace, name, self) {
44
revRow.find(".active").removeClass(active).addClass(inactive)
55
self.removeClass(inactive).addClass(active)
66
const elm = self.data("elm")
7-
console.log(elm)
87
setHashParam("revision", elm.revision)
98
$("#sectionDetails span.rev").text("#"+elm.revision)
109
statusStyle(elm.status, $("#none"), $("#sectionDetails .rev-details .rev-status"))
@@ -13,6 +12,7 @@ function revisionClicked(namespace, name, self) {
1312
$("#sectionDetails .rev-tags .rev-chart").text(elm.chart)
1413
$("#sectionDetails .rev-tags .rev-app").text(elm.app_version)
1514
$("#sectionDetails .rev-tags .rev-ns").text(getHashParam("namespace"))
15+
$("#sectionDetails .rev-tags .rev-cluster").text(getHashParam("context"))
1616

1717
$("#revDescr").text(elm.description).removeClass("text-danger")
1818
if (elm.status === "failed") {

pkg/dashboard/static/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,12 @@ <h1 class="name float-start">Name</h1>
129129

130130
<div>
131131
Revision <span class="rev fw-bold me-4"></span>
132-
Upgraded on <span class="rev-date"></span>
132+
<span class="rev-date"></span>
133133
</div>
134134

135135
<div class="rev-tags mt-3">
136+
<span class="rounded rounded-1 me-2 p-1 px-2 bg-tag text-dark">cluster: <span
137+
class="rev-cluster fw-bold"></span></span>
136138
<span class="rounded rounded-1 me-2 p-1 px-2 bg-tag text-dark">namespace: <span
137139
class="rev-ns fw-bold"></span></span>
138140
<span class="rounded rounded-1 me-2 p-1 px-2 bg-tag text-dark">chart version: <span
@@ -258,7 +260,7 @@ <h5 id="upgradeModalLabel">
258260
</div>
259261
</div>
260262

261-
<footer class="container-fluid small mt-5" style="z-index: -50">
263+
<footer class="container-fluid small mt-5 mb-5" style="z-index: -50">
262264
<div class="row align-items-end justify-content-end">
263265
<div class="col-3"></div>
264266
<div class="col-4 text-center bg-white bg-opacity-50 p-2 px-3 rounded b-shadow">

plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "dashboard"
2-
version: "0.0.5"
2+
version: "0.0.6"
33
usage: "A simplified way of working with Helm"
44
description: "View HELM situation in nice web UI"
55
command: "$HELM_PLUGIN_DIR/bin/helm-dashboard"

0 commit comments

Comments
 (0)