-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.html
85 lines (73 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.toolbar {
display: flex;
}
main {
display: flex;
justify-content: center;
}
pb-navigation {
position: fixed;
bottom: calc(50% - 28px);
--paper-fab-background: #35424b;
color: white;
}
pb-navigation[direction=forward] {
right: 20px;
}
pb-navigation[direction=backward] {
left: 20px;
}
</style>
<!-- Register service worker if supported. -->
<!--
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js');
}
</script>
-->
<!-- Load polyfills -->
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js" defer></script>
<script type="module" src="node_modules/@polymer/iron-icons/iron-icons.js"></script>
<script type="module" src="node_modules/@polymer/paper-fab/paper-fab.js"></script>
<script type="module" src="src/pb-page.js"></script>
<script type="module" src="src/pb-document.js"></script>
<script type="module" src="src/pb-toggle-feature.js"></script>
<script type="module" src="src/pb-view.js"></script>
<script type="module" src="src/pb-navigation.js"></script>
<script type="module" src="src/pb-zoom.js"></script>
<script type="module" src="src/pb-link.js"></script>
<!-- Change stuff here for your app -->
<meta name="theme-color" content="#ffffff">
<title>TEI Publisher Components</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta charset="UTF-8">
</head>
<body>
<!--
To configure starting state of the checkbox from markup:
<start-lit-element pie="true">
-->
<pb-page endpoint="http://localhost:8080/exist/apps/tei-publisher">
<pb-document id="document1" path="test/kant_rvernunft_1781.TEI-P5.xml" odd="dta" view="page"></pb-document>
<div class="toolbar">
<pb-zoom direction="in" icon="icons:zoom-in"></pb-zoom>
<pb-zoom direction="out" icon="icons:zoom-out"></pb-zoom>
</div>
<main>
<pb-navigation direction="backward" keyboard="left">
<paper-fab icon="icons:chevron-left"></paper-fab>
</pb-navigation>
<pb-view src="document1">
</pb-view>
<pb-navigation direction="forward" keyboard="right">
<paper-fab icon="icons:chevron-right"></paper-fab>
</pb-navigation>
</main>
</pb-page>
</body>