widget_list 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +35 -27
- data/Gemfile +3 -3
- data/LICENSE.txt +21 -21
- data/README.md +712 -673
- data/Rakefile +1 -1
- data/app/views/widget_list/administration/_output.html.erb +476 -465
- data/app/views/widget_list/list_partials/_list_description.html.erb +2 -2
- data/lib/widget_list.rb +135 -92
- data/lib/widget_list/version.rb +1 -1
- data/widget_list.gemspec +38 -38
- metadata +2 -7
- data/.idea/.rakeTasks +0 -7
- data/.idea/misc.xml +0 -8
- data/.idea/modules.xml +0 -9
data/Rakefile
CHANGED
@@ -1 +1 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
1
|
+
require "bundler/gem_tasks"
|
@@ -116,51 +116,51 @@
|
|
116
116
|
var className = obj.className;
|
117
117
|
jQuery(obj).css('background-color','white');
|
118
118
|
jQuery('.fields_keys, .fields_hidden_keys, .fields_function_keys').each(
|
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
|
-
jQuery('.drill_downs_drill_down_name[value="filter_col_name"]').each(
|
145
|
-
function(key1, value1) {
|
146
|
-
jQuery(value1).val('filter_by_' + id_original);
|
147
|
-
jQuery(value1).attr('value','filter_by_' + id_original);
|
148
|
-
return false;
|
149
|
-
}
|
119
|
+
function(key, value) {
|
120
|
+
if(jQuery(value).val() == jQuery(obj).val().trim() && jQuery(obj).val().search(/_linked/i) == -1) {
|
121
|
+
found = true;
|
122
|
+
var id_original = jQuery(obj).val().trim();
|
123
|
+
jQuery(value).val(jQuery(obj).val().trim() + '_linked');
|
124
|
+
jQuery(obj).val(jQuery(obj).val().trim() + '_linked');
|
125
|
+
jQuery(obj).attr('value',jQuery(this).val().trim());
|
126
|
+
if (className == 'drill_downs_data_to_pass_from_view') {
|
127
|
+
jQuery('.drill_downs_column_to_show[value="col_name"]').each(
|
128
|
+
function(key1, value1) {
|
129
|
+
jQuery(value1).val(jQuery(obj).val().trim());
|
130
|
+
jQuery(value1).attr('value',jQuery(value1).val().trim());
|
131
|
+
return false;
|
132
|
+
}
|
133
|
+
)
|
134
|
+
} else {
|
135
|
+
jQuery('.drill_downs_data_to_pass_from_view[value="col_name"]').each(
|
136
|
+
function(key1, value1) {
|
137
|
+
jQuery(value1).val(jQuery(obj).val().trim());
|
138
|
+
jQuery(value1).attr('value',jQuery(value1).val().trim());
|
139
|
+
return false;
|
140
|
+
}
|
150
141
|
)
|
151
|
-
|
152
|
-
|
153
|
-
jQuery('#showHidden').attr('checked',true);
|
154
|
-
AddHiddenField();
|
155
|
-
jQuery('.fields_hidden_keys[value=""]').each(
|
156
|
-
function(key1, value1) {
|
157
|
-
jQuery(value1).val(id_original);
|
158
|
-
jQuery(value1).attr('value',id_original);
|
159
|
-
return false;
|
160
|
-
}
|
161
|
-
);
|
162
142
|
}
|
143
|
+
|
144
|
+
jQuery('.drill_downs_drill_down_name[value="filter_col_name"]').each(
|
145
|
+
function(key1, value1) {
|
146
|
+
jQuery(value1).val('filter_by_' + id_original);
|
147
|
+
jQuery(value1).attr('value','filter_by_' + id_original);
|
148
|
+
return false;
|
149
|
+
}
|
150
|
+
)
|
151
|
+
|
152
|
+
|
153
|
+
jQuery('#showHidden').attr('checked',true);
|
154
|
+
AddHiddenField();
|
155
|
+
jQuery('.fields_hidden_keys[value=""]').each(
|
156
|
+
function(key1, value1) {
|
157
|
+
jQuery(value1).val(id_original);
|
158
|
+
jQuery(value1).attr('value',id_original);
|
159
|
+
return false;
|
160
|
+
}
|
161
|
+
);
|
163
162
|
}
|
163
|
+
}
|
164
164
|
);
|
165
165
|
|
166
166
|
if (!found && jQuery(obj).val().search(/_linked/i) == -1) {
|
@@ -173,11 +173,11 @@
|
|
173
173
|
found = false;
|
174
174
|
jQuery(obj).css('background-color','white');
|
175
175
|
jQuery('.fields_keys, .fields_hidden_keys, .fields_function_keys').each(
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
}
|
176
|
+
function(key, value) {
|
177
|
+
if(jQuery(value).val() == jQuery(obj).val().trim()) {
|
178
|
+
found = true;
|
180
179
|
}
|
180
|
+
}
|
181
181
|
);
|
182
182
|
|
183
183
|
if (!found) {
|
@@ -355,8 +355,8 @@
|
|
355
355
|
jQuery('#exportButtonTitle').val('Export All ' + jQuery(obj).val() + 's');
|
356
356
|
}
|
357
357
|
}, "json").error(function(response) {
|
358
|
-
|
359
|
-
|
358
|
+
alert('An error occurred instantiating this model. Check the response for errors.');
|
359
|
+
});
|
360
360
|
}
|
361
361
|
}
|
362
362
|
|
@@ -379,481 +379,492 @@
|
|
379
379
|
}
|
380
380
|
</script>
|
381
381
|
<form action="<!--POST_URL-->" method="post" id="widget_list_administration">
|
382
|
-
<h1 style="font-size:24;"><!--TITLE--></h1><div class="horizontal_rule"></div>
|
383
|
-
<h3>Get started quickly by selecting the features you need for this list</h3>
|
384
|
-
<table>
|
385
|
-
<!--BUTTON SECTION-->
|
386
|
-
<tr id="sections">
|
387
|
-
<td colspan="3">
|
388
|
-
<h3><!--BUTTONS--></h3>
|
389
|
-
</td>
|
390
|
-
</tr>
|
391
|
-
|
392
|
-
<!--START SECTION-->
|
393
|
-
<tr class="start">
|
394
|
-
<td>
|
395
|
-
<h3>Internal Name:</h3>
|
396
|
-
</td>
|
397
|
-
<td>
|
398
|
-
<input type="text" name="name" id="name" value="<!--NAME_VALUE-->"/>
|
399
|
-
</td>
|
400
|
-
<td>
|
401
|
-
 
|
402
|
-
</td>
|
403
|
-
</tr>
|
404
|
-
<tr class="start">
|
405
|
-
<td>
|
406
|
-
<h3>Model:</h3>
|
407
|
-
</td>
|
408
|
-
<td>
|
409
|
-
<select name="view" id="view" onchange="ChangeViewModel(this)">
|
410
|
-
<!--VIEW_OPTIONS-->
|
411
|
-
</select>
|
412
|
-
</td>
|
413
|
-
<td>
|
414
|
-
 
|
415
|
-
</td>
|
416
|
-
</tr>
|
417
|
-
<tr class="start">
|
418
|
-
<td>
|
419
|
-
<h3>Title:</h3>
|
420
|
-
</td>
|
421
|
-
<td>
|
422
|
-
<input type="text" name="title" id="title" value="<!--TITLE_VALUE-->"/>
|
423
|
-
</td>
|
424
|
-
<td>
|
425
|
-
<!--TITLE_HELP_BUTTON-->
|
426
|
-
</td>
|
427
|
-
</tr>
|
428
|
-
|
429
|
-
<tr class="start">
|
430
|
-
<td>
|
431
|
-
<h3>Initial Description:</h3>
|
432
|
-
</td>
|
433
|
-
<td>
|
434
|
-
<input type="text" name="listDescription" id="listDescription" value="<!--DESC_VALUE-->"/>
|
435
|
-
</td>
|
436
|
-
<td>
|
437
|
-
<!--DESC_HELP_BUTTON-->
|
438
|
-
</td>
|
439
|
-
</tr>
|
440
|
-
|
441
|
-
<!--FIELDS SECTION-->
|
442
|
-
<tr class="fields" style="display:none;">
|
443
|
-
<td>
|
444
|
-
<h3>Allow Sorting?:</h3>
|
445
|
-
</td>
|
446
|
-
<td>
|
447
|
-
<input type="checkbox" name="useSort" id="useSort" value="1" <!--SORTING_CHECKED-->/>
|
448
|
-
</td>
|
449
|
-
<td>
|
450
|
-
 
|
451
|
-
</td>
|
452
|
-
</tr>
|
453
|
-
|
454
|
-
<tr class="fields" style="display:none;">
|
455
|
-
<td>
|
456
|
-
<h3>No Data Message:</h3>
|
457
|
-
</td>
|
458
|
-
<td>
|
459
|
-
<input type="text" name="noDataMessage" id="noDataMessage" value="<!--NO_DATA_VALUE-->"/>
|
460
|
-
</td>
|
461
|
-
<td>
|
462
|
-
 
|
463
|
-
</td>
|
464
|
-
</tr>
|
465
|
-
|
466
|
-
<tr class="fields" style="display:none;">
|
467
|
-
<td colspan="3">
|
468
|
-
<h1>Field Selection:</h1>
|
469
|
-
<script type="text/plain" id="default_field_template">
|
470
|
-
<!--FIELD_TEMPLATE-->
|
471
|
-
</script>
|
472
|
-
<table style="margin-left:150px;" id="field_table">
|
473
|
-
<!--ALL_FIELDS-->
|
474
|
-
</table>
|
475
|
-
<table style="margin-left:150px;">
|
476
|
-
<tr>
|
382
|
+
<h1 style="font-size:24;"><!--TITLE--></h1><div class="horizontal_rule"></div>
|
383
|
+
<h3>Get started quickly by selecting the features you need for this list</h3>
|
384
|
+
<table>
|
385
|
+
<!--BUTTON SECTION-->
|
386
|
+
<tr id="sections">
|
477
387
|
<td colspan="3">
|
478
|
-
|
388
|
+
<h3><!--BUTTONS--></h3>
|
479
389
|
</td>
|
480
390
|
</tr>
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
<
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
391
|
+
|
392
|
+
<!--START SECTION-->
|
393
|
+
<tr class="start">
|
394
|
+
<td>
|
395
|
+
<h3>Primary Connection?:</h3>
|
396
|
+
</td>
|
397
|
+
<td>
|
398
|
+
<input type="checkbox" name="primaryDatabase" id="primaryDatabase" value="1" <!--PRIMARY_CHECKED-->/>
|
399
|
+
</td>
|
400
|
+
<td>
|
401
|
+
 
|
402
|
+
</td>
|
403
|
+
</tr>
|
404
|
+
<tr class="start">
|
405
|
+
<td>
|
406
|
+
<h3>Internal Name:</h3>
|
407
|
+
</td>
|
408
|
+
<td>
|
409
|
+
<input type="text" name="name" id="name" value="<!--NAME_VALUE-->"/>
|
410
|
+
</td>
|
411
|
+
<td>
|
412
|
+
 
|
413
|
+
</td>
|
414
|
+
</tr>
|
415
|
+
<tr class="start">
|
416
|
+
<td>
|
417
|
+
<h3>Model:</h3>
|
418
|
+
</td>
|
419
|
+
<td>
|
420
|
+
<select name="view" id="view" onchange="ChangeViewModel(this)">
|
421
|
+
<!--VIEW_OPTIONS-->
|
422
|
+
</select>
|
423
|
+
</td>
|
424
|
+
<td>
|
425
|
+
 
|
426
|
+
</td>
|
427
|
+
</tr>
|
428
|
+
<tr class="start">
|
429
|
+
<td>
|
430
|
+
<h3>Title:</h3>
|
431
|
+
</td>
|
432
|
+
<td>
|
433
|
+
<input type="text" name="title" id="title" value="<!--TITLE_VALUE-->"/>
|
434
|
+
</td>
|
435
|
+
<td>
|
436
|
+
<!--TITLE_HELP_BUTTON-->
|
437
|
+
</td>
|
438
|
+
</tr>
|
439
|
+
|
440
|
+
<tr class="start">
|
441
|
+
<td>
|
442
|
+
<h3>Initial Description:</h3>
|
443
|
+
</td>
|
444
|
+
<td>
|
445
|
+
<input type="text" name="listDescription" id="listDescription" value="<!--DESC_VALUE-->"/>
|
446
|
+
</td>
|
447
|
+
<td>
|
448
|
+
<!--DESC_HELP_BUTTON-->
|
449
|
+
</td>
|
450
|
+
</tr>
|
451
|
+
|
452
|
+
<!--FIELDS SECTION-->
|
453
|
+
<tr class="fields" style="display:none;">
|
454
|
+
<td>
|
455
|
+
<h3>Allow Sorting?:</h3>
|
456
|
+
</td>
|
457
|
+
<td>
|
458
|
+
<input type="checkbox" name="useSort" id="useSort" value="1" <!--SORTING_CHECKED-->/>
|
459
|
+
</td>
|
460
|
+
<td>
|
461
|
+
 
|
462
|
+
</td>
|
463
|
+
</tr>
|
464
|
+
|
465
|
+
<tr class="fields" style="display:none;">
|
466
|
+
<td>
|
467
|
+
<h3>No Data Message:</h3>
|
468
|
+
</td>
|
469
|
+
<td>
|
470
|
+
<input type="text" name="noDataMessage" id="noDataMessage" value="<!--NO_DATA_VALUE-->"/>
|
471
|
+
</td>
|
472
|
+
<td>
|
473
|
+
 
|
474
|
+
</td>
|
475
|
+
</tr>
|
476
|
+
|
477
|
+
<tr class="fields" style="display:none;">
|
509
478
|
<td colspan="3">
|
510
|
-
|
479
|
+
<h1>Field Selection:</h1>
|
480
|
+
<script type="text/plain" id="default_field_template">
|
481
|
+
<!--FIELD_TEMPLATE-->
|
482
|
+
</script>
|
483
|
+
<table style="margin-left:150px;" id="field_table">
|
484
|
+
<!--ALL_FIELDS-->
|
485
|
+
</table>
|
486
|
+
<table style="margin-left:150px;">
|
487
|
+
<tr>
|
488
|
+
<td colspan="3">
|
489
|
+
<!--ADD_FIELD_BUTTON-->
|
490
|
+
</td>
|
491
|
+
</tr>
|
492
|
+
</table>
|
511
493
|
</td>
|
512
494
|
</tr>
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
<tr class="fields function_dependent" style="display:none;">
|
530
|
-
<td colspan="3">
|
531
|
-
<h1 style="margin-left: 75px;">Field Functions To Wrap Around Fields:</h1>
|
532
|
-
<script type="text/plain" id="default_field_function_template">
|
533
|
-
<!--FIELD_FUNCTION_TEMPLATE-->
|
534
|
-
</script>
|
535
|
-
<table style="margin-left:150px;" id="field_function_table">
|
536
|
-
<!--ALL_FIELD_FUNCTIONS-->
|
537
|
-
</table>
|
538
|
-
<table style="margin-left:150px;">
|
539
|
-
<tr>
|
495
|
+
|
496
|
+
<tr class="fields" style="display:none;">
|
497
|
+
<td style="width:300px;">
|
498
|
+
<h3>Hidden Fields?:</h3>
|
499
|
+
</td>
|
500
|
+
<td>
|
501
|
+
<input type="checkbox" name="showHidden" onchange="ShowHiddenOptions();" id="showHidden" value="1" <!--SHOW_HIDDEN_CHECKED-->/>
|
502
|
+
</td>
|
503
|
+
<td>
|
504
|
+
<!--HIDDEN_HELP_BUTTON-->
|
505
|
+
</td>
|
506
|
+
</tr>
|
507
|
+
|
508
|
+
<tr class="fields hidden_fields_dependent" style="display:none;">
|
509
|
+
|
540
510
|
<td colspan="3">
|
541
|
-
|
511
|
+
<h1 style="margin-left: 75px;">Hidden Field Selection:</h1>
|
512
|
+
<script type="text/plain" id="default_hidden_field_template">
|
513
|
+
<!--HIDDEN_FIELD_TEMPLATE-->
|
514
|
+
</script>
|
515
|
+
<table style="margin-left:150px;" id="hidden_field_table">
|
516
|
+
<!--ALL_HIDDEN_FIELDS-->
|
517
|
+
</table>
|
518
|
+
<table style="margin-left:150px;">
|
519
|
+
<tr>
|
520
|
+
<td colspan="3">
|
521
|
+
<!--ADD_HIDDEN_FIELD_BUTTON-->
|
522
|
+
</td>
|
523
|
+
</tr>
|
524
|
+
</table>
|
542
525
|
</td>
|
543
526
|
</tr>
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
<tr class="rows" style="display:none;">
|
550
|
-
<td>
|
551
|
-
<h3>Row Limit</h3>
|
552
|
-
</td>
|
553
|
-
<td>
|
554
|
-
<input type="text" name="rowLimit" id="rowLimit" value="<!--ROW_LIMIT_VALUE-->"/>
|
555
|
-
</td>
|
556
|
-
<td>
|
557
|
-
<!--ROW_HELP_BUTTON-->
|
558
|
-
</td>
|
559
|
-
</tr>
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
<tr class="rows" style="display:none;">
|
564
|
-
<td style="width:300px;">
|
565
|
-
<h3>Row Buttons?:</h3>
|
566
|
-
</td>
|
567
|
-
<td>
|
568
|
-
<input type="checkbox" name="rowButtonsOn" onchange="ShowButtonOptions();" id="rowButtonsOn" value="1" <!--BUTTONS_ON_CHECKED-->/>
|
569
|
-
</td>
|
570
|
-
<td>
|
571
|
-
<!--BUTTON_HELP_BUTTON-->
|
572
|
-
</td>
|
573
|
-
</tr>
|
574
|
-
|
575
|
-
<tr class="rows button_dependent" style="display:none;">
|
576
|
-
<td colspan="3">
|
577
|
-
<table style="margin-left:75px;">
|
578
|
-
<tr>
|
527
|
+
|
528
|
+
<tr class="fields" style="display:none;">
|
529
|
+
<td style="width:300px;">
|
530
|
+
<h3>Field Function?:</h3>
|
531
|
+
</td>
|
579
532
|
<td>
|
580
|
-
<
|
533
|
+
<input type="checkbox" name="fieldFunctionOn" onchange="ShowFunctionOptions();" id="fieldFunctionOn" value="1" <!--SHOW_FUNCTION_CHECKED-->/>
|
581
534
|
</td>
|
582
535
|
<td>
|
583
|
-
|
536
|
+
<!--FUNC_HELP_BUTTON-->
|
537
|
+
</td>
|
538
|
+
</tr>
|
539
|
+
|
540
|
+
<tr class="fields function_dependent" style="display:none;">
|
541
|
+
<td colspan="3">
|
542
|
+
<h1 style="margin-left: 75px;">Field Functions To Wrap Around Fields:</h1>
|
543
|
+
<script type="text/plain" id="default_field_function_template">
|
544
|
+
<!--FIELD_FUNCTION_TEMPLATE-->
|
545
|
+
</script>
|
546
|
+
<table style="margin-left:150px;" id="field_function_table">
|
547
|
+
<!--ALL_FIELD_FUNCTIONS-->
|
548
|
+
</table>
|
549
|
+
<table style="margin-left:150px;">
|
550
|
+
<tr>
|
551
|
+
<td colspan="3">
|
552
|
+
<!--ADD_FIELD_FUNCTION_BUTTON-->
|
553
|
+
</td>
|
554
|
+
</tr>
|
555
|
+
</table>
|
584
556
|
</td>
|
557
|
+
</tr>
|
558
|
+
|
559
|
+
<!--ROWS SECTION-->
|
560
|
+
<tr class="rows" style="display:none;">
|
585
561
|
<td>
|
586
|
-
|
562
|
+
<h3>Row Limit</h3>
|
563
|
+
</td>
|
564
|
+
<td>
|
565
|
+
<input type="text" name="rowLimit" id="rowLimit" value="<!--ROW_LIMIT_VALUE-->"/>
|
566
|
+
</td>
|
567
|
+
<td>
|
568
|
+
<!--ROW_HELP_BUTTON-->
|
587
569
|
</td>
|
588
570
|
</tr>
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
<
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
<tr class="rows" style="display:none;">
|
575
|
+
<td style="width:300px;">
|
576
|
+
<h3>Row Buttons?:</h3>
|
577
|
+
</td>
|
578
|
+
<td>
|
579
|
+
<input type="checkbox" name="rowButtonsOn" onchange="ShowButtonOptions();" id="rowButtonsOn" value="1" <!--BUTTONS_ON_CHECKED-->/>
|
580
|
+
</td>
|
581
|
+
<td>
|
582
|
+
<!--BUTTON_HELP_BUTTON-->
|
583
|
+
</td>
|
584
|
+
</tr>
|
585
|
+
|
586
|
+
<tr class="rows button_dependent" style="display:none;">
|
604
587
|
<td colspan="3">
|
605
|
-
|
588
|
+
<table style="margin-left:75px;">
|
589
|
+
<tr>
|
590
|
+
<td>
|
591
|
+
<h3>Row Button Column Name</h3>
|
592
|
+
</td>
|
593
|
+
<td>
|
594
|
+
<input type="text" name="rowButtonsName" id="rowButtonsName" value="<!--BUTTON_NAME_VALUE-->"/>
|
595
|
+
</td>
|
596
|
+
<td>
|
597
|
+
 
|
598
|
+
</td>
|
599
|
+
</tr>
|
600
|
+
</table>
|
606
601
|
</td>
|
607
602
|
</tr>
|
608
|
-
|
609
|
-
|
610
|
-
</tr>
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
<tr class="rows" style="display:none;">
|
616
|
-
<td style="width:300px;">
|
617
|
-
<h3>Drill Down Columns?:</h3>
|
618
|
-
</td>
|
619
|
-
<td>
|
620
|
-
<input type="checkbox" name="drillDownsOn" onchange="ShowDrillDownOptions();" id="drillDownsOn" value="1" <!--DRILL_DOWN_CHECKED-->/>
|
621
|
-
</td>
|
622
|
-
<td>
|
623
|
-
<!--DRILL_DOWN_HELP_BUTTON-->
|
624
|
-
</td>
|
625
|
-
</tr>
|
626
|
-
|
627
|
-
<tr class="rows drill_down_dependent" style="display:none;">
|
628
|
-
<td colspan="3">
|
629
|
-
<script type="text/plain" id="default_drill_down_template">
|
630
|
-
<!--THE_DRILL_DOWN_TEMPLATE-->
|
631
|
-
</script>
|
632
|
-
<table style="margin-left:150px;" id="drill_down_table">
|
633
|
-
<!--ALL_DRILL_DOWNS-->
|
634
|
-
</table>
|
635
|
-
<table style="margin-left:150px;">
|
636
|
-
<tr>
|
603
|
+
|
604
|
+
<tr class="rows button_dependent" style="display:none;">
|
637
605
|
<td colspan="3">
|
638
|
-
|
606
|
+
<h1 style="margin-left:75px;">Buttons:</h1>
|
607
|
+
<script type="text/plain" id="default_button_template">
|
608
|
+
<!--THE_BUTTON_TEMPLATE-->
|
609
|
+
</script>
|
610
|
+
<table style="margin-left:150px;" id="button_table">
|
611
|
+
<!--ALL_BUTTONS-->
|
612
|
+
</table>
|
613
|
+
<table style="margin-left:150px;">
|
614
|
+
<tr>
|
615
|
+
<td colspan="3">
|
616
|
+
<!--ADD_THE_BUTTON_BUTTON-->
|
617
|
+
</td>
|
618
|
+
</tr>
|
619
|
+
</table>
|
639
620
|
</td>
|
640
621
|
</tr>
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
<
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
<
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
</
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
622
|
+
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
<tr class="rows" style="display:none;">
|
627
|
+
<td style="width:300px;">
|
628
|
+
<h3>Drill Down Columns?:</h3>
|
629
|
+
</td>
|
630
|
+
<td>
|
631
|
+
<input type="checkbox" name="drillDownsOn" onchange="ShowDrillDownOptions();" id="drillDownsOn" value="1" <!--DRILL_DOWN_CHECKED-->/>
|
632
|
+
</td>
|
633
|
+
<td>
|
634
|
+
<!--DRILL_DOWN_HELP_BUTTON-->
|
635
|
+
</td>
|
636
|
+
</tr>
|
637
|
+
|
638
|
+
<tr class="rows drill_down_dependent" style="display:none;">
|
639
|
+
<td colspan="3">
|
640
|
+
<script type="text/plain" id="default_drill_down_template">
|
641
|
+
<!--THE_DRILL_DOWN_TEMPLATE-->
|
642
|
+
</script>
|
643
|
+
<table style="margin-left:150px;" id="drill_down_table">
|
644
|
+
<!--ALL_DRILL_DOWNS-->
|
645
|
+
</table>
|
646
|
+
<table style="margin-left:150px;">
|
647
|
+
<tr>
|
648
|
+
<td colspan="3">
|
649
|
+
<!--ADD_DRILL_DOWN_BUTTON-->
|
650
|
+
</td>
|
651
|
+
</tr>
|
652
|
+
</table>
|
653
|
+
</td>
|
654
|
+
</tr>
|
655
|
+
|
656
|
+
|
657
|
+
<!--SEARCH SECTION-->
|
658
|
+
<tr class="search" style="display:none;">
|
659
|
+
<td style="width:300px;">
|
660
|
+
<h3>Show Search?:</h3>
|
661
|
+
</td>
|
675
662
|
<td>
|
676
|
-
<
|
663
|
+
<input type="checkbox" name="showSearch" onchange="ShowSearchOptions(function() {ShowGroupingOptions();})" id="showSearch" value="1" <!--SHOW_SEARCH_CHECKED-->/>
|
664
|
+
</td>
|
665
|
+
<td>
|
666
|
+
 
|
667
|
+
</td>
|
668
|
+
</tr>
|
669
|
+
|
670
|
+
<tr class="search search_dependent" style="display:none;">
|
671
|
+
<td style="width:300px;">
|
672
|
+
<h3>Show Export Button?:</h3>
|
677
673
|
</td>
|
678
674
|
<td>
|
679
|
-
<input type="
|
675
|
+
<input type="checkbox" name="showExport" onchange="ShowExportOptions();" id="showExport" value="1" <!--SHOW_EXPORT_CHECKED-->/>
|
680
676
|
</td>
|
681
677
|
<td>
|
682
678
|
 
|
683
679
|
</td>
|
684
680
|
</tr>
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
<tr
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
</tr>
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
<td>
|
706
|
-
<input type="checkbox" name="useRansack" onchange="ShowRansackOptions()" id="useRansack" value="1" <!--USE_RANSACK-->/>
|
707
|
-
</td>
|
708
|
-
<td>
|
709
|
-
<!--RANSACK_HELP_BUTTON-->
|
710
|
-
</td>
|
711
|
-
</tr>
|
712
|
-
|
713
|
-
<tr class="search search_dependent ransack_dependent" style="display:none;">
|
714
|
-
<td colspan="3">
|
715
|
-
<table style="margin-left:75px;">
|
716
|
-
<tr>
|
681
|
+
|
682
|
+
<tr class="search search_dependent export_dependent" style="display:none;">
|
683
|
+
<td colspan="3">
|
684
|
+
<table style="margin-left:75px;">
|
685
|
+
<tr>
|
686
|
+
<td>
|
687
|
+
<h3>Export Button Title:</h3>
|
688
|
+
</td>
|
689
|
+
<td>
|
690
|
+
<input type="text" name="exportButtonTitle" id="exportButtonTitle" value="<!--EXPORT_VALUE-->"/>
|
691
|
+
</td>
|
692
|
+
<td>
|
693
|
+
 
|
694
|
+
</td>
|
695
|
+
</tr>
|
696
|
+
</table>
|
697
|
+
</td>
|
698
|
+
</tr>
|
699
|
+
|
700
|
+
<tr class="search search_dependent" style="display:none;">
|
717
701
|
<td>
|
718
|
-
<h3>
|
702
|
+
<h3>Search Description/Title:</h3>
|
719
703
|
</td>
|
720
704
|
<td>
|
721
|
-
<input type="
|
705
|
+
<input type="text" name="searchTitle" id="searchTitle" value="<!--SEARCH_TITLE-->"/>
|
722
706
|
</td>
|
723
707
|
<td>
|
724
|
-
<!--
|
708
|
+
<!--SEARCH_TITLE_BUTTON-->
|
725
709
|
</td>
|
726
710
|
</tr>
|
727
|
-
|
728
|
-
|
729
|
-
</tr>
|
730
|
-
|
731
|
-
<tr class="search search_dependent" style="display:none;">
|
732
|
-
<td>
|
733
|
-
<h3>Use Grouping?:</h3>
|
734
|
-
</td>
|
735
|
-
<td>
|
736
|
-
<input type="checkbox" name="useGrouping" onchange="ShowGroupingOptions()" id="useGrouping" value="1" <!--USE_GROUPING-->/>
|
737
|
-
</td>
|
738
|
-
<td>
|
739
|
-
<!--GROUP_BY_HELP_BUTTON-->
|
740
|
-
</td>
|
741
|
-
</tr>
|
742
|
-
|
743
|
-
<tr class="search search_dependent grouping_dependent" style="display:none;">
|
744
|
-
<td colspan="3">
|
745
|
-
<h1 style="margin-left: 75px;">Custom Items To Group By:</h1>
|
746
|
-
<table>
|
747
|
-
<tr>
|
711
|
+
|
712
|
+
<tr class="search search_dependent" style="display:none;">
|
748
713
|
<td>
|
749
|
-
<
|
750
|
-
|
751
|
-
|
752
|
-
<
|
753
|
-
|
714
|
+
<h3>Use Ransack Advanced Search?:</h3>
|
715
|
+
</td>
|
716
|
+
<td>
|
717
|
+
<input type="checkbox" name="useRansack" onchange="ShowRansackOptions()" id="useRansack" value="1" <!--USE_RANSACK-->/>
|
718
|
+
</td>
|
719
|
+
<td>
|
720
|
+
<!--RANSACK_HELP_BUTTON-->
|
721
|
+
</td>
|
722
|
+
</tr>
|
723
|
+
|
724
|
+
<tr class="search search_dependent ransack_dependent" style="display:none;">
|
725
|
+
<td colspan="3">
|
726
|
+
<table style="margin-left:75px;">
|
727
|
+
<tr>
|
728
|
+
<td>
|
729
|
+
<h3>Customized Ransack Form?:</h3>
|
730
|
+
</td>
|
731
|
+
<td>
|
732
|
+
<input type="checkbox" name="ransackAdvancedForm" id="ransackAdvancedForm" value="1" <!--USE_RANSACK_ADV-->/>
|
733
|
+
</td>
|
734
|
+
<td>
|
735
|
+
<!--ADV_RANSACK_HELP_BUTTON-->
|
736
|
+
</td>
|
737
|
+
</tr>
|
754
738
|
</table>
|
739
|
+
</td>
|
740
|
+
</tr>
|
741
|
+
|
742
|
+
<tr class="search search_dependent" style="display:none;">
|
743
|
+
<td>
|
744
|
+
<h3>Use Grouping?:</h3>
|
745
|
+
</td>
|
746
|
+
<td>
|
747
|
+
<input type="checkbox" name="useGrouping" onchange="ShowGroupingOptions()" id="useGrouping" value="1" <!--USE_GROUPING-->/>
|
748
|
+
</td>
|
749
|
+
<td>
|
750
|
+
<!--GROUP_BY_HELP_BUTTON-->
|
751
|
+
</td>
|
752
|
+
</tr>
|
753
|
+
|
754
|
+
<tr class="search search_dependent grouping_dependent" style="display:none;">
|
755
|
+
<td colspan="3">
|
756
|
+
<h1 style="margin-left: 75px;">Custom Items To Group By:</h1>
|
757
|
+
<table>
|
758
|
+
<tr>
|
759
|
+
<td>
|
760
|
+
<script type="text/plain" id="default_grouping_template">
|
761
|
+
<!--DEFAULT_GROUPING-->
|
762
|
+
</script>
|
763
|
+
<table style="margin-left:150px;" id="grouping_table">
|
764
|
+
<!--GROUPING_ITEMS-->
|
765
|
+
</table>
|
766
|
+
<table style="margin-left:150px;">
|
767
|
+
<tr>
|
768
|
+
<td colspan="3">
|
769
|
+
<!--ADD_GROUP_BY_BUTTON-->
|
770
|
+
</td>
|
771
|
+
</tr>
|
772
|
+
</table>
|
773
|
+
</td>
|
774
|
+
</tr>
|
775
|
+
</table>
|
776
|
+
|
755
777
|
<table style="margin-left:150px;">
|
756
778
|
<tr>
|
757
779
|
<td colspan="3">
|
758
|
-
<!--
|
780
|
+
<!--ADD_GROUPING_BUTTON-->
|
759
781
|
</td>
|
760
782
|
</tr>
|
761
783
|
</table>
|
762
784
|
</td>
|
763
785
|
</tr>
|
764
|
-
</table>
|
765
786
|
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
787
|
+
<!--FOOTER SECTION-->
|
788
|
+
<tr class="footer" style="display:none;">
|
789
|
+
<td style="width:300px;">
|
790
|
+
<h3>Build Customized Footer?:</h3>
|
791
|
+
</td>
|
792
|
+
<td>
|
793
|
+
<input type="checkbox" name="footerOn" onchange="ShowFooterOptions();" id="footerOn" value="1" <!--FOOTER_CHECKED-->/>
|
794
|
+
</td>
|
795
|
+
<td>
|
796
|
+
|
797
|
+
</td>
|
798
|
+
</tr>
|
799
|
+
<tr class="footer footer_dependent" style="display:none;">
|
800
|
+
<td colspan="3">
|
801
|
+
<h1 style="margin-left:75px;">Footer Buttons:</h1>
|
802
|
+
<script type="text/plain" id="default_footer_template">
|
803
|
+
<!--FOOTER_BUTTON_TEMPLATE-->
|
804
|
+
</script>
|
805
|
+
<table style="margin-left:150px;" id="footer_table">
|
806
|
+
<!--ALL_FOOTER_BUTTONS-->
|
807
|
+
</table>
|
808
|
+
<table style="margin-left:150px;">
|
809
|
+
<tr>
|
810
|
+
<td colspan="3">
|
811
|
+
<!--ADD_THE_FOOTER_BUTTON-->
|
812
|
+
</td>
|
813
|
+
</tr>
|
814
|
+
</table>
|
815
|
+
</td>
|
816
|
+
</tr>
|
817
|
+
|
818
|
+
<!--MISC & SUBMIT SECTION-->
|
819
|
+
|
820
|
+
<tr class="misc_submit" style="display:none;">
|
821
|
+
<td style="width:300px;">
|
822
|
+
<h3>Add Row Checkbox?:</h3>
|
823
|
+
</td>
|
824
|
+
<td>
|
825
|
+
<input type="checkbox" name="checkboxEnabled" onchange="ShowCheckboxOptions();" id="checkboxEnabled" value="1" <!--SHOW_CHECKBOX_CHECKED-->/>
|
826
|
+
</td>
|
827
|
+
<td>
|
828
|
+
 
|
770
829
|
</td>
|
771
830
|
</tr>
|
772
|
-
|
773
|
-
|
774
|
-
</tr>
|
775
|
-
|
776
|
-
<!--FOOTER SECTION-->
|
777
|
-
<tr class="footer" style="display:none;">
|
778
|
-
<td style="width:300px;">
|
779
|
-
<h3>Build Customized Footer?:</h3>
|
780
|
-
</td>
|
781
|
-
<td>
|
782
|
-
<input type="checkbox" name="footerOn" onchange="ShowFooterOptions();" id="footerOn" value="1" <!--FOOTER_CHECKED-->/>
|
783
|
-
</td>
|
784
|
-
<td>
|
785
|
-
|
786
|
-
</td>
|
787
|
-
</tr>
|
788
|
-
<tr class="footer footer_dependent" style="display:none;">
|
789
|
-
<td colspan="3">
|
790
|
-
<h1 style="margin-left:75px;">Footer Buttons:</h1>
|
791
|
-
<script type="text/plain" id="default_footer_template">
|
792
|
-
<!--FOOTER_BUTTON_TEMPLATE-->
|
793
|
-
</script>
|
794
|
-
<table style="margin-left:150px;" id="footer_table">
|
795
|
-
<!--ALL_FOOTER_BUTTONS-->
|
796
|
-
</table>
|
797
|
-
<table style="margin-left:150px;">
|
798
|
-
<tr>
|
831
|
+
|
832
|
+
<tr class="misc_submit checkbox_dependent" style="display:none;">
|
799
833
|
<td colspan="3">
|
800
|
-
|
834
|
+
<table style="margin-left:75px;">
|
835
|
+
<tr>
|
836
|
+
<td>
|
837
|
+
<h3>Checkbox Value:</h3>
|
838
|
+
</td>
|
839
|
+
<td>
|
840
|
+
<select name="checkboxField" id="checkboxField">
|
841
|
+
<!--CHECKBOX_SELECTED_FIELDS-->
|
842
|
+
</select>
|
843
|
+
</td>
|
844
|
+
<td>
|
845
|
+
<!--CHECK_HELP_BUTTON-->
|
846
|
+
</td>
|
847
|
+
</tr>
|
848
|
+
</table>
|
801
849
|
</td>
|
802
850
|
</tr>
|
803
|
-
|
804
|
-
</td>
|
805
|
-
</tr>
|
806
|
-
|
807
|
-
<!--MISC & SUBMIT SECTION-->
|
808
|
-
|
809
|
-
<tr class="misc_submit" style="display:none;">
|
810
|
-
<td style="width:300px;">
|
811
|
-
<h3>Add Row Checkbox?:</h3>
|
812
|
-
</td>
|
813
|
-
<td>
|
814
|
-
<input type="checkbox" name="checkboxEnabled" onchange="ShowCheckboxOptions();" id="checkboxEnabled" value="1" <!--SHOW_CHECKBOX_CHECKED-->/>
|
815
|
-
</td>
|
816
|
-
<td>
|
817
|
-
 
|
818
|
-
</td>
|
819
|
-
</tr>
|
820
|
-
|
821
|
-
<tr class="misc_submit checkbox_dependent" style="display:none;">
|
822
|
-
<td colspan="3">
|
823
|
-
<table style="margin-left:75px;">
|
824
|
-
<tr>
|
851
|
+
<tr class="misc_submit" style="display:none;" >
|
825
852
|
<td>
|
826
|
-
<h3>
|
853
|
+
<h3>Submit:</h3>
|
827
854
|
</td>
|
828
855
|
<td>
|
829
|
-
|
830
|
-
<!--CHECKBOX_SELECTED_FIELDS-->
|
831
|
-
</select>
|
856
|
+
<!--SUBMIT_WIDGET_LIST-->
|
832
857
|
</td>
|
833
858
|
<td>
|
834
|
-
|
859
|
+
 
|
835
860
|
</td>
|
836
861
|
</tr>
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
<
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
<!--SUBMIT_WIDGET_LIST-->
|
846
|
-
</td>
|
847
|
-
<td>
|
848
|
-
 
|
849
|
-
</td>
|
850
|
-
</tr>
|
851
|
-
|
852
|
-
<tr>
|
853
|
-
<td colspan="3">
|
854
|
-
<iframe src="" id="preview"></iframe>
|
855
|
-
</td>
|
856
|
-
</tr>
|
857
|
-
|
858
|
-
</table>
|
862
|
+
|
863
|
+
<tr>
|
864
|
+
<td colspan="3">
|
865
|
+
<iframe src="" id="preview"></iframe>
|
866
|
+
</td>
|
867
|
+
</tr>
|
868
|
+
|
869
|
+
</table>
|
859
870
|
</form>
|