This repository has been archived by the owner on Sep 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
281 lines (265 loc) · 22 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="theme-color" content="#003d32">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tridocTOOLBOX</title>
<link rel="icon" sizes="400x400" href="img/icon_square_400.png">
<link rel="shortcut icon" href="https://material.io/static/images/simple-lp/favicons/components-72x72.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
<link rel="stylesheet" href="bundle.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body class="mdc-typography">
<header class="mdc-top-app-bar mdc-top-app-bar--fixed">
<div class="mdc-top-app-bar__row">
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
<a href="#" class="material-icons mdc-top-app-bar__navigation-icon" aria-label="Settings">settings</a>
<span class="mdc-top-app-bar__logo">
<svg version="1.1" viewBox="0 0 54.783084 8.4719544" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<g transform="translate(-221.59 -271.33)">
<path transform="matrix(.26458 0 0 .26458 221.59 266.57)" d="m0.98828 17.979a1.0001 1.0001 0 0 0 -0.10156 0.0059 1.0001 1.0001 0 0 0 -0.87891 1.0117v9.8965a1.0003 1.0003 0 0 0 0 0.20898v9.8926a1.0001 1.0001 0 0 0 0.019531 0.29883c0.10356 3.8129 2.1631 7.3183 5.4785 9.2324 3.402 1.9641 7.598 1.9641 11 0 2.0203-1.1664 3.5639-2.9312 4.498-4.9883 0.93407 2.0574 2.4795 3.8217 4.5 4.9883 3.402 1.9641 7.598 1.9641 11 0 2.0166-1.1643 3.5594-2.9243 4.4941-4.9766 0.53571 1.1797 1.2804 2.2765 2.2305 3.2266 3.144 3.144 7.8805 4.0863 11.988 2.3848 2.6251-1.0874 4.66-3.123 5.791-5.6094 1.7368 3.7944 5.5607 6.4434 9.998 6.4434 4.4373 0 8.2611-2.6491 9.998-6.4434 0.92527 2.0353 2.4609 3.7974 4.5 4.9746 4.3075 2.4869 9.7642 1.767 13.281-1.75a1.0022 1.0022 0 1 0 -1.418 -1.4161c-2.8838 2.8838-7.3353 3.4708-10.867 1.4316-2.828-1.6328-4.4869-4.6142-4.4961-7.7598 3.8e-5 -0.01134 2e-3 -0.02382 2e-3 -0.03516 0-0.03402-4e-3 -0.06874-0.0078-0.10352 0.0076-0.73769 0.11092-1.484 0.30859-2.2227 1.0555-3.9393 4.617-6.6719 8.6953-6.6719h10.002a1.001 1.001 0 1 0 0 -2.002h-10.002c-4.3551 0-8.2404 2.5709-10.004 6.4355-1.7386-3.79-5.56-6.4355-9.9941-6.4355-3.7231 0-7.0147 1.8666-9.0059 4.707v-3.6191a1.0003 1.0003 0 0 0 0 -0.16797v-9.918a1.0001 1.0001 0 0 0 -1.1133 -1.0117 1.0001 1.0001 0 0 0 -0.87891 1.0117v8.998h-9.0059c-3.6308 0-6.9706 1.7922-9 4.6855v-9.6816a1.0001 1.0001 0 0 0 -1.0098 -1.0195 1.0001 1.0001 0 0 0 -0.99023 1.0195v15.996c0 3.217-1.7101 6.1864-4.4961 7.7949-2.786 1.6085-6.2199 1.6085-9.0059 0-2.5091-1.4487-4.1312-4.0046-4.4316-6.8477 4.521-0.44054 8.3682-3.6446 9.5625-8.1016 1.2873-4.8043-0.82341-9.8842-5.1309-12.371-2.1537-1.2435-4.5901-1.6813-6.9316-1.373-2.3415 0.30841-4.5813 1.3645-6.3398 3.123a1.0001 1.0001 0 1 0 1.4102 1.416c2.8838-2.8838 7.3333-3.4708 10.865-1.4316 3.5319 2.0392 5.2489 6.1818 4.1934 10.121-0.96771 3.6115-4.0439 6.2019-7.6914 6.6094v-8.9355a1.0001 1.0001 0 0 0 -1.0195 -1.0176 1.0001 1.0001 0 0 0 -0.98242 1.0176v9.9277a1.0003 1.0003 0 0 0 -0.001953 0.10156c-0.01134 3.204-1.7237 6.1588-4.5 7.7617-2.786 1.6085-6.212 1.6085-8.998 0-2.7752-1.6023-4.4886-4.5553-4.502-7.7578a1.0001 1.0001 0 0 0 -0.00195 -0.03711v-8.998h8.998a1.0003 1.0003 0 1 0 0 -2h-8.9981v-9a1.0001 1.0001 0 0 0 -1.0117 -1.0176zm40.016 0.01758a1 1 0 0 0 -1 1 1 1 0 0 0 1 1 1 1 0 0 0 1 -1 1 1 0 0 0 -1 -1zm124.98 9.9824v2e-3a1.0001 1.0001 0 0 0 -0.95508 0.77539 1.0003 1.0003 0 0 0 -0.0273 0.31836v9.9199a1.0001 1.0001 0 0 0 0.99609 1.0039h7.5a1.0003 1.0003 0 0 0 0.20703 -0.02148c1.8251-0.10961 3.293-1.6276 3.293-3.4785 0-0.97939-0.41178-1.8646-1.0684-2.502 0.65658-0.63738 1.0684-1.5226 1.0684-2.502 0-1.8556-1.475-3.3779-3.3066-3.4805a1.0003 1.0003 0 0 0 -0.1914 -0.01953h-7.3438a1.0001 1.0001 0 0 0 -0.17188 -0.01563zm-55.002 2e-3a1.0001 1.0001 0 0 0 -0.14258 0.01563h-4.8398a1.001 1.001 0 1 0 0 2.002h4v8.998a1.001 1.001 0 0 0 2.002 0v-8.998h4a1.001 1.001 0 1 0 0 -2.002h-4.8398a1.0001 1.0001 0 0 0 -0.17969 -0.01563zm40.002 0a1.0001 1.0001 0 0 0 -0.98047 1.0176v9.6699a1.0016 1.0016 0 0 0 0.13867 0.92188 1.0001 1.0001 0 0 0 1.2461 0.4082h9.6133a1.0003 1.0003 0 1 0 0 -2h-9.0059v-9a1.0001 1.0001 0 0 0 -1.0117 -1.0176zm45.008 0.0078a1.0001 1.0001 0 0 0 -0.70117 1.7129l4.2969 4.2969-4.2969 4.2969a1.0001 1.0001 0 1 0 1.418 1.4102l4.291-4.2949 4.293 4.2949a1.0001 1.0001 0 1 0 1.4102 -1.4102l-4.293-4.2969 4.293-4.2969a1.0001 1.0001 0 0 0 -0.72265 -1.7109v-2e-3a1.0001 1.0001 0 0 0 -0.6875 0.30274l-4.293 4.2949-4.291-4.2949a1.0001 1.0001 0 0 0 -0.7168 -0.30274zm-69.994 0.0078c-3.3019 0-5.9941 2.7001-5.9941 6.002s2.6923 6.002 5.9941 6.002 6-2.7001 6-6.002-2.6981-6.002-6-6.002zm15 0c-3.3019 0-5.9941 2.7001-5.9941 6.002s2.6923 6.002 5.9941 6.002 6-2.7001 6-6.002-2.6981-6.002-6-6.002zm45 0c-3.3019 0-5.9941 2.7001-5.9941 6.002s2.6923 6.002 5.9941 6.002c3.3018 0 6-2.7001 6-6.002s-2.6982-6.002-6-6.002zm-135 2.0019h9.0059v8.8398a1.0001 1.0001 0 0 0 0 0.1582 1.0001 1.0001 0 0 0 -0.0039 0.10156c-0.04044 3.6021-2.2205 6.8357-5.5547 8.2168-3.3657 1.3941-7.2345 0.62094-9.8105-1.9551-2.576-2.576-3.3433-6.439-1.9492-9.8047 1.3941-3.3657 4.6695-5.5566 8.3125-5.5566zm20.004 0c4.9824 0 8.998 4.0156 8.998 8.998 0 4.9824-4.0156 9.0059-8.998 9.0059-4.9633 0-8.9732-3.9933-9.0039-8.9492a1.0001 1.0001 0 0 0 -0.001953 -0.05664c0-4.9824 4.0235-8.998 9.0059-8.998zm54.996 0c2.221 0 4 1.779 4 4 0 2.221-1.779 4.002-4 4.002-2.221 0-4.002-1.781-4.002-4.002 0-2.221 1.781-4 4.002-4zm15 0c2.221 0 4 1.779 4 4 0 2.221-1.779 4.002-4 4.002-2.221 0-4.002-1.781-4.002-4.002 0-2.221 1.781-4 4.002-4zm25.998 0h6.5039c0.84026 0 1.498 0.65778 1.498 1.498 0 0.84026-0.65778 1.5059-1.498 1.5059a1.0001 1.0001 0 1 0 0 1.9922c0.84026 0 1.498 0.66559 1.498 1.5059s-0.65778 1.5-1.498 1.5h-6.5039zm19.002 0c2.221 0 4 1.779 4 4 0 2.221-1.779 4.002-4 4.002-2.221 0-4.002-1.781-4.002-4.002 0-2.221 1.781-4 4.002-4z" />
</g>
</svg>
</span>
</section>
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-end" role="toolbar">
<a href="https://github.com/tridoc/tridoc-toolbox" class="mdc-top-app-bar__action-item" aria-label="Github Repository" alt="Gthub Repository">
<svg style="width:24px;height:24px" viewBox="0 0 24 24">
<path d="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z" />
</svg>
</a>
</section>
</div>
</header>
<aside id="drawer" class="mdc-drawer mdc-drawer--temporary mdc-typography">
<nav class="mdc-drawer__drawer">
<div class="mdc-drawer__toolbar-spacer mdc-top-app-bar__title">Settings</div>
<nav class="mdc-drawer__content">
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="result-limit" class="mdc-text-field__input">
<label id="result-limit-label" for="result-limit" class="mdc-floating-label">Max. number of results
shown</label>
<div class="mdc-line-ripple"></div>
</div>
<p class="mdc-text-field-helper-text">Set to 0 to show all results</p>
<h2 class="mdc-typography--headline5">Server</h2>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="server-address" class="mdc-text-field__input">
<label id="server-address-label" for="server-address" class="mdc-floating-label">Server Address</label>
<div class="mdc-line-ripple"></div>
</div>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="server-username" class="mdc-text-field__input">
<label id="server-username-label" for="server-username" class="mdc-floating-label">Username</label>
<div class="mdc-line-ripple"></div>
</div>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="password" id="server-password" class="mdc-text-field__input">
<label id="server-password-label" for="server-password" class="mdc-floating-label">Password</label>
<div class="mdc-line-ripple"></div>
</div>
<button id="save-server" class="mdc-button mdc-button--raised standard">Save</button>
</nav>
</nav>
</aside>
<div class="main mdc-top-app-bar--fixed-adjust" id="uploadzone">
<div class="mdc-layout-grid">
<div class="mdc-layout-grid__inner">
<div hidden class="mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4">
<div class="mdc-card standard-card">
<span class="mdc-typography--headline6">Information:</span>
<span>Support for basic-authentification added.</span>
</div>
</div>
<div hidden class="mdc-layout-grid__cell mdc-layout-grid__cell--span-6-desktop mdc-layout-grid__cell--span-4">
<div class="mdc-card standard-card warning">
<span class="mdc-typography--headline6">Warning:</span>
<span>Behaviour of date-tags expected to change soon.</span>
</div>
</div>
<!--Manage Documents-->
<div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-4-desktop">
<div class="mdc-card standard-card">
<h2 class="mdc-typography--headline4">Manage Documents</h2>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="search" class="mdc-text-field__input" autocomplete="off">
<label for="search" class="mdc-floating-label">Text</label>
<div class="mdc-line-ripple"></div>
</div>
<div class=" mdc-text-field mdc-text-field--box standard">
<input id="search-tags" type="text" class="mdc-text-field__input" autocomplete="off">
<label for="search-tags" class="mdc-floating-label">Required Tags</label>
<div class="mdc-line-ripple"></div>
</div>
<p class="mdc-text-field-helper-text">Comma separated</p>
<div class=" mdc-text-field mdc-text-field--box standard">
<input id="search-not-tags" type="text" class="mdc-text-field__input" autocomplete="off">
<label for="search-not-tags" class="mdc-floating-label">Exclude Tags</label>
<div class="mdc-line-ripple"></div>
</div>
<p class="mdc-text-field-helper-text">Comma separated</p>
<button id="search-documents" class="mdc-button mdc-button--raised standard">
Get Documents
</button>
<p class="mdc-typography--overline standard">Drop file for upload or</p>
<div class="mdc-button mdc-button--raised choose-file-button">
<input type="file" id="upload" accept="application/pdf,.pdf">
<p id="upload-text">Select File</p>
</div>
<div class="standard" id="search-document-list-here">
<!--Documents will appear here-->
</div>
</div>
</div>
<!--Manage Tags-->
<div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-4-desktop">
<div class="mdc-card standard-card" id="manage-tags">
<h2 class="mdc-typography--headline4">Manage Tags</h2>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="tag-label" class="mdc-text-field__input tag-label" autocomplete="off">
<label for="tag-label" class="mdc-floating-label" id="tag-label-label">Label</label>
<div class="mdc-line-ripple"></div>
</div>
<p class="mdc-text-field-helper-text">Must not contain: <code>,</code> <code>;</code> <code>:</code>
<code>#</code> <code>"</code> <code>'</code> or spaces</p>
<form class="standard">
<div class="mdc-form-field">
<div class="mdc-radio">
<input class="mdc-radio__native-control" type="radio" id="radio-1" name="radios"
checked>
<div class="mdc-radio__background">
<div class="mdc-radio__outer-circle"></div>
<div class="mdc-radio__inner-circle"></div>
</div>
</div>
<label for="radio-1">Not parameterizable</label>
</div>
<div class="mdc-form-field">
<div class="mdc-radio">
<input class="mdc-radio__native-control" type="radio" id="radio-2" name="radios">
<div class="mdc-radio__background">
<div class="mdc-radio__outer-circle"></div>
<div class="mdc-radio__inner-circle"></div>
</div>
</div>
<label for="radio-2">Parameterizable with number / decimal</label>
</div>
<div class="mdc-form-field">
<div class="mdc-radio">
<input class="mdc-radio__native-control" type="radio" id="radio-3" name="radios">
<div class="mdc-radio__background">
<div class="mdc-radio__outer-circle"></div>
<div class="mdc-radio__inner-circle"></div>
</div>
</div>
<label for="radio-3">Parameterizable with date</label>
</div>
</form>
<button class="mdc-button mdc-button--raised standard" id="create-tag">
Create Tag
</button>
<button class="mdc-button mdc-button--raised standard" id="delete-tag">
Delete Tag
</button>
<button class="mdc-button mdc-button--raised standard" id="get-tags">
Reload Tags
</button>
<div class="tags-here standard">
Tags will appear here.
</div>
</div>
</div>
<!--Manage Metadata-->
<div class="mdc-layout-grid__cell mdc-layout-grid__cell--span-4-desktop mdc-layout-grid__cell--span-8-tablet">
<div class="mdc-card standard-card" id="manage-metadata" data-document-id="">
<h2 class="mdc-typography--headline4">Manage Metadata</h2>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="document-id" class="mdc-text-field__input document-id standard-mono"
autocomplete="off">
<label for="document-id" class="mdc-floating-label">Document ID</label>
<div class="mdc-line-ripple"></div>
</div>
<button class="mdc-button mdc-button--raised standard" id="delete">
Delete
</button>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="document-title" class="mdc-text-field__input">
<label for="document-title" class="mdc-floating-label">Document Title</label>
<div class="mdc-line-ripple"></div>
</div>
<button class="mdc-button mdc-button--raised standard" id="set-document-title">
Set title
</button>
<div class="standard">
<h3 class="mdc-typography--headline5">Tags</h3>
<div class="tags-here standard">
Document Tags will be listed here.
</div>
</div>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="add-tag-label" class="mdc-text-field__input tag-label" autocomplete="off">
<label for="add-tag-label" class="mdc-floating-label" id="add-tag-label-label">Tag label</label>
<div class="mdc-line-ripple"></div>
</div>
<form class="standard">
<div class="mdc-form-field">
<div class="mdc-radio">
<input class="mdc-radio__native-control" type="radio" id="radio-11" name="radios"
checked>
<div class="mdc-radio__background">
<div class="mdc-radio__outer-circle"></div>
<div class="mdc-radio__inner-circle"></div>
</div>
</div>
<label for="radio-11">Not parameterizable</label>
</div>
<div class="mdc-form-field">
<div class="mdc-radio">
<input class="mdc-radio__native-control" type="radio" id="radio-12" name="radios">
<div class="mdc-radio__background">
<div class="mdc-radio__outer-circle"></div>
<div class="mdc-radio__inner-circle"></div>
</div>
</div>
<label for="radio-12">Parameterizable with number / decimal</label>
</div>
<div class="mdc-form-field">
<div class="mdc-radio">
<input class="mdc-radio__native-control" type="radio" id="radio-13" name="radios">
<div class="mdc-radio__background">
<div class="mdc-radio__outer-circle"></div>
<div class="mdc-radio__inner-circle"></div>
</div>
</div>
<label for="radio-13">Parameterizable with date (YYYY-MM-DD)</label>
</div>
</form>
<div class="mdc-text-field mdc-text-field--box standard">
<input type="text" id="add-tag-value" class="mdc-text-field__input" autocomplete="off">
<label for="add-tag-value" class="mdc-floating-label" id="add-tag-value-label">Tag value</label>
<div class="mdc-line-ripple"></div>
</div>
<button class="mdc-button mdc-button--raised standard" id="add-tag">
Add tag to Document
</button>
<button class="mdc-button mdc-button--raised standard" id="remove-tag">
Remove tag from Document
</button>
</div>
</div>
</div>
</div>
</div>
<div class="mdc-snackbar mdc-snackbar--align-start" aria-live="assertive" aria-atomic="true" aria-hidden="true">
<div class="mdc-snackbar__text"></div>
<div class="mdc-snackbar__action-wrapper">
<button type="button" class="mdc-snackbar__action-button">Dismiss</button>
</div>
</div>
<script src="bundle.js" async></script>
</body>
</html>