diff options
author | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-02-07 17:50:41 +0100 |
---|---|---|
committer | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-02-07 17:51:11 +0100 |
commit | 12a8c669f52c0e84d580c078cee849b25133b585 (patch) | |
tree | 1a0ddb6cc13f225e8a58833b8975f98b453a8d52 /sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/_site/index.html | |
parent | bd2aa3c75e0073ff07fb46b14b8b51926915d5c8 (diff) |
Add sdnr wt devicemanager
Add complete sdnr wireless transport app devicemanager
Change-Id: I433014ee579a3c8833b3b8f84c4087c5f776704f
Issue-ID: SDNC-575
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/_site/index.html')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/_site/index.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/_site/index.html b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/_site/index.html new file mode 100644 index 000000000..4e07bab0b --- /dev/null +++ b/sdnr/wt/devicemanager/provider/src/main/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> |