-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
36 lines (33 loc) · 893 Bytes
/
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
<html>
<head>
<title>Minimal Viewer</title>
<link href="https://fonts.googleapis.com/css?family=Libre+Baskerville" rel="stylesheet" type="text/css">
<link href="css/app.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="root"></div>
<script type="text/javascript" src="minimal_viewer.js"></script>
<script type="text/javascript">
MinimalViewer.initialize(
'#root',
[
{
title: 'MinimalViewer',
identifier: 'minimal_viewer',
url: 'http://localhost:9400',
relations: {
ElementKey: 'data.id',
Title: 'data.title',
Subtitle: 'data.domain',
Link: 'data.url',
Root: 'wadus.another_key'
},
primary_color: 'black',
secondary_color: 'orange',
type: 'headline'
}
]
)
</script>
</body>
</html>