From 8f03c548955213845a3b9af3e59955ad890b9c6e Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 1 Feb 2017 15:27:50 +0100 Subject: [PATCH] [web] Moved vis subview to internal. --- web/content/internal/vis.html | 12 ++++++++++++ web/layouts/shortcodes/vis.html | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 web/content/internal/vis.html diff --git a/web/content/internal/vis.html b/web/content/internal/vis.html new file mode 100644 index 00000000000..70e8f3ba899 --- /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 bc3bc289e84..8fda4b411c5 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 }} > -- GitLab