-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
284 lines (252 loc) · 8.01 KB
/
index.html
File metadata and controls
284 lines (252 loc) · 8.01 KB
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
282
283
284
<html>
<head>
<meta charset="UTF-8" />
<title>CIP4 JDF Toolbox</title>
<!-- bootstrap 4 -->
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" />
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<!-- google fonts -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Merriweather:400,400i,700%7CRoboto:300,300i,400,400i,500,500i,700,700i" />
<script src="./index.js"></script>
<link rel="stylesheet" href="./index.css" />
</head>
<body data-spy="scroll" data-target=".navbar" data-offset="150">
<!-- navigation -->
<nav class="navbar navbar-expand-sm fixed-top">
<a class="navbar-brand" href="#">
<img class="nav-logo"
src="http://assets.cip4.org/logo/cip4-organization.png" />
<span class="cip">CIP4</span>
Organization
</a>
<!-- left -->
<ul class="navbar-nav mr-auto">
</ul>
<!-- left -->
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" href="#check-jdf">Check JDF</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#fix-jdf">Fix JDF</a>
</li>
</ul>
</nav>
<div class="container">
<!-- check jdf -->
<div id="check-jdf" class="row">
<div class="col-12">
<h1>CheckJDF</h1>
<p>
Checks the validity of an uploaded JDF or ZIP file and reports
problems.
Note the known buglet that ZIP files should not contain
any
non-ascii
characters.
</p>
</div>
</div>
<div class="row">
<div class="col-12">
<form method="post" enctype="multipart/form-data"
action="/CheckJDFServlet">
<div class="custom-file">
<input type="file" class="custom-file-input" id="file1"
name="file1" />
<label class="custom-file-label" for="file1">File to check (JDF,
JMF or zip)</label>
</div>
<br />
<br />
<button type="submit" class="btn btn-primary">Check JDF File</button>
<br />
<br />
<br />
<div class="form-group form-check">
<input class="form-check-input" type="checkbox"
name="PrettyFormat" value="true" checked="checked" />
<label class="form-check-label">
Pretty formatting of
XML output - if unchecked
show raw XML output
</label>
</div>
<div class="form-group form-check">
<input class="form-check-input" type="checkbox"
name="UseSchema" value="true" checked="checked" />
<label class="form-check-label">
Use XML Schema for
validation
</label>
</div>
<div class="form-group form-check">
<input class="form-check-input" type="checkbox"
name="IgnorePrivate" value="true" />
<label class="form-check-label">
Ignore
Private extensions
</label>
</div>
<br />
<br />
<div class="form-group">
<label for="ValidationLevel">Validation level:</label>
<select name="ValidationLevel" id="ValidationLevel"
class="form-control" size="1">
<option>NoWarnIncomplete</option>
<option>NoWarnComplete</option>
<option>Incomplete</option>
<option>Complete</option>
</select>
</div>
<div class="form-group">
<label for="Language">Language:</label>
<select name="Language" id="Language" class="form-control"
size="1">
<option>English</option>
<option>Deutsch</option>
<option>Nederlands</option>
</select>
</div>
<br />
<br />
<div class="custom-file">
<input type="file" class="custom-file-input"
id="devcapFile" name="devcapFile" />
<label class="custom-file-label" for="devcapFile"> Device capabilities
file (optional)</label>
</div>
<br />
<br />
<p>
Note that the device capabilities translation feature is still
work
in
progress although the results in the raw output should be
correct.
</p>
</form>
</div>
</div>
</div>
<div class="container">
<!-- fix jdf -->
<div id="fix-jdf" class="row">
<div class="col-12">
<h1>FixJDF</h1>
<p>
Updates a JDF, JMF, XJDF or XJMF File to a selected version,
replacing deprecated syntax with recommended syntax.
</p>
</div>
</div>
<div class="row">
<div class="col-12">
<form method="post" enctype="multipart/form-data"
action="/CheckJDFServlet/FixJDF">
<div class="custom-file">
<label class="custom-file-label" for="file2">File to update</label>
<input type="file" class="custom-file-input" id="file2"
name="file2" />
</div>
<br />
<br />
<button type="submit" class="btn btn-primary">Update XML File</button>
<br />
<br />
<br />
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input"
name="Version" value="Retain" />
Update to Version specified in JDF/XJDF root
</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="General" />
<label class="form-check-label">Generic Fixes only</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.0" />
<label class="form-check-label">JDF 1.0</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.1" />
<label class="form-check-label">JDF 1.1</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.2" />
<label class="form-check-label">JDF 1.2</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.3" />
<label class="form-check-label">JDF 1.3</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.4" />
<label class="form-check-label">JDF 1.4</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.5" />
<label class="form-check-label">JDF 1.5</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.6" />
<label class="form-check-label">JDF 1.6</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.7" checked="checked" />
<label class="form-check-label">JDF 1.7</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="1.8" checked="checked" />
<label class="form-check-label">JDF 1.8</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="2.0" />
<label class="form-check-label">XJDF 2.0</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="2.1" />
<label class="form-check-label">XJDF 2.1</label>
</div>
<div class="form-check">
<input type="radio" class="form-check-input" name="Version"
value="2.2" />
<label class="form-check-label">XJDF 2.2</label>
</div>
</form>
</div>
<div id="version" class="row">
<div class="col-12">
<small>
<b>JDFToolbox</b>
build ${build} (${timestamp})
<i>based on JDFLibJ ${jdflibj.version}</i>
</small>
</div>
</div>
</div>
</div>
</body>
</html>