forked from odpi/egeria-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (106 loc) · 4.88 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="generator" content="Polymer Starter Kit">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<title>Egeria UI</title>
<meta name="description" content="Egeria UI Application">
<link rel="icon" href="images/favicon.ico">
<!-- See https://goo.gl/OOhYW5 -->
<link rel="manifest" href="manifest.json">
<!-- See https://goo.gl/qRE0vM -->
<meta name="theme-color" content="#3f51b5">
<!-- Add to homescreen for Chrome on Android. Fallback for manifest.json -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Egeria UI">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Egeria UI">
<!-- Homescreen icons -->
<link rel="apple-touch-icon" href="images/manifest/icon-48x48.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/manifest/icon-72x72.png">
<link rel="apple-touch-icon" sizes="96x96" href="images/manifest/icon-96x96.png">
<link rel="apple-touch-icon" sizes="144x144" href="images/manifest/icon-144x144.png">
<link rel="apple-touch-icon" sizes="192x192" href="images/manifest/icon-192x192.png">
<!-- Tile icon for Windows 8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="images/manifest/icon-144x144.png">
<meta name="msapplication-TileColor" content="#3f51b5">
<meta name="msapplication-tap-highlight" content="no">
<!-- [polymer-root-path] dynamically generated to match spring-boot app contextPath -->
<!-- generates window.MyAppGlobals = { rootPath: '/[request.contextPath]' };-->
<script src="/api/public/js/global"></script>
<script>
// Load and register pre-caching Service Worker
if (window.location.protocol != 'https:' && 'serviceWorker' in navigator) {
window.addEventListener('load', function () {
navigator.serviceWorker.register('service-worker.js', {
scope: MyAppGlobals.rootPath
});
});
}
</script>
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
<!--
QUICK FIX FOR IE 11
<script src="https://cdnjs.cloudflare.com/ajax/libs/core-js/2.5.7/core.min.js"></script>
-->
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="node_modules/web-animations-js/web-animations-next-lite.min.js"></script>
<script src="node_modules/d3/dist/d3.min.js"></script>
<script src="node_modules/visjs-network/dist/vis-network.min.js"></script>
<link href="node_modules/visjs-network/dist/vis-network.min.css" rel="stylesheet" type="text/css">
<!-- Load your application shell -->
<script type="module" src="src/my-app.js"></script>
<!-- Add any global styles for body, document, etc. -->
<style>
:root {
--custom-font-family: sans-serif;
font-family: var(--custom-font-family);
--lumo-font-family: var(--custom-font-family);
--paper-font-subhead_-_font-family: var(--custom-font-family);
--paper-font-common-base_-_font-family: var(--custom-font-family);
--paper-font-body1_-_font-family: var(--custom-font-family);
--paper-font-subhead_-_font-family: var(--custom-font-family);
--paper-font-common-code_-_font-family: var(--custom-font-family);
--login-background: url(images/default-login-background.svg) no-repeat right bottom;
--egeria-primary-color-rgb: 113, 204, 220;
--egeria-primary-color: rgb(var(--egeria-primary-color-rgb));
--egeria-secondary-color: #24272a;
--egeria-background-color: white;
--egeria-stripes-color: #efefef;
--egeria-icon-color: var(--egeria-primary-color);
--egeria-button-ink-color: white;
--egeria-view-margin: 0 24px;
--egeria-view-min-height: calc(100vh - 110px);
--app-background-color: #eeeeee;
--app-logo-background: url(images/Logo_transparent.png) no-repeat top left;
--app-logo-width: 256px;
--app-logo-height: 64px;
--app-logo-background-size: 120px auto;
--app-logo-background-white: url(images/logo-white.png) no-repeat top left;
--app-logo-width-white: 140px;
--app-logo-height-white: 64px;
}
body {
margin: 0;
line-height: 1.5;
min-height: 100vh;
background-color: var(--app-background-color);
color: var(--egeria-secondary-color);
}
iron-overlay-backdrop {
--iron-overlay-backdrop-background-color: #24272a;
--iron-overlay-backdrop-opacity: 0.2;
}
</style>
<link href="/api/public/css/theme" rel="stylesheet" type="text/css">
</head>
<body>
<my-app id="my-app"></my-app>
<noscript>
Please enable JavaScript to view this website.
</noscript>
</body>
</html>