-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (91 loc) · 5.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simple AICC Test Environment</title>
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
</head>
<body>
<div class="container">
<h1>Simple AICC Test Environment <small><a href="https://github.com/skfriese/aicc-test-env"><b class="fa fa-external-link"></b></a></small></h1>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><b class="fa fa-wrench"></b> AICC Launch Configuration</h3>
</div>
<div class="panel-body">
<form class="form-horizontal">
<div class="form-group">
<label for="au_url" class="col-sm-2 control-label">AU URL</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="au_url" placeholder="http://...">
<small>Enter the full URL to the assignable unit (content) and click the <b>Launch Content</b> button below.</small>
</div>
</div>
<div id="extras" class="collapse">
<div class="form-group">
<label for="aicc_sid" class="col-sm-2 control-label">AICC_SID</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="aicc_sid" placeholder="AICC_SID parameter">
<small>Modify this value to specify the AICC_SID (session ID) parameter, which will be passed to the content when launched.</small>
</div>
</div>
<div class="form-group">
<label for="aicc_url" class="col-sm-2 control-label">AICC_URL</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="aicc_url" placeholder="AICC_URL parameter">
<small>Modify this value to specify the AICC_URL (LMS URL) parameter, which will be passed to the content when launched. To allow this test environment to act as the LMS and capture communication, leave this value as-is.</small>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="button" class="btn btn-default" data-toggle="collapse" data-target="#extras"><b class="fa fa-pencil"></b> Edit AICC Params</button>
<button type="button" class="btn btn-primary" data-click="launch"><b class="fa fa-external-link"></b> Launch Content</button>
</div>
</div>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><b class="fa fa-file-text"></b> AICC Communication Logs</h3>
</div>
<div class="panel-body">
<div class="log-actions">
<a class="btn btn-success" role="button" href="javascript:void(0);" data-click="refreshLogFile"><b class="fa fa-refresh"></b> Refresh Logs</a>
<a class="btn btn-warning" role="button" href="javascript:void(0);" data-click="clearLogFile"><b class="fa fa-trash-o"></b> Clear All Logs</a>
<a class="btn btn-info" role="button" href="javascript:void(0);" data-click="testScript"><b class="fa fa-dashboard"></b> Test AICC Script</a>
</div>
<pre id="log-text"></pre>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><b class="fa fa-database"></b> AICC Data</h3>
</div>
<div class="panel-body">
<div class="log-actions">
<a class="btn btn-success" role="button" href="javascript:void(0);" data-click="showData"><b class="fa fa-binoculars"></b> Show Persisted Data</a>
<a class="btn btn-danger" role="button" href="javascript:void(0);" data-click="clearDataFile"><b class="fa fa-trash-o"></b> Clear All Data</a>
</div>
<pre id="data"></pre>
</div>
</div>
<hr>
<footer>
<p>Simple AICC Test Environment - <a href="https://github.com/skfriese/aicc-test-env">https://github.com/skfriese/aicc-test-env</a> / Sean K. Friese - <a href="http://sean.friese.me">http://sean.friese.me</a></p>
</footer>
</div> <!-- /container -->
<div id="warning" class="alert alert-warning alert-dismissible" role="alert">
<strong>Warning!</strong> <span class="message"></span>
</div>
<div id="success" class="alert alert-success alert-dismissible" role="alert">
<span class="message"></span>
</div>
<script type="text/javascript" src="conf/conf.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<script type="text/javascript" src="assets/js/aicc-test-env.js"></script>
</body>
</html>