diff --git a/web/content/internal/vis.html b/web/content/internal/vis.html new file mode 100644 index 0000000000000000000000000000000000000000..70e8f3ba899a082526eec93261976b41b853a691 --- /dev/null +++ b/web/content/internal/vis.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>Title</title> +</head> +<body> +<div class=content></div> + +<script type="text/javascript" src="/js/bundle.js"></script> +</body> +</html> diff --git a/web/layouts/shortcodes/vis.html b/web/layouts/shortcodes/vis.html index bc3bc289e84912335894b26c82e0c2f008f823c7..8fda4b411c5eb7d67554638d752e49efe918d38e 100644 --- a/web/layouts/shortcodes/vis.html +++ b/web/layouts/shortcodes/vis.html @@ -1,5 +1,5 @@ <iframe - src="./../../vis/index.html?fileURL=http://s3-eu-central-1.amazonaws.com/jenkins-dump/{{ .Get "url" }}" + src="/internal/vis/index.html?fileURL=http://s3-eu-central-1.amazonaws.com/jenkins-dump/{{ .Get "url" }}" width="100%" {{ with .Get "height"}} height="{{.}}px"{{ else }} height="500px"{{ end }} >