diff options
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html new file mode 100644 index 000000000..4e07bab0b --- /dev/null +++ b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/_site/index.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> + +<html> + <head> + <meta charset="UTF-8"> + <title>elasticsearch-head</title> + <link rel="stylesheet" href="base/reset.css"> + <link rel="stylesheet" href="vendor.css"> + <link rel="stylesheet" href="app.css"> + <script src="i18n.js" data-baseDir="lang" data-langs="en,fr,pt,zh,tr"></script> + <script src="vendor.js"></script> + <script src="app.js"></script> + <script> + window.onload = function() { + if(location.href.contains("/_plugin/")) { + var base_uri = location.href.replace(/_plugin\/.*/, ''); + } + var args = location.search.substring(1).split("&").reduce(function(r, p) { + r[decodeURIComponent(p.split("=")[0])] = decodeURIComponent(p.split("=")[1]); return r; + }, {}); + new app.App("body", { + id: "es", + base_uri: args["base_uri"] || base_uri, + auth_user : args["auth_user"] || "", + auth_password : args["auth_password"], + dashboard: args["dashboard"] + }); + }; + </script> + <link rel="icon" href="base/favicon.png" type="image/png"> + </head> + <body></body> +</html> |