index.template.html 2.95 KB
Newer Older
Mathias Goebel's avatar
Mathias Goebel committed
1
2
3
<!DOCTYPE html>
<html>
  <head>
4
    <title><%= title %></title>
Mathias Goebel's avatar
Mathias Goebel committed
5
6
7
8
9

    <meta charset="utf-8">
    <meta name="description" content="<%= htmlWebpackPlugin.options.productDescription %>">
    <meta name="format-detection" content="telephone=no">
    <meta name="msapplication-tap-highlight" content="no">
10
    <meta name="viewport" content="initial-scale=1, maximum-scale=5, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
Mathias Goebel's avatar
Mathias Goebel committed
11

12
    <link rel="icon" type="image/x-icon" href="favicon.ico">
Mathias Goebel's avatar
Mathias Goebel committed
13
  </head>
14

Mathias Goebel's avatar
Mathias Goebel committed
15
  <body>
schneider210's avatar
schneider210 committed
16
    <noscript>
17
      <strong>We're sorry but <%= title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
schneider210's avatar
schneider210 committed
18
19
    </noscript>

20
21
22
23
24
25
26
27
28
29
30
31
    <!--
    Quick reference for the panel config (panels.connector)
    The numbers below reflect each component's id. For detailed instructions please refer to the README.md!

    - 1 = Treeview
    - 2 = Metadata
    - 3 = Image
    - 4 = Text / Content
    - 5 = Annotations

    Note: These IDs are supposed to be unique, so please make sure not to repeat these!
    -->
32
    <script id="tido-config" type="application/json">
schneider210's avatar
schneider210 committed
33
    {
Gitlab CI's avatar
Gitlab CI committed
34
			"entrypoint": "",
35
36
37
38
      "annotations": {
        "show": true,
        "types": [
          {
Mathias Goebel's avatar
Mathias Goebel committed
39
            "contenttype": "Person",
40
41
42
43
            "icon": "fasUser",
            "label": "Names"
          },
          {
Mathias Goebel's avatar
Mathias Goebel committed
44
            "contenttype": "Place",
45
46
47
48
            "icon": "fasMapMarkerAlt",
            "label": "Places"
          },
          {
Mathias Goebel's avatar
Mathias Goebel committed
49
            "contenttype": "Editorial Comment",
50
51
            "icon": "fasComment",
            "label": "Comments"
52
53
54
          },
          {
            "contenttype": "Motif",
55
            "icon": "fasHighlighter",
56
            "label": "Motifs"
57
58
59
          }
        ]
      },
60
61
62
63
64
      "colors": {
        "primary": "",
        "secondary": "",
        "accent": ""
      },
65
66
67
68
      "headers": {
        "all": true,
        "info": true,
        "navigation": true,
69
        "panelheadings": true,
70
71
72
73
74
75
        "toggle": true
      },
      "labels": {
        "item": "Sheet",
        "manifest": "Manuscript"
      },
76
77
      "meta": {
        "collection": {
78
          "all": true
79
80
        },
        "manifest": {
81
          "all": true
82
83
        },
        "item": {
84
          "all": true
85
86
        }
      },
87
88
      "panels": [
        {
89
          "connector": [1, 2],
90
          "panel_label": "contentsMetadata",
91
92
          "show": true,
          "toggle": true
93
94
95
96
        },
        {
          "connector": [3],
          "panel_label": "Image",
97
98
          "show": true,
          "toggle": true
99
100
101
102
        },
        {
          "connector": [4],
          "panel_label": "Text",
103
          "show": true,
104
          "toggle": true
105
106
        },
        {
107
108
          "connector": [5],
          "panel_label": "Annotations",
109
110
          "show": true,
          "toggle": true
111
112
113
        }
      ],
      "rtl": false,
114
      "lang": "en-us",
115
      "standalone": true
schneider210's avatar
schneider210 committed
116
117
118
    }
    </script>

Mathias Goebel's avatar
Mathias Goebel committed
119
120
121
    <div id="q-app"></div>
  </body>
</html>