From 87c79b0c81c351b40ce3b07086023f918655f7c3 Mon Sep 17 00:00:00 2001 From: Sylvain Rabot Date: Mon, 18 Feb 2019 14:14:58 +0100 Subject: [PATCH] Fix console templates (#5228) Signed-off-by: Sylvain Rabot --- console_libraries/menu.lib | 4 ++-- console_libraries/prom.lib | 5 +++-- consoles/prometheus.html | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/console_libraries/menu.lib b/console_libraries/menu.lib index 929dc362a3..3758e5891f 100644 --- a/console_libraries/menu.lib +++ b/console_libraries/menu.lib @@ -19,8 +19,8 @@ + + {{ end }} diff --git a/console_libraries/prom.lib b/console_libraries/prom.lib index ff2090760f..ee3fc44dc0 100644 --- a/console_libraries/prom.lib +++ b/console_libraries/prom.lib @@ -17,8 +17,9 @@ var PATH_PREFIX = "{{ pathPrefix }}"; {{ end }} {{/* Top of all pages. */}} -{{ define "head" }} - +{{ define "head" -}} + + {{ template "prom_console_head" }} diff --git a/consoles/prometheus.html b/consoles/prometheus.html index b85aa359b4..c270111ea9 100644 --- a/consoles/prometheus.html +++ b/consoles/prometheus.html @@ -27,6 +27,7 @@ {{ else }} No devices found. {{ end }} + {{ template "prom_content_tail" . }}