diff --git a/Docker/Dockerfile b/Docker/Dockerfile index 0b0c65e..587207c 100644 --- a/Docker/Dockerfile +++ b/Docker/Dockerfile @@ -2,7 +2,7 @@ FROM python:2.7-slim ENV MICADO_FRONTEND_IP 127.0.0.1 -ARG GIT_BRANCH=master +ARG GIT_BRANCH=k8s ARG GIT_USER=micado-scale ARG GIT_REPO=component-dashboard ARG GIT_EXPORT_DIR=/srv/micado-dashboard diff --git a/dashboard/templates/docker-visualizer.html b/dashboard/templates/docker-visualizer.html deleted file mode 100644 index 9af8dde..0000000 --- a/dashboard/templates/docker-visualizer.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "layout.html" %} - -{% block page_header %} - Docker Visualizer - (pop out) -{% endblock %} - -{% block content %} -
- -
-{% endblock %} diff --git a/dashboard/templates/kubernetes-dashboard.html b/dashboard/templates/kubernetes-dashboard.html new file mode 100644 index 0000000..401bbfe --- /dev/null +++ b/dashboard/templates/kubernetes-dashboard.html @@ -0,0 +1,12 @@ +{% extends "layout.html" %} + +{% block page_header %} + Kubernetes Dashboard + (pop out) +{% endblock %} + +{% block content %} +
+ +
+{% endblock %} diff --git a/dashboard/views/home.py b/dashboard/views/home.py index 12cb2ab..9adef9d 100644 --- a/dashboard/views/home.py +++ b/dashboard/views/home.py @@ -22,11 +22,11 @@ def home_grafana(): frontend_ip=current_app.config["FRONTEND_IP"]) -@home.route("/docker-visualizer") -@home.route("/dashboard/docker-visualizer") -@register_menu(home, '.docker-visualizer', "Docker Visualizer", order=0) +@home.route("/kubernetes") +@home.route("/dashboard/kubernetes") +@register_menu(home, '.kubernetes-dashboard', "Kubernetes Dashboard", order=0) def home_docker_visualizer(): - return render_template("docker-visualizer.html", + return render_template("kubernetes-dashboard.html", frontend_ip=current_app.config["FRONTEND_IP"])