-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
465 lines (447 loc) · 22.9 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
<!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 Gap Analysis</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-ga.css">
</head>
<body>
<!-- GAP ANALYSIS MENU -->
<div id="ssmStickyCtr">
<div class="sticky" data-sticky data-margin-top="0">
<div id="section-sub-menu" style="display: none">
<div class="grid-container full">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-10">
<h2 id="gapHeader"><i class="fa fa-users" aria-hidden="true"></i> Gap Analysis</h2>
</div>
<div class="cell medium-2">
<div id="page-tools">
<ul class="dropdown menu" data-dropdown-menu>
<li>
<a href="#">Tools</a>
<ul class="menu vertical">
<!--<li><a title="View and Adjust Gap Analysis Rules" onclick="openAdjustGapRulesModal();"><i class="fa fa-cogs" aria-hidden="true"></i> View/Adjust Rules</a></li>-->
<li><a title="Edit Profile Groups" onclick="openEditGroupModal('menu');"><i class="fa fa-users" aria-hidden="true"></i> Edit Groups</a></li>
<!--<li><a title="Print Analysis"><i class="fa fa-print" aria-hidden="true"></i> Print</a></li>-->
</ul>
</li>
</ul>
</div>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="cell medium-8">
<button id="addProfBtn" class="secondary button" onclick="openAddProfileModal();">Select Profiles</button>
<button id="addFwkBtn" class="secondary button" onclick="openAddFrameworkModal();">Select Frameworks</button>
</div>
<div class="cell medium-4">
<div id="gapContentsSearchContainer" class="input-group" style="display:none">
<input onkeypress="checkForGapContentsSearchbarEnter(event)" id="gapContentsSearchInput" class="input-group-field" type="text" placeholder="Search these results">
<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>
</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="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>
<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>
<p><a onclick="openAddFrameworkModal()">Try a Different Framework?</a></p>
</div>
</div>
</div>
</div>
</div>
<!--END WARNINGS-->
<!--GAP ANALYSIS WELCOME-->
<div id="gapWelcomeContainer" style="display: none">
<div class="grid-container text-center">
<div class="grid-x grid-padding-x grid-padding-y">
<div class="cell medium-12">
<h4>Proficiency Gap Analysis</h4>
<p>Analyze personnel gaps in a targeted area of proficiency</p>
</div>
<div class="cell medium-12">
<button class="button" title="Open Gap Analysis Wizard" onclick="openAddProfileModal();">Begin Analysis</button>
</div>
</div>
</div>
</div>
<!--END GAP ANALYSIS WELCOME-->
<!--CONTENTS-->
<div id="cassUiMainContentsContainer" style="display:none">
<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">
<h4 id=""><span id="circleFocusSummaryHeader" onclick="goToDisplayRoot()"></span></h4>
<div class="circleFocusSummarySection" id="circleFocusSummarySelFwkListCtr" style="display: none">
<h5>Selected Frameworks</h5>
<div class="circleFocusSummarySubSection">
<ul class="no-bullets" id="circleFocusSummarySelFwkList"></ul>
</div>
</div>
<div class="circleFocusSummarySection">
<h5>Selected Profiles</h5>
<div class="circleFocusSummarySubSection">
<ul class="no-bullets" id="circleFocusSummarySelProfList"></ul>
</div>
</div>
<div class="circleFocusSummarySection">
<h5>Overview</h5>
<div class="grid-x circleFocusSummarySubSection">
<div class="cell small-4"><strong>Subject Areas:</strong></div>
<div class="cell small-8"><span class="circleFocusOverviewField" id="circleFocusSummaryNumComps"></span></div>
<div class="cell small-4"><strong>Coverage:</strong></div>
<div class="cell small-8"><span class="circleFocusOverviewField" id="circleFocusSummaryCoverage"></span></div>
</div>
</div>
<div class="circleFocusSummarySection">
<h5>Detailed Coverage</h5>
<div id="circleFocusSummaryCompListCtr" class="circleFocusSummarySubSection"></div>
</div>
</div>
<div class="cell auto" style="position: relative;">
<div class="gapCircleGraph" id="gap-circle-graph-wrapper">
<svg id="gapCirclePack" 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" style="display:none"></i></a>
<a id="circleFocusGapReportLink"><i class="fa fa-cogs" title="Run gap analysis reports" aria-hidden="true"></i></a>
</div>
</div>
<p id="circleFocusDetailsSingleDesc" class="lead"></p>
<div id="circleFocusDetailsProfListContainer" style="display: none">
<h5>Profiles</h5>
<ul id="circleFocusDetailsProfList"></ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--END CONTENTS-->
<!-- MODAL WINDOWS -->
<div class="reveal large" id="modal-profile-select" data-reveal>
<h3><i class="fa fa-users" aria-hidden="true"></i> Profile Selection</h3>
<div class="grid-x grid-padding-x">
<div class="cell medium-6">
<select id="addProfTypeSelect" onchange="changeAddProfType()">
<option value="individuals">Individuals</option>
<option value="groups">Groups</option>
</select>
</div>
<div class="cell medium-6">
<input onkeyup="filterAddProfResults()" id="addProfResultsFilter" type="text" placeholder="Filter these results" style="display:none;">
</div>
<div class="cell medium-12">
<label><span id="addProfResultsDesc"></span>
<select class="modal-large-multi-select" id="addProfResultsSelect" multiple></select>
</label>
</div>
<div class="cell medium-12">
<button class="button cassUiModalButton" onclick="addSelectedProfiles();">Add</button>
<button class="button cassUiModalButton" id="addProfEditGroupsBtn" onclick="openEditGroupModal('profSelModal');">Edit Groups</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="reveal large" id="modal-framework-select" data-reveal>
<h3><i class="fa fa-sitemap" aria-hidden="true"></i> Framework Selection</h3>
<div class="grid-x grid-padding-x">
<div class="cell medium-6" style="display: none">
<select id="addFwkFilterTypeSelect" onchange="changeAddFwkFilterType()">
<option value="title">Title</option>
<option value="desc">Description</option>
</select>
</div>
<div class="cell medium-6" style="display: none">
<input onkeyup="filterAddFwkResults()" id="addFwkResultsFilter" type="text" placeholder="Filter these results">
</div>
<div class="cell medium-12">
<label><span id="addFwkResultsDesc"></span>
<select class="modal-large-multi-select" id="addFwkResultsSelect" multiple></select>
</label>
</div>
<div class="cell medium-12">
<button class="button cassUiModalButton" onclick="addSelectedFrameworks();">Select</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="reveal" id="modal-gap-report" data-reveal>
<h3><i class="fa fa-cogs" aria-hidden="true"></i> Gap Analysis Reports</h3>
<div class="grid-x grid-padding-x">
<div class="cell medium-7">
<h5 id="gapReportDesc"></h5>
</div>
<div class="cell medium-5">
<h5 id="gapReportCovSummary"></h5>
</div>
</div>
<div class="grid-x grid-padding-x">
<div class="cell medium-2 gapReportTypeHdr">
<span>Show:</span>
</div>
<div class="cell medium-10">
<select>
<option value="area_gap_report/">Uncovered Areas</option>
</select>
</div>
<div class="cell medium-12">
<div id="gapReportListCtr">
<ul class="fa-ul" id="gapReportList"></ul>
</div>
</div>
<div class="cell medium-12">
<button class="button cassUiModalButton">Export</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="reveal" id="modal-group-edit" data-reveal>
<h3><i class="fa fa-users" aria-hidden="true"></i> Edit Groups</h3>
<div id="grpEditGroupSelection" class="grid-x">
<div id="grpEditGroupSelListCtr" class="cell medium-12">
<ul id="grpEditGroupSelList" class="no-bullets"></ul>
</div>
<div class="cell medium-12">
<button class="button cassUiModalButton" onclick="addNewGroupFromEdit()">Create Group</button>
<button class="button secondary cassUiModalButton" onclick="cancelEditGroups()">Cancel</button>
</div>
</div>
<div id="grpEditDetails" class="grid-x">
<input type="hidden" id="grpEditGrpId">
<div class="cell medium-12">
<input type="text" class="cassUiModalInput" id="grpEditGrpName" placeholder="Group Name">
</div>
<div class="cell medium-6">
<div class="grid-x">
<div class="cell medium-12">
<span class="boldText">Current Members</span>
</div>
<div id="grpEditMemberListCtr" class="cell medium-12">
<ul id="grpEditMemberList" class="no-bullets"></ul>
</div>
</div>
</div>
<div class="cell medium-6">
<div class="grid-x">
<div class="cell medium-12">
<span class="boldText">Available Members</span>
</div>
<div id="grpEditAvailableMemberListCtr" class="cell medium-12">
<ul id="grpEditAvailableMemberList" class="no-bullets"></ul>
</div>
</div>
</div>
<div class="cell medium-12">
<button class="button cassUiModalButton" onclick="saveGroupDetails()">Save</button>
<button class="button secondary cassUiModalButton" onclick="cancelGroupDetails()">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="reveal large" id="modal-competency-info" data-reveal>
<h3><i class="fa fa-info-circle" aria-hidden="true"></i> <span id="compDetCompName">Competency Details</span></h3>
<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/com.eduworks.schema.js"></script>-->
<script src="js/cass-ui-ga/cui-ga-ui-util.js"></script>
<script src="js/cass-ui-ga/cui-ga-tech-util.js"></script>
<script src="js/cass-ui-ga/cui-ga-session-util.js"></script>
<script src="js/cass-ui-ga/cui-ga-d3-util.js"></script>
<script src="js/cass-ui-ga/cui-ga-comms.js"></script>
<script src="js/cass-ui-ga/cui-ga-main.js"></script>
</body>
</html>