-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (51 loc) · 1.54 KB
/
Copy pathindex.html
File metadata and controls
53 lines (51 loc) · 1.54 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, shrink-to-fit=no"
/>
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Data Sharing Module</title>
<script
type="module"
src="https://cdn.jsdelivr.net/npm/@startinblox/core@latest/dist/index.js"
></script>
</head>
<body>
<style>
solid-permissioning {
max-width: 1000px;
margin: 10px auto;
width: 100%;
}
</style>
<script type="module">
window.orbit = {
client: {
name: "Orbit",
logo: "https://cdn.startinblox.com/logos/ACME.svg",
},
components: [],
getRoute: (route) => route,
getDefaultRoute: () => "",
getComponent: () => undefined,
getComponentFromRoute: () => undefined,
Swal: () => {},
defaultRoute: "",
federations: {},
componentSet: new Set(["routing", "menu", "menu-top", "autoLogin", "solid-permissioning"]),
};
</script>
<h1>Demo of the Data Sharing Module</h1>
<solid-permissioning
data-src="https://data-server.cqcm.startinblox.com/enterprises/1/platforms"
auth-token="1654654zdaz54d"
auto-lang
noRouter>
</solid-permissioning>
<!-- <script src="https://cdn.jsdelivr.net/npm/@startinblox/solid-data-permissioning@latest/dist/index.js" type="module"></script> -->
<script src="src/index.ts" type="module"></script>
</body>
</html>