-
Notifications
You must be signed in to change notification settings - Fork 6
/
generate.html
649 lines (595 loc) · 25.8 KB
/
generate.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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
<!DOCTYPE html>
<!-- Copyright (C) 2015 Richard Hughes <richard@hughsie.com>
Licensed under the GNU General Public License Version 2 -->
<html lang="en">
<head>
<title>OARS: Open Age Ratings Service</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.ico"/>
<script>
function copy_xml() {
var copyText = document.getElementById("appdata_oars");
copyText.select();
document.execCommand("Copy");
}
function advance_tab() {
// make the next tab header active
var e = document.getElementById('tab-list');
var children = Array.from(e.children);
var cleared = false;
var next_section = null
for (var i in children) {
var tab = children[i];
var tab_entry = tab.children[0];
if (tab_entry.classList.contains('active')) {
tab_entry.classList.remove('active');
cleared = true;
} else if (cleared) {
// only use this if it's visible
if (tab.style.display != 'none') {
next_section = tab.id;
tab_entry.classList.add('active');
break;
}
}
}
// make the next tab body active
e = document.getElementById('tab-content');
children = Array.from(e.children);
cleared = false;
for (var i in children) {
var tab = children[i];
if ('tab-' + tab.id == next_section) {
tab.classList.add('active');
} else {
tab.classList.remove('active');
}
}
}
function updateAppData() {
var cats = [
{ id: 'violence-cartoon',
versions: ['1.0', '1.1']
},
{ id: 'violence-fantasy',
versions: ['1.0', '1.1']
},
{ id: 'violence-realistic',
versions: ['1.0', '1.1']
},
{ id: 'violence-bloodshed',
versions: ['1.0', '1.1']
},
{ id: 'violence-sexual',
versions: ['1.0', '1.1']
},
{ id: 'violence-desecration',
versions: ['1.1']
},
{ id: 'violence-slavery',
versions: ['1.1']
},
{ id: 'drugs-alcohol',
versions: ['1.0', '1.1']
},
{ id: 'drugs-narcotics',
versions: ['1.0', '1.1']
},
{ id: 'drugs-tobacco',
versions: ['1.0', '1.1']
},
{ id: 'sex-nudity',
versions: ['1.0', '1.1']
},
{ id: 'sex-themes',
versions: ['1.0', '1.1']
},
{ id: 'language-profanity',
versions: ['1.0', '1.1']
},
{ id: 'language-humor',
versions: ['1.0', '1.1']
},
{ id: 'language-discrimination',
versions: ['1.0', '1.1']
},
{ id: 'social-chat',
versions: ['1.0', '1.1']
},
{ id: 'social-info',
versions: ['1.0', '1.1']
},
{ id: 'social-audio',
versions: ['1.0', '1.1']
},
{ id: 'social-location',
versions: ['1.0', '1.1']
},
{ id: 'social-contacts',
versions: ['1.0', '1.1']
},
{ id: 'money-purchasing',
versions: ['1.0', '1.1']
},
{ id: 'money-advertising',
versions: ['1.0', '1.1']
},
{ id: 'money-gambling',
versions: ['1.0', '1.1']
},
];
var e = document.getElementById('api-version');
var api_version = e.options[e.selectedIndex].value;
// generate the XML
var xml = ''
for (var i in cats) {
var e = document.getElementById(cats[i].id);
if (!cats[i].versions.includes(api_version))
continue
var val = e.options[e.selectedIndex].value;
if (val == 'none')
continue
xml += ' <content_attribute id="' + cats[i].id + '">' + val + '</content_attribute>\n'
}
if (xml.length > 0) {
xml = ' <content_rating type="oars-' + api_version + '">\n' + xml + ' </content_rating>\n'
} else {
xml = ' <content_rating type="oars-' + api_version + '" />\n'
}
document.getElementById('appdata_oars').value = xml;
// disable elements when the API version is too old
for (var i in cats) {
var e = document.getElementById(cats[i].id);
var enabled = cats[i].versions.includes(api_version);
e.disabled = !enabled;
}
// hide tabs when not required
var sections = [
{ section: 'violence',
kinds: ['game-online', 'game-offline', 'app-online', 'app-offline']
},
{ section: 'drugs',
kinds: ['game-online', 'game-offline', 'app-online', 'app-offline']
},
{ section: 'sex',
kinds: ['game-online', 'game-offline', 'app-online', 'app-offline']
},
{ section: 'language',
kinds: ['game-online', 'game-offline', 'app-online', 'app-offline']
},
{ section: 'social',
kinds: ['game-online', 'app-online']
},
{ section: 'money',
kinds: ['game-online', 'game-offline', 'app-online', 'app-offline']
}
];
var e = document.getElementById('component-kind');
var val = e.options[e.selectedIndex].value;
for (var i in sections) {
var section = sections[i].section;
var e = document.getElementById('tab-' + section);
e.style.display = "none";
for (var j in sections[i].kinds) {
if (sections[i].kinds[j] == val)
e.style.display = "block";
}
}
}
</script>
</head>
<body>
<!-- navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="index.html">OARS</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</nav>
<div class="container mt-3">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist" id="tab-list">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#intro" role="tab">Introduction</a>
</li>
<li class="nav-item" id="tab-violence">
<a class="nav-link" data-toggle="tab" href="#violence" role="tab">Violence</a>
</li>
<li class="nav-item" id="tab-drugs">
<a class="nav-link" data-toggle="tab" href="#drugs" role="tab">Drugs</a>
</li>
<li class="nav-item" id="tab-sex">
<a class="nav-link" data-toggle="tab" href="#sex" role="tab">Sex and Nudity</a>
</li>
<li class="nav-item" id="tab-language">
<a class="nav-link" data-toggle="tab" href="#language" role="tab">Language</a>
</li>
<li class="nav-item" id="tab-money">
<a class="nav-link" data-toggle="tab" href="#money" role="tab">Money</a>
</li>
<li class="nav-item" id="tab-social">
<a class="nav-link" data-toggle="tab" href="#social" role="tab">Social</a>
</li>
<li class="nav-item" id="tab-xml">
<a class="nav-link" data-toggle="tab" href="#xml" role="tab">XML</a>
</li>
</ul>
<form onChange="updateAppData()" class="clearfix">
<!-- Tab panes -->
<div class="tab-content" id="tab-content">
<!-- Introduction pane -->
<div class="tab-pane active mt-3" id="intro" role="tabpanel">
<p>
By answering all the questions you can generate AppStream-compatible markup
for the upstream AppData file.
</p>
<p>
If the user is able to <q>enable</q> NSFW or <q>adult</q> content, then this
should be included in the assessment even if it is turned off by default.
</p>
<p>
What type of component are you generating content for:
</p>
<select class="form-control" id="component-kind" required>
<option value="game-online">Game with networking</option>
<option value="game-offline">Game that does not use any kind of network access</option>
<option value="app-online">Application that can connect to the Internet</option>
<option value="app-offline">Application that does not use the Internet</option>
</select>
<p class="mt-3">
OARS has multiple versions, and the newer versions include more questions
involving specific cultural and religious sensitivities.
What version of OARS metadata do you want to produce:
</p>
<select class="form-control" id="api-version" required>
<option value="1.0">1.0 (works with all clients)</option>
<option value="1.1" selected="selected">1.1 (works with GNOME Software >= 3.27.3)</option>
</select>
<button type="button" onClick="advance_tab()" class="btn btn-info mt-4 float-right">Let's get started!</button>
</div>
<!-- Violence pane -->
<div class="tab-pane mt-3" id="violence" role="tabpanel">
<h2 class="mt-3">Cartoon Violence</h2>
<p>
Defined as <em>fictional characters depicted
in an animated film or a comic strip</em> which do not look human.
</p>
<p class="text-secondary">
For example, this would include an animated worm fighting with a bird.
</p>
<select class="form-control" id="violence-cartoon" required>
<option value="none">None</option>
<option value="mild">Mild: Cartoon characters in unsafe situations</option>
<option value="moderate">Moderate: Cartoon characters in aggressive conflict</option>
<option value="intense">Intense: Cartoon characters showing graphic violence</option>
</select>
<h2 class="mt-3">Fantasy Violence</h2>
<p>
Defined as <em>characters easily distinguishable from reality</em>.
</p>
<p class="text-secondary">
For example, this would include human units in a turn-taking isometric game.
</p>
<select class="form-control" id="violence-fantasy" required>
<option value="none">None</option>
<option value="mild">Mild: Fantasy characters in unsafe situations</option>
<option value="moderate">Moderate: Fantasy characters in aggressive conflict</option>
<option value="intense">Intense: Fantasy characters with graphic violence</option>
</select>
<h2 class="mt-3">Realistic Violence</h2>
<p>
Defined as <em>characters not easily distinguishable from reality</em>.
</p>
<p class="text-secondary">
For example, this would include a user shooting a gun at a human characters.
</p>
<select class="form-control" id="violence-realistic" required>
<option value="none">None</option>
<option value="mild">Mild: Realistic characters in unsafe situations</option>
<option value="moderate">Moderate: Realistic characters in depictions of aggressive conflict</option>
<option value="intense">Intense: Realistic characters with graphic violence</option>
</select>
<h2 class="mt-3">Bloodshed</h2>
<p>
Defined as <em>the killing or wounding of people</em>.
</p>
<p class="text-secondary">
For example, this would include a user shooting a gun at a human
head, causing it to explode.
</p>
<select class="form-control" id="violence-bloodshed" required>
<option value="none">None</option>
<option value="mild">Mild: Unrealistic bloodshed</option>
<option value="moderate">Moderate: Realistic bloodshed</option>
<option value="intense">Intense: Depictions of bloodshed and the mutilation of body parts</option>
</select>
<h2 class="mt-3">Sexual Violence</h2>
<p>
Defined as <em>any unwanted sexual act or activity</em>.
</p>
<p class="text-secondary">
For example, this would include non-consensual sex or grabbing the
crotch of another user.
</p>
<select class="form-control" id="violence-sexual" required>
<option value="none">None</option>
<option value="intense">Intense: Rape or other violent sexual behavior</option>
</select>
<h2 class="mt-3">Desecration</h2>
<p>
Defined as <em>the action of desecrating something, typically a human body</em>.
</p>
<div class="alert alert-info" role="alert">
This is an v1.1 cultural sensitivity question.
</div>
<select class="form-control" id="violence-desecration" required>
<option value="none">None</option>
<option value="mild">Mild: Visible dead human remains</option>
<option value="moderate">Moderate: Dead human remains that are exposed to the elements</option>
<option value="intense">Intense: Graphic depictions of desecration of human bodies, for example being eaten by wild animals</option>
</select>
<h2 class="mt-3">Human Slavery</h2>
<p>
Defined as <em>working without proper remuneration or appreciation</em>.
</p>
<div class="alert alert-info" role="alert">
This is an v1.1 cultural sensitivity question.
</div>
<select class="form-control" id="violence-slavery" required>
<option value="none">None</option>
<option value="mild">Mild: Depictions or references to historical slavery</option>
<option value="moderate">Moderate: Depictions of modern-day slavery</option>
<option value="intense">Intense: Graphic depictions of modern-day slavery</option>
</select>
<button type="button" onClick="advance_tab()" class="btn btn-info mt-4 float-right">Next</button>
</div>
<!-- Drugs pane -->
<div class="tab-pane mt-3" id="drugs" role="tabpanel">
<h2 class="mt-3">Alcohol</h2>
<p>
</p>
<p class="text-secondary">
For example, this would include seeing a character drink a beer.
</p>
<select class="form-control" id="drugs-alcohol" required>
<option value="none">None</option>
<option value="mild">Mild: References to alcoholic beverages</option>
<option value="moderate">Moderate: Use of alcoholic beverages</option>
</select>
<h2 class="mt-3">Narcotics</h2>
<p>
Defined as <em>an addictive drug affecting mood or behaviour</em>
that is specifically illegal in at least one country.
</p>
<p class="text-secondary">
For example, this would include references to <q>getting high</q>.
</p>
<select class="form-control" id="drugs-narcotics" required>
<option value="none">None</option>
<option value="mild">Mild: References to illicit drugs</option>
<option value="moderate">Moderate: Use of illicit drugs</option>
</select>
<h2 class="mt-3">Tobacco</h2>
<p>
Defined as <em>any nicotine-rich product</em>.
</p>
<p class="text-secondary">
For example, this would include references to chewing tobacco.
</p>
<select class="form-control" id="drugs-tobacco" required>
<option value="none">None</option>
<option value="mild">Mild: References to tobacco products</option>
<option value="moderate">Moderate: Use of tobacco products</option>
</select>
<button type="button" onClick="advance_tab()" class="btn btn-info mt-4 float-right">Next</button>
</div>
<!-- Sex and Nudity pane -->
<div class="tab-pane mt-3" id="sex" role="tabpanel">
<h2 class="mt-3">Nudity</h2>
<p>
Defined as <em>a state of undress</em>, and in this case
specifically specifically nudity likely to cause offense.
</p>
<p class="text-secondary">
For example, this would include topless cheerleaders.
</p>
<select class="form-control" id="sex-nudity" required>
<option value="none">None</option>
<option value="mild">Mild: Brief artistic nudity</option>
<option value="moderate">Moderate: Prolonged nudity</option>
<option value="intense">Intense: Explicit nudity showing nipples or sexual organs</option>
</select>
<h2 class="mt-3">Sexual Themes</h2>
<p>
Defined as <em>in reference to a sexual act</em>.
</p>
<p class="text-secondary">
For example, this would include blowing a kiss to another character.
</p>
<select class="form-control" id="sex-themes" required>
<option value="none">None</option>
<option value="mild">Mild: Provocative references or depictions</option>
<option value="moderate">Moderate: Sexual references or depictions</option>
<option value="intense">Intense: Graphic sexual behavior</option>
</select>
<button type="button" onClick="advance_tab()" class="btn btn-info mt-4 float-right">Next</button>
</div>
<!-- Language pane -->
<div class="tab-pane mt-3" id="language" role="tabpanel">
<h2 class="mt-3">Profanity</h2>
<p>
Defined as <em>blasphemous or obscene language</em>.
</p>
<p class="text-secondary">
For example, this would include most curse words.
</p>
<select class="form-control" id="language-profanity" required>
<option value="none">None</option>
<option value="mild">Mild: Mild or infrequent use of profanity e.g. 'Dufus'</option>
<option value="moderate">Moderate: Moderate use of profanity e.g. 'Shit'</option>
<option value="intense">Intense: Strong or frequent use of profanity e.g. 'Fuck'</option>
</select>
<h2 class="mt-3">Humor</h2>
<p>
Defined as <em>the quality of being amusing</em>.
</p>
<p class="text-secondary">
For example, this would include in-app jokes.
</p>
<select class="form-control" id="language-humor" required>
<option value="none">None</option>
<option value="mild">Mild: Slapstick humor</option>
<option value="moderate">Moderate: Vulgar or bathroom humor</option>
<option value="intense">Intense: Mature or sexual humor</option>
</select>
<h2 class="mt-3">Discrimination</h2>
<p>
Defined as <em>the unjust or prejudicial treatment of
different categories of people, especially on the grounds of race,
age, or sex</em>.
</p>
<select class="form-control" id="language-discrimination" required>
<option value="none">None</option>
<option value="mild">Mild: Negativity towards a specific group of people, e.g. ethnic jokes</option>
<option value="moderate">Moderate: Discrimation designed to cause emotional harm, e.g. racism, or homophobia</option>
<option value="intense">Intense: Explicit discrimination based on gender, sexuality, race or religion, e.g. genocide</option>
</select>
<button type="button" onClick="advance_tab()" class="btn btn-info mt-4 float-right">Next</button>
</div>
<!-- Money pane -->
<div class="tab-pane mt-3" id="money" role="tabpanel">
<h2 class="mt-3">Advertising</h2>
<p>
Defined as <em>the activity of producing advertisements for commercial
products or services</em>.
</p>
<p class="text-secondary">
For example, this would include banners showing the Coca-Cola logo shown
in a Soccer game.
</p>
<select class="form-control" id="money-advertising" required>
<option value="none">None</option>
<option value="mild">Mild: Product placement, e.g. billboards in a football game</option>
<option value="moderate">Moderate: Explicit references to specific brands or trademarked products</option>
<option value="intense">Intense: Users are encouraged to purchase specific real-world items</option>
</select>
<h2 class="mt-3">Gambling</h2>
<p>
Defined as <em>taking a risky action in the hope of a desired result</em>.
</p>
<p class="text-secondary">
For example, this would include spinning a wheel to get in-app credits.
</p>
<select class="form-control" id="money-gambling" required>
<option value="none">None</option>
<option value="mild">Mild: Gambling on random events using tokens or credits</option>
<option value="moderate">Moderate: Gambling using fictional money</option>
<option value="intense">Intense: Gambling using real money</option>
</select>
<h2 class="mt-3">In-App Purchases</h2>
<p>
Defined as <em>items or points that a user can buy for use within a
virtual world to improve a character or enhance the playing experience</em>.
</p>
<select class="form-control" id="money-purchasing" required>
<option value="none">None</option>
<option value="mild">Mild: Users are encouraged to donate real money, e.g. using Patreon</option>
<option value="intense">Intense: Ability to spend real money in-app, e.g. buying new content or new levels</option>
</select>
<button type="button" onClick="advance_tab()" class="btn btn-info mt-4 float-right">Next</button>
</div>
<!-- Social pane -->
<div class="tab-pane mt-3" id="social" role="tabpanel">
<h2 class="mt-3">Online Text-only Messaging</h2>
<p>
Defined as <em>any messaging system connected to the Internet</em>.
</p>
<select class="form-control" id="social-chat" required>
<option value="none">None</option>
<option value="mild">Mild: User-to-user game interactions without chat functionality e.g. playing chess</option>
<option value="moderate">Moderate: Moderated messaging between users</option>
<option value="intense">Intense: Uncontrolled chat functionality between users</option>
</select>
<h2 class="mt-3">Online Audio and Video Messaging</h2>
<p>
Defined as <em>any multimedia messaging system connected to the Internet</em>.
</p>
<select class="form-control" id="social-audio" required>
<option value="none">None</option>
<option value="moderate">Moderate: Moderated audio or video chat between users</option>
<option value="intense">Intense: Uncontrolled audio or video chat between users</option>
</select>
<h2 class="mt-3">Contact Details</h2>
<p>
Defined as <em>sharing identifiable details with other users to allow
out-of-band communication</em>.
</p>
<select class="form-control" id="social-contacts" required>
<option value="none">None</option>
<option value="intense">Intense: Sharing Twitter, Facebook or email addresses</option>
</select>
<h2 class="mt-3">Information Sharing</h2>
<p>
Defined as <em>sharing information with a legal entity</em> typically
used for advertising or for sending back diagnostic data.
</p>
<p class="text-secondary">
For example, this would include sending your purchasing history to Amazon.
</p>
<select class="form-control" id="social-info" required>
<option value="none">None</option>
<option value="mild">Mild: Using any online API, e.g. a user-counter</option>
<option value="moderate">Moderate: Sharing diagnostic data not identifiable to the user, e.g. profiling data</option>
<option value="intense">Intense: Sharing information identifiable to the user, e.g. crash dumps</option>
</select>
<h2 class="mt-3">Location Sharing</h2>
<p>
Defined as <em>sharing your physical real-time location</em>.
</p>
<p class="text-secondary">
For example, this would include uploading the GPS co-ordinates of your
current location.
NOTE: This does <b>not</b> include heuristic based location services,
e.g. GeoIP and others.
</p>
<select class="form-control" id="social-location" required>
<option value="none">None</option>
<option value="intense">Intense: Sharing physical location to other users e.g. a postal address</option>
</select>
<button type="button" onClick="advance_tab()" class="btn btn-info mt-4 float-right">Show me the result!</button>
</div>
<!-- XML pane -->
<div class="tab-pane mt-3" id="xml" role="tabpanel">
<p>
The following markup can be pasted into the existing application AppData file.
</p>
<textarea id="appdata_oars" rows="25" cols="80">
</textarea>
<button type="button" onClick="copy_xml()" class="btn btn-success mt-4 float-right">Copy to the clipboard</button>
</div>
</div>
</form>
</div>
<hr>
<script>updateAppData();</script>
<div class="container">
<footer class="row">
<div class="col-md">
<p>
© <a href="mailto:richard@hughsie.com">Richard Hughes 2015–2023</a>
</p>
</div>
<div class="col-md-auto">
<p>
<a href="https://github.com/hughsie/oars">Contribute on GitHub</a>
</p>
</div>
</footer>
</div>
</body>
</html>