-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
1189 lines (907 loc) · 75.3 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
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
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Assisting in developing statements and communicating with a Learning Record Store (LRS)">
<meta name="author" content="ADL">
<link rel="icon" href="favicon.ico">
<title>xAPI Lab</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.min.css" />
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="css/bootstrap-datetimepicker.min.css" />
<link rel="stylesheet" type="text/css" href="css/animate.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/csv-parser-extension.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div id="-upload-modal-" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Upload the trace</h4>
</div>
<div class="modal-body">
<input type="text" id="-registration-id-trace-upload-"></input>
<div id="-registration-id-trace-upload-btn-" class="btn btn-primary">Generate new registration id</div>
<hr/>
<p> Upload progress </p>
<div class="progress">
<div id="-trace-upload-progress-" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"> 0% </div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" id="-trace-upload-btn-">Upload trace</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<section class="col-md-12">
<div class="page-header">
<h1 class="text-primary"><i class="fa fa-flask"></i> xAPI Lab</h1>
<h3 class="text-muted">Assisting in developing statements and communicating with a Learning Record Store (LRS)</h3>
</div>
<!-- CSV PARSER EXTENSION -->
<div class="panel panel-primary">
<div class="panel-body" style="overflow-x: auto">
<h4> Delimiter </h4>
<p> Chose delimiter before uploading csv file </p>
<select id="separator-select">
<option value=";" selected> ; </option>
<option value=","> , </option>
<option value=" "> space </option>
<option value="|"> | </option>
<option value="\t"> tabulation </option>
</select>
<h4> File upload </h4>
<input type="file" class="btn btn-primary" id="upload-btn"></input>
<h4> Config import / export </h4>
<input type="file" class="btn btn-primary" id="-config-upload-btn-" style="display: inline-block"></input>
<div id="-config-download-btn-" class="btn btn-primary">Download configuration</div>
<h4> Preview table </h4>
<table class="table table-bordered" id="preview-table"></table>
<h4> Edit headers </h4>
<input type="checkbox" id="use-first-line-checkbox"> Use first line </input>
<table class="table table-bordered" id="column-header-table"></table>
<div class="btn btn-primary" id="apply-column-header-btn">apply column header</div>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-body">
<h4> Choose a template column </h4>
<p> The values of the chosen column will define a template mapping your csv trace file to a statement.
Best use case is to choose a column defining every verb of the trace, if such column exists.</p>
<select id="verb-column-select"></select>
<div class="btn btn-primary" id="verb-column-apply-btn">Apply</div>
<h4> Template list </h4>
<table class="table">
<tr>
<td> <div style="width: 16px; height: 16px; background-color: #d9534f; border-radius: 100%; display: inline-block"> </div> Required fields progress </td>
<td> <div style="width: 16px; height: 16px; background-color: #f0ad4e; border-radius: 100%; display: inline-block"> </div> Recommanded fields progress </td>
<td> <div style="width: 16px; height: 16px; background-color: #5cb85c; border-radius: 100%; display: inline-block"> </div> Optionnals fields progress </td>
<td> <div style="width: 16px; height: 16px; background-color: #337ab7; border-radius: 100%; display: inline-block"> </div> Csv columns use progress </td>
</tr>
</table>
<div id="verbs-list-div" class="col-md-12">
</div>
</div>
<!-- END CSV PARSER EXTENSION -->
<div class="panel panel-primary">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#smar" href="#smar">Statement Mapping</a></h3>
<center>
<h3 id="-current-verb-title-"> </h3>
</center>
</div>
<div id="smar" class="panel-collapse collapse in">
<div class="panel-body">
<div role="tabpanel">
<div class="row">
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="tab-smar-sending">
<div class="col-md-12">
<div class="panel panel-info">
<div class="panel-heading collapser">
<h4 class="panel-title"><a data-toggle="collapse" data-target="#avo" href="#avo">Statement Builder</a></h4>
</div>
<div id="avo" class="panel-collapse collapse in">
<div class="panel-body">
<div>
<div id="-copy-from-btn-" class="btn btn-primary">Copy from</div>
<select id="-copy-from-select-"></select>
</div>
<form id="statement-builder-values">
<div class="row">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#actor" href="#actor" class="collapsed">Actor</a> <span class="pull-right"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#actor" target="_blank"><i class="fa fa-question-circle"></i></a></span></h3></div>
<div id="actor" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="form-group col-md-5">
<label class="control-label" for="actor-type">Actor Type</label>
<select class="form-control" name="actor-type" id="actor-type">
<option value="Agent">Agent</option>
<option value="Group">Group</option>
</select>
<div class="help-block"></div>
</div>
</div>
<!-- .row -->
<div id="actor-types">
<div id="actor-Agent">
<div class="row">
<div class="col-md-6 ifi">
<h4 class="text-info">Use Only One <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#inversefunctional" target="_blank" title="Inverse Functional Identifier">IFI</a> Below:</h4>
<div class="form-group">
<label class="control-label" for="actor-agent-email">Email</label>
<input type="email" class="form-control -autocomplete-target-" placeholder="[email protected]" data-actor_agent_ifi="ifi" aria-describedby="Actor Agent Email" id="actor-agent-email" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="actor-agent-email-sha1">Email SHA1</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="f522a694d7fc5c38d7c604f63c87c9f74dcd002e" data-actor_agent_ifi="ifi" aria-describedby="Actor Agent Email SHA1" id="actor-agent-email-sha1" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="actor-agent-openid">OpenID</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="http://tyler.openid.example.com" data-actor_agent_ifi="ifi" aria-describedby="Actor Agent OpenID" id="actor-agent-openid" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="actor-agent-account">Account</label>
<textarea class="form-control" rows="4" data-actor_agent_ifi="ifi" data-empty="true" aria-describedby="Actor Agent Account" id="actor-agent-account"></textarea>
<div class="help-block with-errors"></div>
<div>An Account Object <span class="pull-right"><a href="#" id="actor-agent-account-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .col-md-6 -->
<div class="col-md-6">
<h4 class="text-info">Optional:</h4>
<div class="form-group">
<label class="control-label" for="actor-agent-name">Name</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="Tyler" aria-describedby="Actor Agent Name" id="actor-agent-name" />
</div>
</div>
<!-- .col-md-6 -->
</div>
<!-- .row -->
</div>
<!-- #actor-Agent -->
<div id="actor-Group">
<div class="row">
<div class="col-md-6 ifi">
<h4 class="text-info">Use Only One <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#inversefunctional" target="_blank" title="Inverse Functional Identifier">IFI</a> Below, Unless <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#requirements-for-anonymous-groups" target="_blank">Anonymous Group</a>:</h4>
<div class="form-group">
<label class="control-label" for="actor-group-email">Email</label>
<input type="email" class="form-control -autocomplete-target-" value="[email protected]" data-actor_group_ifi="ifi" aria-describedby="Actor Group Email" id="actor-group-email" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="actor-group-email-sha1">Email SHA1</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="3931fc689771433af943607547a38feb5e916ffd" data-actor_group_ifi="ifi" aria-describedby="Actor Group Email SHA1" id="actor-group-email-sha1" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="actor-group-openid">OpenID</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="http://teamxapi.openid.example.com" data-actor_group_ifi="ifi" aria-describedby="Actor Group OpenID" id="actor-group-openid" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="actor-group-account">Account</label>
<textarea class="form-control" rows="4" data-actor_group_ifi="ifi" aria-describedby="Actor Group Account" id="actor-group-account"></textarea>
<div class="help-block with-errors">An Account Object <span class="pull-right"><a href="#" id="actor-group-account-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .col-md-6 -->
<div class="col-md-6">
<h4 class="text-info">Optional:</h4>
<div class="form-group">
<label class="control-label" for="actor-group-name">Group Name</label>
<input type="text" class="form-control -autocomplete-target-" value="" placeholder="Student Group" aria-describedby="Actor Group Name" id="actor-group-name" />
</div>
<h4 class="text-info">Required if <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#requirements-for-anonymous-groups" target="_blank">Anonymous Group</a>, Otherwise Optional:</h4>
<div class="form-group">
<label class="control-label" for="actor-group-members">Group Members</label>
<textarea class="form-control" rows="15" data-actor_group_ifi="ifi" aria-describedby="Actor Group Members" id="actor-group-members"></textarea>
<div class="help-block with-errors">Array of Agent Objects</div>
</div>
</div>
<!-- .col-md-6 -->
</div>
<!-- .row -->
</div>
<!-- #object-Group -->
</div>
<!-- #actor-types -->
</div>
<!-- .panel-body -->
</div>
</div>
<!-- .panel -->
<div class="panel panel-default">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#verb" href="#verb" class="collapsed">Verb</a> <span class="pull-right"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#verb" target="_blank"><i class="fa fa-question-circle"></i></a></span></h3></div>
<div id="verb" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="form-group col-md-5">
<label class="control-label" for="predefined-verb">Predefined Verbs</label>
<select class="form-control" name="predefined-verb" id="predefined-verb">
<option selected>-custom-verb-</option>
</select>
</div>
<div class="form-group col-md-5">
<label class="control-label" for="verb-display">Display Name</label>
<input type="text" class="form-control -autocomplete-target-" value="answered" aria-describedby="Display" id="verb-display" />
</div>
<div class="form-group col-md-2">
<label class="control-label" for="verb-language">Language</label>
<input type="text" class="form-control -autocomplete-target-" value="en-US" aria-describedby="Verb Language" id="verb-language" required />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="verb-id">Verb ID</label>
<input type="text" class="form-control -autocomplete-target-" value="http://adlnet.gov/expapi/verbs/answered" aria-describedby="Verb ID" id="verb-id" required />
</div>
</div>
<!-- .row -->
</div>
<!-- .panel-body -->
</div>
</div>
<!-- .panel -->
<div class="panel panel-default">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#object" href="#object" class="collapsed">Object</a> <span class="pull-right"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#object" target="_blank"><i class="fa fa-question-circle"></i></a></span></h3></div>
<div id="object" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="form-group col-md-5">
<label class="control-label" for="object-type">Object Type</label>
<select class="form-control" name="object-type" id="object-type">
<option value="Activity" selected>Activity</option>
<option value="Agent">Agent</option>
<option value="Group">Group</option>
<option value="StatementRef">Statement Reference</option>
<option value="SubStatement">SubStatement</option>
</select>
</div>
</div>
<!-- .row -->
<div id="object-types">
<div id="object-Activity">
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-id">Activity ID</label>
<input type="text" class="form-control -autocomplete-target-" value="http://adlnet.gov/expapi/activities/example" aria-describedby="Object Activity ID" id="object-activity-id" required />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-5">
<label class="control-label" for="object-activity-name">Name</label>
<input type="text" class="form-control -autocomplete-target-" value="Example Activity" aria-describedby="Object Acitivity Name" id="object-activity-name" />
</div>
<div class="form-group col-md-5">
<label class="control-label" for="object-activity-description">Description</label>
<input type="text" class="form-control -autocomplete-target-" value="Example activity description" aria-describedby="Object Activity Description" id="object-activity-description" />
</div>
<div class="form-group col-md-2">
<label class="control-label" for="object-activity-language">Language</label>
<input type="text" class="form-control -autocomplete-target-" value="en-US" aria-describedby="Object Activity Language" id="object-activity-language" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-6">
<label class="control-label" for="object-activity-type">Activity Type</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="http://www.example.co.uk/types/exampleactivitytype" aria-describedby="Object Activity Type" id="object-activity-type" />
</div>
<div class="form-group col-md-6">
<label class="control-label" for="object-activity-more-info">More Info</label>
<input type="text" class="form-contro -autocomplete-target-l" placeholder="http://virtualmeeting.example.com/345256" aria-describedby="Object More Info" id="object-activity-more-info" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-5">
<label class="control-label" for="object-activity-interaction-type">Interaction Type</label>
<select class="form-control" name="object-activity-interaction-type" id="object-activity-interaction-type">
<option selected></option>
<option>choice</option>
<option>sequencing</option>
<option>likert</option>
<option>matching</option>
<option>performance</option>
<option>true-false</option>
<option>fill-in</option>
<option>long-fill-in</option>
<option>numeric</option>
<option>other</option>
</select>
<div class="help-block"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#interactionacts" target="_blank">Interaction Activities</a></div>
</div>
</div>
<!-- .row -->
<div id="component-lists">
<div class="row" id="component-list-choices">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-component-list-choices">Choices</label>
<textarea class="form-control" rows="10" aria-describedby="Object Component List Choices" id="object-activity-component-list-choices"></textarea>
<div class="help-block">An Array of interaction components <span class="pull-right"><a href="#" id="object-activity-component-list-choices-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .row -->
<div class="row" id="component-list-scale">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-component-list-scale">Scale</label>
<textarea class="form-control" rows="10" aria-describedby="Object Scale List Choices" id="object-activity-component-list-scale"></textarea>
<div class="help-block">An Array of interaction components <span class="pull-right"><a href="#" id="object-activity-component-list-scale-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .row -->
<div class="row" id="component-list-source">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-component-list-source">Source</label>
<textarea class="form-control" rows="10" aria-describedby="Object Source List Choices" id="object-activity-component-list-source"></textarea>
<div class="help-block">An Array of interaction components <span class="pull-right"><a href="#" id="object-activity-component-list-source-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .row -->
<div class="row" id="component-list-target">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-component-list-target">Target</label>
<textarea class="form-control" rows="10" aria-describedby="Object Target List Choices" id="object-activity-component-list-target"></textarea>
<div class="help-block">An Array of interaction components <span class="pull-right"><a href="#" id="object-activity-component-list-target-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .row -->
<div class="row" id="component-list-steps">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-component-list-steps">Steps</label>
<textarea class="form-control" rows="10" aria-describedby="Object Steps List Choices" id="object-activity-component-list-steps"></textarea>
<div class="help-block">An Array of interaction components <span class="pull-right"><a href="#" id="object-activity-component-list-steps-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .row -->
</div>
<!-- #component-lists -->
<div class="row" id="correct-responses-pattern">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-correct-responses-pattern">Correct Responses Pattern</label>
<textarea class="form-control" rows="10" aria-describedby="Correct Responses Pattern" id="object-activity-correct-responses-pattern"></textarea>
<div class="help-block">An Array of Strings <span class="pull-right"><a href="#" id="object-activity-correct-responses-pattern-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="object-activity-extensions">Extensions</label>
<textarea class="form-control" rows="5" aria-describedby="Activity Extensions" id="object-activity-extensions"></textarea>
<div class="help-block"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#miscext" target="_blank">Extensions</a></div>
</div>
</div>
<!-- .row -->
</div>
<!-- #object-Activity -->
<div id="object-Agent">
<div class="row">
<div class="col-md-6 ifi">
<h4 class="text-info">Use Only One <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#inversefunctional" target="_blank" title="Inverse Functional Identifier">IFI</a> Below:</h4>
<div class="form-group">
<label class="control-label" for="object-agent-email">Email</label>
<input type="email" class="form-control -autocomplete-target-" value="[email protected]" data-object_agent_ifi="ifi" aria-describedby="Object Agent Email" id="object-agent-email" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="object-agent-email-sha1">Email SHA1</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="f522a694d7fc5c38d7c604f63c87c9f74dcd002e" data-object_agent_ifi="ifi" aria-describedby="Object Agent Email SHA1" id="object-agent-email-sha1" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="object-agent-openid">OpenID</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="http://tyler.openid.example.com" data-object_agent_ifi="ifi" aria-describedby="Object Agent OpenID" id="object-agent-openid" />
</div>
<div class="form-group">
<label class="control-label" for="object-agent-account">Account</label>
<textarea class="form-control" rows="4" data-object_agent_ifi="ifi" aria-describedby="Object Agent Account" id="object-agent-account"></textarea>
<div class="help-block with-errors">An Account Object <span class="pull-right"><a href="#" id="object-agent-account-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .col-md-6 -->
<div class="col-md-6">
<h4 class="text-info">Optional:</h4>
<div class="form-group">
<label class="control-label" for="object-agent-name">Name</label>
<input type="text" class="form-control -autocomplete-target-" value="Tyler" aria-describedby="Object Agent Name" id="object-agent-name" />
</div>
</div>
<!-- .col-md-6 -->
</div>
<!-- .row -->
</div>
<!-- #object-Agent -->
<div id="object-Group">
<div class="row">
<div class="col-md-6 ifi">
<h4 class="text-info">Use Only One <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#inversefunctional" target="_blank" title="Inverse Functional Identifier">IFI</a> Below, Unless <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#requirements-for-anonymous-groups" target="_blank">Anonymous Group</a>:</h4>
<div class="form-group">
<label class="control-label" for="object-group-email">Email</label>
<input type="email" class="form-control -autocomplete-target-" value="[email protected]" data-object_group_ifi="ifi" aria-describedby="Object Group Email" id="object-group-email" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="object-group-email-sha1">Email SHA1</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="3931fc689771433af943607547a38feb5e916ffd" data-object_group_ifi="ifi" aria-describedby="Object Group Email SHA1" id="object-group-email-sha1" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="object-group-openid">OpenID</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="http://teamxapi.openid.example.com" data-object_group_ifi="ifi" aria-describedby="Object Group OpenID" id="object-group-openid" />
<div class="help-block with-errors"></div>
</div>
<div class="form-group">
<label class="control-label" for="object-group-account">Account</label>
<textarea class="form-control" rows="4" data-object_group_ifi="ifi" aria-describedby="Object Group Account" id="object-group-account"></textarea>
<div class="help-block with-errors">An Account Object <span class="pull-right"><a href="#" id="object-group-account-example">Insert Example JSON</a></span></div>
</div>
</div>
<!-- .col-md-6 -->
<div class="col-md-6">
<h4 class="text-info">Optional:</h4>
<div class="form-group">
<label class="control-label" for="object-group-name">Group Name</label>
<input type="text" class="form-control -autocomplete-target-" value="" placeholder="Student Group" aria-describedby="Object Group Name" id="object-group-name" />
</div>
<h4 class="text-info">Required if <a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#requirements-for-anonymous-groups" target="_blank">Anonymous Group</a>, Otherwise Optional:</h4>
<div class="form-group">
<label class="control-label" for="object-group-members">Group Members</label>
<textarea class="form-control" rows="15" data-object_group_ifi="ifi" aria-describedby="Object Group Members" id="object-group-members"></textarea>
<div class="help-block with-errors">Array of Agent Objects</div>
</div>
</div>
<!-- .col-md-6 -->
</div>
<!-- .row -->
</div>
<!-- #object-Group -->
<div id="object-StatementRef">
<div class="row">
<div class="form-group col-md-6">
<label class="control-label" for="object-statementref-id">Statement ID</label>
<input type="text" class="form-control -autocomplete-target-" value="" placeholder="137ca18f-97f6-4477-981a-696fb41c6b63" aria-describedby="Object Statement Reference ID" id="object-statementref-id" pattern="^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" required
/>
</div>
</div>
<!-- .row -->
</div>
<!-- #object-StatementRef -->
<div id="object-SubStatement">
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="object-substatement-json">SubStatement JSON</label>
<textarea class="form-control" rows="20" aria-describedby="Object SubStatement JSON" id="object-substatement-json" required></textarea>
</div>
</div>
<!-- .row -->
</div>
<!-- #object-SubStatement -->
</div>
<!-- #object-types -->
</div>
</div>
<!-- .panel-body -->
</div>
<!-- .panel -->
<div class="panel panel-default">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#result" href="#result" class="collapsed">Result</a> <span class="pull-right"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#result" target="_blank"><i class="fa fa-question-circle"></i></a></span></h3></div>
<div id="result" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="form-group col-md-2">
<label class="control-label" for="result-scaled-score">Scaled Score</label>
<!-- arbitrary number of decimal places due to html5 number input limitions -->
<input type="number" min="-1" max="1" step="0.00001" pattern="^[0-9]*(.)?[0-9]+$" class="form-control -autocomplete-target-" placeholder="0" aria-describedby="Scaled Score" id="result-scaled-score" />
</div>
<div class="form-group col-md-2">
<label class="control-label" for="result-raw-score">Raw Score</label>
<input type="number" class="form-control -autocomplete-target-" placeholder="80" aria-describedby="Raw Score" id="result-raw-score" />
</div>
<div class="form-group col-md-2">
<label class="control-label" for="result-min-score">Minimum Score</label>
<input type="number" class="form-control -autocomplete-target-" placeholder="0" aria-describedby="Minimum Score" id="result-min-score" />
</div>
<div class="form-group col-md-2">
<label class="control-label" for="result-max-score">Maximum Score</label>
<input type="number" class="form-control -autocomplete-target-" placeholder="100" aria-describedby="Maximum Score" id="result-max-score" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-2">
<label class="control-label" for="result-success">Success</label>
<select class="form-control" name="result-success" id="result-success">
<option></option>
<option>true</option>
<option>false</option>
</select>
</div>
<div class="form-group col-md-2">
<label class="control-label" for="result-completion">Completion</label>
<select class="form-control" name="result-completion" id="result-completion">
<option></option>
<option>true</option>
<option>false</option>
</select>
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="result-response">Response</label>
<input type="text" class="form-control -autocomplete-target-" aria-describedby="Response" id="result-response" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-3">
<label class="control-label" for="result-duration">Duration</label>
<input type="text" class="form-control -autocomplete-target-" aria-describedby="Duration" placeholder="P3Y6M4DT12H30M5S" id="result-duration" />
<span class="help-block"><a href="http://www.wikiwand.com/en/ISO_8601#/Durations" target="_blank">ISO 8601 Duration</a></span>
</div>
<div class="form-group col-md-1">
<label>Build</label>
<p style="margin-top:6px;">string <i class="fa fa-arrow-right"></i></p>
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-years">Years</label>
<input type="number" min="0" max="99999" step="1" class="form-control duration-segment" aria-describedby="Duration Years" id="result-duration-years" />
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-months">Months</label>
<input type="number" min="0" max="12" step="1" class="form-control duration-segment" aria-describedby="Duration Months" id="result-duration-months" />
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-weeks">Weeks</label>
<input type="number" min="0" max="52" step="1" class="form-control duration-segment" aria-describedby="Duration Weeks" id="result-duration-weeks" />
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-days">Days</label>
<input type="number" min="0" max="365" step="1" class="form-control duration-segment" style="padding:6px 6px 6px 10px" aria-describedby="Duration Days" id="result-duration-days" />
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-hours">Hours</label>
<input type="number" min="0" max="24" step="1" class="form-control duration-segment" aria-describedby="Duration Hours" id="result-duration-hours" />
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-minutes">Minutes</label>
<input type="number" min="0" max="60" step="1" class="form-control duration-segment" aria-describedby="Duration Minutes" id="result-duration-minutes" />
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-seconds">Seconds</label>
<input type="number" min="0" max="60" step="1" class="form-control duration-segment" aria-describedby="Duration Seconds" id="result-duration-seconds" />
</div>
<div class="form-group col-md-1">
<label class="control-label" for="result-duration-milliseconds">ms</label>
<input type="number" min="0" max="60" step="1" class="form-control duration-segment" aria-describedby="Duration Milliseconds" id="result-duration-milliseconds" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="result-extensions">Extensions</label>
<textarea class="form-control" rows="5" aria-describedby="Result Extensions" id="result-extensions"></textarea>
<div class="help-block"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#miscext" target="_blank">Extensions</a></div>
</div>
</div>
<!-- .row -->
</div>
<!-- .panel-body -->
</div>
<!-- #result -->
</div>
<!-- .panel -->
<div class="panel panel-default">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#context" href="#context" class="collapsed">Context</a> <span class="pull-right"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#context" target="_blank"><i class="fa fa-question-circle"></i></a></span></h3></div>
<div id="context" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="form-group col-md-6">
<label class="control-label" for="context-instructor-email">Instructor Email</label>
<input type="email" class="form-control -autocomplete-target-" placeholder="[email protected]" aria-describedby="Instuctor Email" id="context-instructor-email" />
</div>
<div class="form-group col-md-6">
<label class="control-label" for="context-instructor-name">Instructor Name</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="Tyler" aria-describedby="Instructor Name" id="context-instructor-name" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-6">
<label class="control-label" for="context-team-name">Team Name</label>
<input type="text" class="form-control -autocomplete-target-" value="" placeholder="Student Team" aria-describedby="Context Team Name" id="context-team-name" />
</div>
<div class="form-group col-md-12">
<label class="control-label" for="context-team-members">Team Members</label>
<textarea class="form-control" rows="15" aria-describedby="Context Team Members" id="context-team-members"></textarea>
<span class="help-block">Array of Agent Objects <span class="pull-right"><a href="#" id="context-team-members-example">Insert Example JSON</a></span></span>
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="context-context-activities">Context Activities</label>
<textarea class="form-control" rows="25" aria-describedby="Context Activities" id="context-context-activities"></textarea>
<span class="help-block">A Context Activities Object <span class="pull-right"><a href="#" id="context-context-activities-example">Insert Example JSON</a></span></span>
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-3">
<label class="control-label" for="context-revision">Revision</label>
<input type="text" class="form-control -autocomplete-target-" aria-describedby="Revision" id="context-revision" />
</div>
<div class="form-group col-md-7">
<label class="control-label" for="context-platform">Platform</label>
<input type="text" class="form-control -autocomplete-target-" aria-describedby="Platform" id="context-platform" />
</div>
<div class="form-group col-md-2">
<label class="control-label" for="context-language">Language</label>
<input type="text" class="form-control -autocomplete-target-" aria-describedby="Language" id="context-language" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-6">
<label class="control-label" for="context-statement">Statement</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="137ca18f-97f6-4477-981a-696fb41c6b63" aria-describedby="Context Statement" id="context-statement" pattern="^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="context-extensions">Extensions</label>
<textarea class="form-control" rows="5" aria-describedby="Context Extensions" id="context-extensions"></textarea>
<div class="help-block"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#miscext" target="_blank">Extensions</a></div>
</div>
</div>
<!-- .row -->
</div>
<!-- .panel-body -->
</div>
<!-- #context -->
</div>
<!-- .panel -->
<div class="panel panel-default">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#attachments" href="#attachments" class="collapsed">Attachments</a> <span class="pull-right"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#attachments" target="_blank"><i class="fa fa-question-circle"></i></a></span></h3></div>
<div id="attachments" class="panel-collapse collapse">
<div class="panel-body">
<div class="panel panel-info">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#attachment-1" href="#attachment-1">Attachment #1</a></h3></div>
<div id="attachment-1" class="panel-collapse collapse in">
<div class="panel-body">
<div class="row">
<div class="form-group col-md-5">
<label class="control-label" for="attachment-display">Display</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="My Attachment" aria-describedby="Attachment Display" id="attachment-display" required />
</div>
<div class="form-group col-md-5">
<label class="control-label" for="attachment-description">Description</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="Example attachment description" aria-describedby="Attachment Description" id="attachment-description" />
</div>
<div class="form-group col-md-2">
<label class="control-label" for="attachment-language">Language</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="en-US" aria-describedby="Attachment Language" id="attachment-language" required />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-6">
<label class="control-label" for="attachment-usage-type">Usage Type</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="http://example.com/test/usage" aria-describedby="Attachment Usage Type" id="attachment-usage-type" required />
</div>
<div class="form-group col-md-3">
<label class="control-label" for="attachment-content-type">Content Type</label>
<input type="text" class="form-control -autocomplete-target-" placeholder="image/jpeg" aria-describedby="Attachment Content Type" id="attachment-content-type" required />
</div>
<div class="form-group col-md-3">
<label class="control-label" for="attachment-length">Length</label>
<input type="number" class="form-control -autocomplete-target-" placeholder="12345" aria-describedby="Attachment Length" id="attachment-length" required />
</div>
</div>
<!-- .row -->
<div class="row">
<div class="form-group col-md-6">
<label class="control-label" for="attachment-sha2">sha2</label>
<input type="text" class="form-control -autocomplete-target-" aria-describedby="Attachment sha2" id="attachment-sha2" required />
</div>
<div class="form-group col-md-6">
<label class="control-label" for="attachment-file-url">File URL</label>
<input type="text" class="form-control -autocomplete-target-" aria-describedby="Attachment File URL" id="attachment-file-url" />
</div>
</div>
<!-- .row -->
</div>
<!-- .panel-body -->
</div>
<!-- #attachments -->
</div>
<!-- .panel -->
</div>
<!-- .panel-body -->
</div>
<!-- #attachments -->
</div>
<!-- .panel -->
<div class="panel panel-default">
<div class="panel-heading collapser">
<h3 class="panel-title"><a data-toggle="collapse" data-target="#statement" href="#statement" class="collapsed">Statement</a> <span class="pull-right"><a href="https://github.com/adlnet/xAPI-Spec/blob/master/xAPI.md#40-statement" target="_blank"><i class="fa fa-question-circle"></i></a></span></h3></div>