-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
400 lines (385 loc) · 20.8 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
<!doctype html>
<html class="no-js" lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CaSS 1.4.4 Framework Explorer</title>
<link rel="stylesheet" href="css/jquery-ui.min.css">
<link rel="stylesheet" href="css/foundation.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/cass-ui-fwk-exp.css">
</head>
<body>
<div class="sticky" data-sticky data-margin-top="0">
<!-- FRAMEWORK MENUS -->
<div id="section-sub-menu">
<!-- FRAMEWORK EXPLORER MENU -->
<div class="grid-container full">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-10">
<h2 id="frameworkExpHeader" onclick="goToDisplayRoot()"><i class="fa fa-sitemap" aria-hidden="true"></i> <span id="frameworkExplorerName"></span></h2>
</div>
<div class="cell medium-2">
<div id="page-tools" style="display:none">
<ul id="fwkExpOpenFwkOnlyToolset" class="dropdown menu" data-dropdown-menu>
<li><a title="Open Framework" onclick="openFrameworkOpenModal();"><i class="fa fa-folder-open-o" aria-hidden="true"></i> Open Framework</a></li>
</ul>
<ul id="fwkExpFullToolset" class="dropdown menu" data-dropdown-menu>
<li>
<a href="#">Actions</a>
<ul class="menu vertical">
<li><a title="Open Framework" onclick="openFrameworkOpenModal();"><i class="fa fa-folder-open-o" aria-hidden="true"></i> Open</a></li>
<li><a title="Align Frameworks" onclick="openAlignmentSetupModal();"><i class="fa fa-align-center" aria-hidden="true"></i> Align</a></li>
</ul>
</li>
<li>
<a href="#">Tools</a>
<ul class="menu vertical">
<li id="fwkExpShareTool"><a title="Share Framework" onclick="openShareFrameworkModal();"><i class="fa fa-share-alt" aria-hidden="true"></i> Share</a></li>
<!--<li id="fwkExpPublishTool"><a title="Publish Framework" onclick="openPublishFrameworkModal();"><i class="fa fa-share" aria-hidden="true"></i> Publish</a></li>-->
<!--<li><a title="Print Framework"><i class="fa fa-print" aria-hidden="true"></i> Print</a></li>-->
<!--<li><a title="Export Framework"><i class="fa fa-download" aria-hidden="true"></i> Export</a></li>-->
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="cell medium-8">
<button id="showGraphViewBtn" class="secondary button" onclick="showGraphViewMainContentsScreen();clearFrameworkContentsSearchBar();">Graph View</button>
<button id="showListViewBtn" class="secondary button" onclick="showListViewMainContentsScreen();clearFrameworkContentsSearchBar();">List View</button>
</div>
<div class="cell medium-4">
<div id="frameworkContentsSearchContainer" class="input-group" style="display:none">
<input onkeypress="checkForFrameworkContentsSearchbarEnter(event)" id="frameworkContentsSearchInput" class="input-group-field" type="text" placeholder="Search this framework">
<div class="input-group-button">
<button class="button"><i class="fa fa-search" aria-hidden="true"></i></button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--END sticky menu container -->
<!--BUSY-->
<div id="cassUiMainBusyContainer" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center">
<h5 id="cassUiMainBusyText"></h5>
<img id="loadingAnimation" src="img/CASS-loading-128px.gif" />
</div>
</div>
</div>
</div>
<!--END BUSY-->
<!--ERROR-->
<div id="cassUiMainErrorContainer" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center cassUiError">
<i class="fa fa-exclamation-triangle"></i>
<h5 id="cassUiMainErrorText"></h5>
</div>
</div>
</div>
</div>
<!--END ERROR-->
<!--WARNINGS-->
<div id="circularDependencyWarningContainer" class="cassUiHighLevelWarning" style="display: none;">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center">
<div class="callout warning large cassUiCallout">
<h4><i class="fa fa-exclamation-triangle"></i> Circular Dependency Detected</h4>
<p>The selected framework contains at least one circular dependency and cannot be displayed</p>
</div>
</div>
</div>
</div>
</div>
<div id="noFrameworksAvailableWarningContainer" class="cassUiHighLevelWarning" style="display: none;">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center">
<div class="callout warning large cassUiCallout">
<h4><i class="fa fa-exclamation-triangle"></i> No Frameworks Available</h4>
</div>
</div>
</div>
</div>
</div>
<!--END WARNINGS-->
<!--CONTENTS-->
<div id="cassUiMainContentsContainer" style="display:none">
<!-- GRAPH VIEW SCREEN -->
<div id="graph-screen" class="screen" style="">
<div class="grid-container full">
<div class="grid-y medium-grid-frame grid-padding-x">
<div class="cell medium-auto medium-cell-block-container">
<div class="grid-x grid-padding-x">
<div id="circleFocusSummarySidebar" class="cell medium-4 large-3 medium-cell-block-y">
<h3 onclick="goToDisplayRoot()" id=""> Framework Explorer</h3>
<p id="circleFocusSummaryDesc"></p>
<div id="circleFocusSummaryListContainer"></div>
<div id="circleFocusRelatedFwListContainer">
<h4>Related Frameworks</h4>
<ul id="circleFocusRelatedFwList" class="fa-ul"></ul>
</div>
</div>
<div class="cell auto" style="position: relative;">
<div class="expCircleGraph" id="exp-circle-graph-wrapper">
<svg id="explorerCirclePack" width="500" height="500" viewBox="0 0 500 500"></svg>
</div>
</div>
<div id="circleFocusDetailsSidebar" class="cell medium-4 large-3 medium-cell-block-y hide">
<div class="grid-x">
<div class="cell medium-10">
<h3 id="circleFocusDetailsSingleName"></h3>
</div>
<div id="circleFocusCompTools" class="cell medium-2">
<a id="circleFocusCompDetailsLink"><i class="fa fa-info-circle" title="Show more details" aria-hidden="true"></i></a>
</div>
</div>
<p id="circleFocusDetailsSingleDesc" class="lead"></p>
<div id="circleFocusDetailsRelListContainer">
<ul id="circleFocusDetailsRelList" class="fa-ul"></ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- LIST VIEW SCREEN -->
<div id="list-screen" class="screen" style="display: none;">
<div class="grid-container">
<div class="cell medium-cell-block-y">
<!--<iframe id="fwkListViewIFrame" src="" width="100%" height="700"></iframe>-->
<div id="filter-options">
<!--TODO: adjust on mobile screen size, -->
<p>View by:</p>
<ul class="fa-ul">
<!--<li><a>Validation Status <i class="fa fa-caret-right" aria-hidden="true"></i></a></li>-->
<li class="active"><a>Framework <i class="fa fa-caret-right" aria-hidden="true"></i></a></li>
<!--<li><a onclick="showAssertionEnvelopesInListView()">Portfolio <i class="fa fa-caret-right" aria-hidden="true"></i></a></li>-->
<!--<li><a>Date Obtained <i class="fa fa-caret-right" aria-hidden="true"></i></a></li>-->
</ul>
</div>
<div id="frameworkListContentsContainer" class="cell">
<ul class="fa-ul" id="list-screen__root"></ul>
</div>
</div>
</div>
</div>
</div>
<!--END CONTENTS-->
<!-- MODAL WINDOWS -->
<div class="smaller reveal" id="modal-open-framework" data-reveal>
<h3><i class="fa fa-sitemap" aria-hidden="true"></i> Open Framework</h3>
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center" style="padding-top:0">
<div class="input-group">
<input onkeypress="checkForOpenFrameworkSearchbarEnter(event)" id="openFrameworkSearchInput" class="input-group-field" type="text" placeholder="Open Framework">
<div class="input-group-button">
<button class="button"><i class="fa fa-search" aria-hidden="true"></i></button>
</div>
</div>
</div>
</div>
</div>
<button class="button" data-close>Cancel</button>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="smaller reveal" id="modal-competency-info" data-reveal>
<h3><i class="fa fa-info-circle" aria-hidden="true"></i> Competency Details</h3>
<input type="text" id="compDetCompName" class="cassUiModalInput" placeholder="Competency Name"/>
<textarea id="compDetCompDesc" class="cassUiModalTextArea cassUiModalInput" placeholder="Competency Description"></textarea>
<ul class="fa-ul leftOffset25">
<li><strong>Link:</strong> <span id="compDetCompLink"></span></li>
<li><strong>Framework:</strong> <span id="compDetFrameworkLink"></span></li>
</ul>
<div class="grid-x">
<div class="cell medium-12">
<button id="fwkExpCompInfoSaveBtn" class="button cassUiModalButton" onclick="saveCompetencyInfoFromFrameworkExp();">Save</button>
<button class="button secondary cassUiModalButton" data-close>Close</button>
</div>
</div>
<div class="grid-x">
<div class="cell cassUiModalBusyCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center">
<h5 class="cassUiModalBusyText"></h5>
<img class="cassUiBusyImg" src="img/CASS-loading-64px.gif" />
</div>
</div>
</div>
</div>
<div class="cell cassUiModalErrorCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center cassUiError">
<h5><i class="fa fa-exclamation-triangle"></i> <span class="cassUiModalErrorText"></span></h5>
</div>
</div>
</div>
</div>
</div>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="smaller reveal" id="modal-framework-share" data-reveal>
<h3><i class="fa fa-share-alt" aria-hidden="true"></i> Share Framework</h3>
<h4><span id="fwkShareFwkName"></span></h4>
<div id="fwkShareNoContactsContainer" class="callout warning" style="display: none">
<i class="fa fa-exclamation-triangle"></i> You have no CaSS contacts with which to share this framework
</div>
<div id="fwkShareContactsListHdrContainer">
<ul class="fa-ul leftOffset25">
<li>
<div class="grid-x">
<div class="cell medium-8"><span class="boldText">Name</span></div>
<div class="cell medium-2 text-center"><span class="boldText">View</span></div>
<div class="cell medium-2 text-center"><span class="boldText">Edit</span></div>
</div>
</li>
</ul>
</div>
<div id="fwkShareContactsListContainer" style="display: none">
<ul id="fwkShareContactsList" class="fa-ul leftOffset25"></ul>
</div>
<div class="grid-x">
<div class="cell medium-12">
<button id="fwkShareSaveBtn" class="button cassUiModalButton" onclick="saveFrameworkShare();">Share</button>
<button class="button secondary cassUiModalButton" data-close>Cancel</button>
</div>
</div>
<div class="grid-x">
<div class="cell cassUiModalBusyCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center">
<h5 class="cassUiModalBusyText"></h5>
<img class="cassUiBusyImg" src="img/CASS-loading-64px.gif" />
</div>
</div>
</div>
</div>
<div class="cell cassUiModalErrorCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center cassUiError">
<h5><i class="fa fa-exclamation-triangle"></i> <span class="cassUiModalErrorText"></span></h5>
</div>
</div>
</div>
</div>
</div>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="smaller reveal" id="modal-framework-publish" data-reveal>
<h3><i class="fa fa-share" aria-hidden="true"></i> Publish Framework</h3>
<p>Where would you like to publish "<span id="fwkPublishFwkName" class="boldText"></span>"?</p>
<div class="grid-x">
<div class="cell medium-12">
<label><span class="boldText">Destination</span>
<select id="fwkPublishDestination" multiple>
<option>ADL Competency Registry</option>
<option>CaSS Staging</option>
<option>CaSS Production</option>
<option>O*NET OnLine</option>
<option>Moodle</option>
</select>
</label>
</div>
</div>
<div class="grid-x">
<div class="cell medium-12">
<button class="button cassUiModalButton" onclick="saveFrameworkPublish();">Publish</button>
<button class="button secondary cassUiModalButton" data-close>Cancel</button>
</div>
</div>
<div class="grid-x">
<div class="cell cassUiModalBusyCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center">
<h5 class="cassUiModalBusyText"></h5>
<img class="cassUiBusyImg" src="img/CASS-loading-64px.gif" />
</div>
</div>
</div>
</div>
<div class="cell cassUiModalErrorCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center cassUiError">
<h5><i class="fa fa-exclamation-triangle"></i> <span class="cassUiModalErrorText"></span></h5>
</div>
</div>
</div>
</div>
</div>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="smaller reveal" id="modal-alignment-setup" data-reveal>
<h3><i class="fa fa-exchange" aria-hidden="true"></i> Framework Alignment</h3>
<p>Select frameworks to align</p>
<select id="fwAlmFw1"></select>
<select id="fwAlmFw2"></select>
<button class="button cassUiModalButton" onclick="prepFrameworkAlignment();">Align</button>
<button class="button secondary cassUiModalButton" data-close>Cancel</button>
<div class="grid-x">
<div class="cell cassUiModalBusyCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center">
<h5 class="cassUiModalBusyText"></h5>
<img class="cassUiBusyImg" src="img/CASS-loading-64px.gif" />
</div>
</div>
</div>
</div>
<div class="cell cassUiModalErrorCtr" style="display:none">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12 text-center cassUiError">
<h5><i class="fa fa-exclamation-triangle"></i> <span class="cassUiModalErrorText"></span></h5>
</div>
</div>
</div>
</div>
</div>
<button class="close-button" data-close aria-label="Close reveal" type="button">
<span aria-hidden="true">×</span>
</button>
</div>
<!-- END MODAL WINDOWS -->
<script src="js/vendor/jquery.js"></script>
<script src="js/vendor/jquery-ui.min.js"></script>
<script src="js/vendor/foundation.js"></script>
<script src="js/vendor/d3.js"></script>
<script src="js/cass/cass.min.js"></script>
<script src="js/cass-ui-fwk-exp/cui-fe-ui-util.js"></script>
<script src="js/cass-ui-fwk-exp/cui-fe-tech-util.js"></script>
<script src="js/cass-ui-fwk-exp/cui-fe-session-util.js"></script>
<script src="js/cass-ui-fwk-exp/cui-fe-d3-util.js"></script>
<script src="js/cass-ui-fwk-exp/cui-fe-comms.js"></script>
<script src="js/cass-ui-fwk-exp/cui-fe-main.js"></script>
</body>
</html>