-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
87 lines (66 loc) · 3.83 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
<meta name="description" content="A shorthand syntax for communicating xAPI Statements">
<meta name="author" content="ADL">
<link rel="icon" href="media/favicon.ico">
<title>xAPI Remarks</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="media/css/styles.css" />
</head>
<body>
<section class="container">
<div class="page-header">
<h1 class="text-primary"><i class="fa fa-quote-right"></i> xAPI Remarks</h1>
<h3 class="text-muted">A shorthand syntax for communicating xAPI Statements</h3>
</div>
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="example-remarks">Example Remarks</label>
<textarea class="form-control" rows="15" aria-describedby="Example Remarks" id="example-remarks">
<[email protected]> <passed> <assessment1>
<[email protected] | Tyler Mulligan> <passed> <assessment1>
<[email protected]> <passed | has passed> <assessment1>
<5a7a72c5ec7d3a7291b9b6101ae26101eb925099> <passed> <assessment1>
<http://tyler.openid.example.com> <passed> <assessment1>
<[email protected]> <progressed> <http://adlnet.github.io>
<[email protected]> <added> <http://adlnet.github.io>
<[email protected]> <passed> <assessment1> ( score: [2, 0, 3], duration: "PT2M" ) { parent: ["page 5"], grouping: ["chapter 1", "science 101", "science"] }
<[email protected]> <passed> <assessment1> ( score: [2, 0, 3], duration: "PT2M", response: "hello", completion: true, success: false ) { parent: ["page 5"], grouping: ["chapter 1", "science 101", "science"] }
<[email protected]> <passed> <assessment1> ( score: [2, 0, 3], duration: "PT2M", response: "hello", completion: true, success: false ) { parent: ["page 5"], grouping: ["chapter 1", "science 101", "science"], category: ["http://example.com/profiles/ebook"], other: ["test"] }
<[email protected]> <voided> <137ca18f-97f6-4477-981a-696fb41c6b63>
</textarea>
<span class="help-block">Copy & Paste one of these into the Remark box below</span>
</div>
</div>
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="remark">Remark</label>
<input type="text" class="form-control" value="" placeholder="<Actor> <Verb> <Object> (Result) {Context}" aria-describedby="Remark" id="remark">
</div>
</div>
<div class="row">
<div class="form-group col-md-12">
<a class="btn btn-primary" href="#" role="button" id="generate-statement">Generate xAPI Statement <i class="glyphicon glyphicon-fire"></i></a>
</div>
</div>
<div class="row">
<div class="form-group col-md-12">
<label class="control-label" for="statement">Statement</label>
<textarea class="form-control" rows="25" aria-describedby="Statement" id="statement"></textarea>
</div>
</div>
<p>Open your developer tools (f12) and refresh this page for more examples.</p>
<h4>More Examples</h4>
<p><a href="examples/example-1.html">Bulk converting & sending to an LRS</a></p>
<h3>Looking for more?</h3>
<p>Check out an organized list of ADL's resources available on github, including xAPI related software at <a href="http://adlnet.github.io/" target="_blank"><i class="fa fa-archive"></i> adlnet.github.io</a>.</p>
</section>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script type="text/javascript" src="dist/xapi-remarks.min.js"></script>
<script type="text/javascript" src="media/js/scripts.js"></script>
</body>
</html>