forked from kba/anno-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
displayAnnotations.nm.html
83 lines (72 loc) · 3.45 KB
/
displayAnnotations.nm.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
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Display Annotations Test</title>
<!--
This demo is meant for local development, potentially offline.
It sources the external modules from `node_modules`,
so you'll need to `npm install` this package or otherwise gather the files,
then web-host the module root folder (where `package.json` resides) locally.
Assuming port 33380, the demo would be at
http://localhost:33380/test/html/displayAnnotations.nm.html .
The `annoEndpoint` below should point to an anno-backend server or similar.
-->
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta id="test-xhr-get-anno-default-imports" value="
f:empty_relation_link_predicate
f:tags_and_doi
f:heinrich_scheufelen_ein1183_auktion_hahn
# ubhd:54eb5a09-df9f-3f1c-b18e-4676d1046166
# f:clocktower
# f:cpg389_red_dress
# f:old
">
</head><body>
<main class="sidebar-container"><div class="popups-boundary-marker">
<div id="anno-app-sidebar">
<div id="anno-app-container"></div>
</div><!-- #anno-app-sidebar -->
</div></main><!-- .sidebar-container -->
<script src="../../node_modules/jquery/dist/jquery.min.js"></script>
<script src="cfg.anno-server.defaults.js"></script>
<script src="cfg.tests.defaults.js"></script>
<script src="../../.git/@/config-override/cfg.anno-server.js"></script>
<script src="../../.git/@/config-override/cfg.tests.js"></script>
<script src="../../../anno-local/config-override/cfg.anno-server.js"></script>
<script src="../../../anno-local/config-override/cfg.tests.js"></script>
<style>
@import url("../../node_modules/bootstrap/dist/css/bootstrap.min.css");
@import url("../../node_modules/font-awesome/css/font-awesome.min.css");
@import url("tests.defaults.css");
@import url("../../.git/@/config-override/tests.css");
@import url("../../../anno-local/config-override/tests.css");
</style>
<!-- [2021-04-16] Do not load popper.js separately. It fails with
"TypeError: Popper__default.default is not a constructor".
Instead, use the bundled version of bootstrap, baked with popper inside.
-->
<script src="../../node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="../../node_modules/quill/dist/quill.js"></script>
<script src="../../node_modules/axios/dist/axios.js"></script>
<script src="../../node_modules/semtonotes-client/xrx.api.drawing.min.js"></script>
<script src="../../node_modules/@ubhd/authorities-client/dist/authorities-client.js"></script>
<script src="../../node_modules/semtonotes-utils/dist/xrx-utils.js"></script>
<script src="../../node_modules/@kba/xrx-vue/dist/xrx-vue.js"></script>
<script src="../../node_modules/@/anno-common/anno-webpack/dist/anno-common.dev.js"></script>
<script src="../../dist/anno-frontend.dev.js"></script>
<!-- ATTN: Don't load test code with type="module", as this would make
it run deferred, after displayAnnotations(). -->
<script src="tests.util.js"></script>
<script src="tests.xhr-get-anno.js"></script>
<script src="tests.fragment-selector.js"></script>
<script src="tests.css-overrides.js"></script>
<script src="../mock.server/mintdoi.success.excerpt.js"></script>
<script>
displayAnnotations(Object.assign({}, window.annoServerCfg, window.annoTestCfg, {
// default: // bootstrap: { version: { major: 4 } },
// targetImage: null,
}));
</script>
</body></html>