-
Notifications
You must be signed in to change notification settings - Fork 1
/
custom_dashboard.js
444 lines (381 loc) · 18.8 KB
/
custom_dashboard.js
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
<script type='text/javascript'>
$(document).ready(function() {
// Nothing right now
});
// COPIED FROM Resources/js/ExternalLinks.js
function updateResourcePanel() {
if (pid == 'null') return;
$.post(app_path_webroot+'ExternalLinks/render_resource_panel_ajax.php?pid='+pid, { }, function(data){
if (data == '0') {
alert(woops);
} else {
// Update the left-hand menu
$('#extres_panel').remove();
if ($('#global_ext_links').length) {
$('#global_ext_links').after(data);
} else {
$('#app_panel').after(data);
}
}
});
}
// Get all of the parameters from the page (called by all update functions)
function getDashboardParams() {
var params = {
'settings': {
'title': $('#dashboard_title').val(),
'ext_id': $('#ext_id').val(),
'description': $('#dashboard_description').val(),
'arm': $('#arm_num').val(),
'record_label': $('#record_label').val(),
'filter': $('#filter_logic').val(),
'group_by': $('#group_by').val(),
'num_per_page': $('#num_per_page').val(),
'pagenum': $('#pagenum').val(),
'excluded_forms': $('#excluded_forms').val(),
'excluded_events': $('#excluded_events').val(),
'vertical_header': $('#vertical_header').val()
}
};
return params;
}
// Called when saving a dashboard without an existing ext_id
function saveNewDashboard() {
$('#ext_id').val(null);
saveDashboard();
}
// Updates the current view to the loaded external link
function saveDashboard() {
var params = getDashboardParams();
var fullParams = $.extend({
'action':'saveDashboard',
'pid':pid,
'settings': { }
},params);
$.ajax({
type: 'POST',
url: '',
cache: false,
data: fullParams
}).done(function(data){
var data = JSON.parse(data);
// Remove any previous popups
var valPopupId = 'saveResult';
$('#'+valPopupId).remove();
if(data.errors) {
simpleDialog(data.errors,'Error Creating Dashboard', valPopupId, 300);
} else {
if(data.new_ext_id) {
// Set the ext_id for future updates
$('#ext_id').val(data.new_ext_id);
// Show the 'save' and 'delete' buttons
$('#btn_save').show();
$('#btn_delete').show();
msg = "A new bookmark called " + data.link_label + " has been created with the specified settings. You can customize the viewing permissions for this bookmark if you wish to control access.";
title = "Dashboard Created";
} else {
// Existing ID updated
msg = data.link_label + " was updated.";
title = "Dashboard Updated";
}
// Update external bookmarks panel
updateResourcePanel();
refreshDashboard();
$('#configbox').slideToggle();
simpleDialog(msg,title,valPopupId, 300,
"",'Close',
"window.location.href = app_path_webroot + 'ExternalLinks/index.php?pid=' + pid","Edit Bookmark Permissions");
}
});
}
// Deletes the external link for the dashboard
function deleteDashboard() {
$.ajax({
type: 'POST',
url: '',
cache: false,
data: {
'action':'deleteDashboard',
'pid':pid,
settings: {
'ext_id':$('#ext_id').val()
}
}
}).done(function(data){
var valPopupId = 'deleteResult';
// Remove any previous popups
$('#'+valPopupId).remove();
var data = JSON.parse(data);
//console.log('data:');console.log(data);
if(data.errors) {
simpleDialog(data.errors,"Error Deleting Custom Dashboard",valPopupId,300);
//console.log('Found Errors when Deleting!');
} else {
$('#ext_id').val(null);
$('#btn_save').hide();
$('#btn_delete').hide();
simpleDialog(data.link_label + " deleted","Success",valPopupId,300);
}
// Update external bookmarks panel
//updateResourcePanel();
// Redirect to a "clean" custom dashboard
window.location = window.location.pathname + "?pid=" + pid;
});
}
// Master function called when a full refresh is needed.
function refreshDashboard() {
ajaxUpdate('cd_container', 'getDashboard');
}
// This is called when we are not changing the filter, but rather changing pagination/group-by options
function refreshTable() {
ajaxUpdate('table_container', 'getTableContainer');
}
// Called to update a container with the results from the given action method
function ajaxUpdate(container_id, action) {
var $c = $('#' + container_id);
// Fade in overlay for progress indicator
$('#overlay').css({
opacity : 0.8,
top : $c.offset().top,
left : $c.position().left,
width : $c.outerWidth(),
height : $c.outerHeight()
}).fadeIn();
// showProgress(1);
// $c.fadeOut(1000);
// Merge optional params into default values (http://stackoverflow.com/questions/929776/merging-associative-arrays-javascript)
var params = getDashboardParams();
var fullParams = $.extend({
'action':action,
'pid':pid,
'settings': { }
},params);
//console.log('Dashboard fullParams'); console.log(fullParams);
$.ajax({
type: 'POST',
url: '',
cache: false,
data: fullParams
}).done(function(result){
//console.log('renderDone:'); console.log(result);
//showProgress(0);
$c.html(result);
$("#overlay").fadeOut();
});
}
// Checks to make sure label is valid on blur
function testRecordLabel() {
// Don't do anything if this isn't a longitudinal project
if (!longitudinal) return;
var params = {
'action':'testRecordLabel',
'settings': {
'record_label': $('#record_label').val()
}
};
$.ajax({
type: 'POST',
url: '',
cache: false,
data: params
}).done(function(data){
var valPopupId = 'testResult';
// Remove any previous popups
$('#'+valPopupId).remove();
var data = JSON.parse(data);
//console.log(data);
if(data.valid == true) {
//console.log('looks good');
// Looks good
} else {
simpleDialog(data.msg,'Abmiguous Events In Record Label',
valPopupId, 450,
'$("#record_label").show("highlight").focus();','Cancel',
'$("#record_label").val("'+data.new_logic+'");','Accept Modified Label');
}
});
}
// This function is called when the logic is modified to make sure it is valid
function testFilter() {
// Don't do anything if this isn't a longitudinal project
if (!longitudinal) return;
var params = {
'action':'testFilter',
'settings': {
'filter': $('#filter_logic').val()
}
};
$.ajax({
type: 'POST',
url: '',
cache: false,
data: params
}).done(function(data){
var valPopupId = 'testResult';
// Remove any previous popups
$('#'+valPopupId).remove();
var data = JSON.parse(data);
//console.log(data);
if(data.valid == true) {
//console.log('looks good');
// Looks good
} else {
simpleDialog(data.msg,'Abmiguous Events In Filter',
valPopupId, 450,
'$("#filter_logic").show("highlight").focus();','Cancel',
'$("#filter_logic").val("'+data.filter_explicit+'");','Accept Modified Filter');
}
});
}
/*
SECTION FOR FANCY EXCLUDE DIV FEATURES
This whole part of the UI should probably be changed... I tried to reuse some existing REDCap stuff
but there is a lot of overhead here that is probably unnecessary...
*/
// Called by clicking on a header cell - adds the selected cell to the corresponding exclude list and refreshes the view
function excludeHeader(form_or_event, id) {
//console.log("form_or_event: " + form_or_event + " / id: " + id);
if (form_or_event == 'form') {
$('#___' + id).prop('checked',1);
excludeFormsUpdate(1);
}
if (form_or_event == 'event') {
var cb = $('input[event_id="' + id + '"]', '#choose_exclude_events_div');
//console.log("event checkbox");console.log(cb);
$(cb).prop('checked',1);
excludeEventsUpdate(1);
}
}
function toggleExcludeForms() {
$('#choose_exclude_forms_div').toggle();
//console.log('getExcludeForms');
}
function toggleExcludeEvents() {
$('#choose_exclude_events_div').toggle();
//console.log('getExcludeForms');
}
function excludeFormsAll(select_all) {
var do_select_all = (select_all == 1);
$('#choose_exclude_forms_div input:checkbox').each(function(){
$(this).prop('checked',do_select_all);
});
}
function excludeEventsAll(select_all) {
var do_select_all = (select_all == 1);
$('#choose_exclude_events_div input:checkbox').each(function(){
$(this).prop('checked',do_select_all);
});
}
function excludeFormsUpdate(num) {
var update = (num == 1);
var checked = new Array();
//toggleExcludeForms
$('#choose_exclude_forms_div').hide();
if (update) {
$('#choose_exclude_forms_div input:checkbox:checked').each(function(){
var form_name = $(this).attr('id').replace("___","");
checked.push(form_name);
});
$('#excluded_forms').val( checked.join() );
refreshDashboard();
}
}
function excludeEventsUpdate(num) {
var update = (num == 1);
var checked = new Array();
//toggleExcludeEvents();
$('#choose_exclude_events_div').hide();
if (update) {
$('#choose_exclude_events_div input:checkbox:checked').each(function(){
var event_name = $(this).attr('id').replace("___","");
checked.push(event_name);
});
$('#excluded_events').val( checked.join() );
refreshDashboard();
}
}
// This allows the text boxes to grow when adding large amounts of logic or code. The maximum size can be set by the max-height css attribute. To activate a textarea you simply autosize( $(elements) );
/*!
Autosize 3.0.8
license: MIT
http://www.jacklmoore.com/autosize
*/
!function(e,t){if("function"==typeof define&&define.amd)define(["exports","module"],t);else if("undefined"!=typeof exports&&"undefined"!=typeof module)t(exports,module);else{var o={exports:{}};t(o.exports,o),e.autosize=o.exports}}(this,function(e,t){"use strict";function o(e){function t(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),u="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),i()}function o(t){var o=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=o,v=t,l&&(e.style.overflowY=t),n()}function n(){var t=window.pageYOffset,o=document.body.scrollTop,n=e.style.height;e.style.height="auto";var i=e.scrollHeight+u;return 0===e.scrollHeight?void(e.style.height=n):(e.style.height=i+"px",document.documentElement.scrollTop=t,void(document.body.scrollTop=o))}function i(){var t=e.style.height;n();var i=window.getComputedStyle(e,null);if(i.height!==e.style.height?"visible"!==v&&o("visible"):"hidden"!==v&&o("hidden"),t!==e.style.height){var r=document.createEvent("Event");r.initEvent("autosize:resized",!0,!1),e.dispatchEvent(r)}}var r=void 0===arguments[1]?{}:arguments[1],d=r.setOverflowX,s=void 0===d?!0:d,a=r.setOverflowY,l=void 0===a?!0:a;if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!e.hasAttribute("data-autosize-on")){var u=null,v="hidden",f=function(t){window.removeEventListener("resize",i),e.removeEventListener("input",i),e.removeEventListener("keyup",i),e.removeAttribute("data-autosize-on"),e.removeEventListener("autosize:destroy",f),Object.keys(t).forEach(function(o){e.style[o]=t[o]})}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",f),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",i),window.addEventListener("resize",i),e.addEventListener("input",i),e.addEventListener("autosize:update",i),e.setAttribute("data-autosize-on",!0),l&&(e.style.overflowY="hidden"),s&&(e.style.overflowX="hidden",e.style.wordWrap="break-word"),t()}}function n(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=document.createEvent("Event");t.initEvent("autosize:destroy",!0,!1),e.dispatchEvent(t)}}function i(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName){var t=document.createEvent("Event");t.initEvent("autosize:update",!0,!1),e.dispatchEvent(t)}}var r=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(r=function(e){return e},r.destroy=function(e){return e},r.update=function(e){return e}):(r=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return o(e,t)}),e},r.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],n),e},r.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e}),t.exports=r});
</script>
<style type='text/css'>
#configbox textarea {
max-height: 300px;
}
#configbox .td1 {
font-weight:bold;
width:20%;
}
#configbox .td2 {
width:80%;
}
/* Enable a red-x when hovering over headers for exclusion */
.excludable:hover {
cursor:pointer;
background: rgba(255,0,0,0.4);
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAB3RJTUUH2goaDCooWaGnBQAAAAlwSFlzAAALEgAACxIB0t1+/AAAALRJREFUeNpj/P//PwMhwAIiVjEyegCpFiCu+cPAsAMoCOeH/f+/gwFk0hIGhjP/Skr+g2ggrkbmg20CEfOAOucCBX4kJ/9HphcyMBjDFU0FmgvE1UB85oO3938QPYWBobCHASLPBHLTN6BJ3xkYAoMNDY3nbN16FkT/YGCI/g9xG0RlM1DnQ1nZ/yAa6NpCZD5InhFE5AF9B/RViwADQzoXA8PZV0ATQHygL2smAX3HSEw4AQBKK2empQli4AAAAABJRU5ErkJggg==');
background-position: 100% 0%;
background-repeat: no-repeat;
}
/* Vertical CSS form https://github.com/kizu/kizu.github.com/blob/master/demos/rotated-text.html */
.vertical-text {
display: inline-block;
overflow: hidden;
width: 1.0em;
line-height: 1.0;
}
.vertical-text-inner {
display: inline-block;
white-space: nowrap;
-webkit-transform: translate(0,100%) rotate(-90deg);
-moz-transform: translate(0,100%) rotate(-90deg);
-ms-transform: translate(0,100%) rotate(-90deg);
-o-transform: translate(0,100%) rotate(-90deg);
transform: translate(0,100%) rotate(-90deg);
-webkit-transform-origin: 0 0;
-moz-transform-origin: 0 0;
-ms-transform-origin: 0 0;
-o-transform-origin: 0 0;
transform-origin: 0 0;
}
.vertical-text-inner:after {
content: "";
float: left;
margin-top: 100%;
}
/* This is the strip for a progress when refreshing the dashboard... If you like effect, can add the actual image to resources: https://i.stack.imgur.com/tQTRW.gif */
#overlay {
display:none;
position:absolute;
background: url('data:image/gif;base64,R0lGODlhbAASAPMAAP3+/fn4+fX29fHy8dXW1dHS0c3Mze3s7eno6eHi4d3e3QAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBwAHACwAAAAAbAASAAAD/2hG0N5C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nmPBqcPEvaPFiWrGv1OgyFu1V9LRrUrUj9aKt884xbjL4MDHwuTME8vKTurOqOyhxbLQ2fDV9fSz09qs9xI6aznG9eA10BcRggcNitBV0JsLgQkdNiw3EaC5c3T6Zcx38R3HZvACIgAAOw==') repeat;
}
/*
#img-load {
position:absolute;
}
*/
#chose_exclude_events_table td {
vertical-align:top;
}
#chose_exclude_events_table th {
font-weight:bold;
}
#choose_exclude_forms_div, #choose_exclude_events_div {
min-width:280px;
background: transparent url(<?php echo APP_PATH_IMAGES ?>upArrow.png) no-repeat center top;
position:absolute;
z-index:10;
padding:9px 0 0;
display: none;
font-size:11px;
}
#choose_exclude_forms_div_sub, #choose_exclude_events_div_sub {
background-color: #fafafa;
padding:3px 6px 10px;
border:1px solid #000;
}
</style>