From add3f7df7598c851389bd127447dc7670bcde15a Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Fri, 18 Dec 2020 09:55:27 +0800 Subject: [PATCH 1/3] Add test sign out button --- templates/nameChartSelect.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/nameChartSelect.html b/templates/nameChartSelect.html index 2b6c06c..8cf46a7 100644 --- a/templates/nameChartSelect.html +++ b/templates/nameChartSelect.html @@ -43,6 +43,8 @@ {{ form.submitButton(class_="btn btn-success") }} Cancel

+
+ Log Off @@ -76,4 +78,4 @@ } - \ No newline at end of file + From 6456a4a3ab8926b6398638c76c0ee222ac05f47e Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Fri, 18 Dec 2020 11:06:13 +0800 Subject: [PATCH 2/3] Fixed URL --- Dockerfile | 6 ++---- templates/nameChartSelect.html | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3e1ae92..c093629 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,16 +6,14 @@ LABEL MAINTAINER="Jonathan Ervine " ENV LANG='en_US.UTF-8' \ LANGUAGE='en_US.UTF-8' \ FLASK_APP=/data/app-dev/app.py \ - VERSION=1.1.4 + VERSION=1.1.5 RUN apk update && \ apk -U upgrade --ignore alpine-baselayout && \ apk -U add python3 gcc py3-pip python3-dev musl-dev libffi-dev git curl && \ adduser -D python && \ - mkdir /data && cd /data && git clone --single-branch --branch master https://github.com/jervine-gogo/python-helm-web /data && \ + mkdir /data && cd /data && git clone --single-branch --branch issue-#2 https://github.com/jervine-gogo/python-helm-web /data && \ pip3 install -r /data/requirements.txt && \ - curl -L "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" -o /usr/local/bin/kubectl && \ - chmod 755 /usr/local/bin/kubectl && \ curl -L https://get.helm.sh/helm-v2.13.1-linux-amd64.tar.gz -o /tmp/helm-2.13.1.tgz && \ tar -zxvf /tmp/helm-2.13.1.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \ rm -rf /tmp/src && rm -rf /var/cache/apk/* diff --git a/templates/nameChartSelect.html b/templates/nameChartSelect.html index 8cf46a7..82637b3 100644 --- a/templates/nameChartSelect.html +++ b/templates/nameChartSelect.html @@ -44,7 +44,7 @@ Cancel


- Log Off + Log Off From 25e2b74b9611c07e69ff941ccf01423e125a78ba Mon Sep 17 00:00:00 2001 From: Jonathan Ervine Date: Fri, 18 Dec 2020 13:37:21 +0800 Subject: [PATCH 3/3] Added more logout buttons --- templates/chartRevisionList.html | 4 +++- templates/nameDeploySelect.html | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/chartRevisionList.html b/templates/chartRevisionList.html index afd34d1..6de4ee5 100644 --- a/templates/chartRevisionList.html +++ b/templates/chartRevisionList.html @@ -23,4 +23,6 @@ {{ table }} Home - \ No newline at end of file +
+ Log Off + diff --git a/templates/nameDeploySelect.html b/templates/nameDeploySelect.html index 4e2fb0e..9bc7ff9 100644 --- a/templates/nameDeploySelect.html +++ b/templates/nameDeploySelect.html @@ -32,7 +32,9 @@

{{ form.submitButton(class_="btn btn-success") }} Cancel -

+
+ Log Off +

@@ -62,4 +64,4 @@ } - \ No newline at end of file +