widget_list 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
- 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
- }
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
+ }
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
+ }
141
150
  )
142
- }
143
151
 
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
- );
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
+ }
162
163
  }
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
- function(key, value) {
177
- if(jQuery(value).val() == jQuery(obj).val().trim()) {
178
- found = true;
176
+ function(key, value) {
177
+ if(jQuery(value).val() == jQuery(obj).val().trim()) {
178
+ found = true;
179
+ }
179
180
  }
180
- }
181
181
  );
182
182
 
183
183
  if (!found) {
@@ -331,6 +331,7 @@
331
331
  if(jQuery(obj).val() != '') {
332
332
  jQuery.post(jQuery('#widget_list_administration').attr('action'), 'ajax=1&model=' + jQuery(obj).val(), function(response)
333
333
  {
334
+ jQuery('#name').val(jQuery(obj).val().toLowerCase() + '_listing');
334
335
  jQuery('#field_table').html(response['fields']);
335
336
  jQuery('#hidden_field_table').html(response['fields_hidden']);
336
337
  jQuery('#checkboxField').html(response['checked_fields']);
@@ -346,14 +347,16 @@
346
347
  jQuery('#title').val(jQuery(obj).val() + 's');
347
348
  jQuery('#listDescription').val('Showing All ' + jQuery(obj).val() + 's');
348
349
 
349
- if (jQuery(obj).val() != '' && jQuery('#noDataMessage').val() == '') {
350
+ if (jQuery(obj).val() != '') {
350
351
  jQuery('#noDataMessage').val('No ' + jQuery(obj).val() + 's Found Within Your Criteria');
351
352
  }
352
353
 
353
354
  if (jQuery(obj).val() != '' && jQuery('#showExport').is(':checked')) {
354
355
  jQuery('#exportButtonTitle').val('Export All ' + jQuery(obj).val() + 's');
355
356
  }
356
- }, "json");
357
+ }, "json").error(function(response) {
358
+ alert('An error occurred instantiating this model. Check the response for errors.');
359
+ });
357
360
  }
358
361
  }
359
362
 
@@ -376,481 +379,481 @@
376
379
  }
377
380
  </script>
378
381
  <form action="<!--POST_URL-->" method="post" id="widget_list_administration">
379
- <h1 style="font-size:24;"><!--TITLE--></h1><div class="horizontal_rule"></div>
380
- <h3>Get started quickly by selecting the features you need for this list</h3>
381
- <table>
382
- <!--BUTTON SECTION-->
383
- <tr id="sections">
384
- <td colspan="3">
385
- <h3><!--BUTTONS--></h3>
386
- </td>
387
- </tr>
388
-
389
- <!--START SECTION-->
390
- <tr class="start">
391
- <td>
392
- <h3>Internal Name:</h3>
393
- </td>
394
- <td>
395
- <input type="text" name="name" value="<!--NAME_VALUE-->"/>
396
- </td>
397
- <td>
398
- &#160;
399
- </td>
400
- </tr>
401
- <tr class="start">
402
- <td>
403
- <h3>Model:</h3>
404
- </td>
405
- <td>
406
- <select name="view" id="view" onchange="ChangeViewModel(this)">
407
- <!--VIEW_OPTIONS-->
408
- </select>
409
- </td>
410
- <td>
411
- &#160;
412
- </td>
413
- </tr>
414
- <tr class="start">
415
- <td>
416
- <h3>Title:</h3>
417
- </td>
418
- <td>
419
- <input type="text" name="title" id="title" value="<!--TITLE_VALUE-->"/>
420
- </td>
421
- <td>
422
- <!--TITLE_HELP_BUTTON-->
423
- </td>
424
- </tr>
425
-
426
- <tr class="start">
427
- <td>
428
- <h3>Initial Description:</h3>
429
- </td>
430
- <td>
431
- <input type="text" name="listDescription" id="listDescription" value="<!--DESC_VALUE-->"/>
432
- </td>
433
- <td>
434
- <!--DESC_HELP_BUTTON-->
435
- </td>
436
- </tr>
437
-
438
- <!--FIELDS SECTION-->
439
- <tr class="fields" style="display:none;">
440
- <td>
441
- <h3>Allow Sorting?:</h3>
442
- </td>
443
- <td>
444
- <input type="checkbox" name="useSort" id="useSort" value="1" <!--SORTING_CHECKED-->/>
445
- </td>
446
- <td>
447
- &#160;
448
- </td>
449
- </tr>
450
-
451
- <tr class="fields" style="display:none;">
452
- <td>
453
- <h3>No Data Message:</h3>
454
- </td>
455
- <td>
456
- <input type="text" name="noDataMessage" id="noDataMessage" value="<!--NO_DATA_VALUE-->"/>
457
- </td>
458
- <td>
459
- &#160;
460
- </td>
461
- </tr>
462
-
463
- <tr class="fields" style="display:none;">
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
+ &#160;
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
+ &#160;
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
+ &#160;
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
+ &#160;
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>
464
477
  <td colspan="3">
465
- <h1>Field Selection:</h1>
466
- <script type="text/plain" id="default_field_template">
467
- <!--FIELD_TEMPLATE-->
468
- </script>
469
- <table style="margin-left:150px;" id="field_table">
470
- <!--ALL_FIELDS-->
471
- </table>
472
- <table style="margin-left:150px;">
473
- <tr>
474
- <td colspan="3">
475
- <!--ADD_FIELD_BUTTON-->
476
- </td>
477
- </tr>
478
- </table>
479
- </td>
480
- </tr>
481
-
482
- <tr class="fields" style="display:none;">
483
- <td style="width:300px;">
484
- <h3>Hidden Fields?:</h3>
485
- </td>
486
- <td>
487
- <input type="checkbox" name="showHidden" onchange="ShowHiddenOptions();" id="showHidden" value="1" <!--SHOW_HIDDEN_CHECKED-->/>
488
- </td>
489
- <td>
490
- <!--HIDDEN_HELP_BUTTON-->
478
+ <!--ADD_FIELD_BUTTON-->
491
479
  </td>
492
480
  </tr>
493
-
494
- <tr class="fields hidden_fields_dependent" style="display:none;">
495
-
481
+ </table>
482
+ </td>
483
+ </tr>
484
+
485
+ <tr class="fields" style="display:none;">
486
+ <td style="width:300px;">
487
+ <h3>Hidden Fields?:</h3>
488
+ </td>
489
+ <td>
490
+ <input type="checkbox" name="showHidden" onchange="ShowHiddenOptions();" id="showHidden" value="1" <!--SHOW_HIDDEN_CHECKED-->/>
491
+ </td>
492
+ <td>
493
+ <!--HIDDEN_HELP_BUTTON-->
494
+ </td>
495
+ </tr>
496
+
497
+ <tr class="fields hidden_fields_dependent" style="display:none;">
498
+
499
+ <td colspan="3">
500
+ <h1 style="margin-left: 75px;">Hidden Field Selection:</h1>
501
+ <script type="text/plain" id="default_hidden_field_template">
502
+ <!--HIDDEN_FIELD_TEMPLATE-->
503
+ </script>
504
+ <table style="margin-left:150px;" id="hidden_field_table">
505
+ <!--ALL_HIDDEN_FIELDS-->
506
+ </table>
507
+ <table style="margin-left:150px;">
508
+ <tr>
496
509
  <td colspan="3">
497
- <h1 style="margin-left: 75px;">Hidden Field Selection:</h1>
498
- <script type="text/plain" id="default_hidden_field_template">
499
- <!--HIDDEN_FIELD_TEMPLATE-->
500
- </script>
501
- <table style="margin-left:150px;" id="hidden_field_table">
502
- <!--ALL_HIDDEN_FIELDS-->
503
- </table>
504
- <table style="margin-left:150px;">
505
- <tr>
506
- <td colspan="3">
507
- <!--ADD_HIDDEN_FIELD_BUTTON-->
508
- </td>
509
- </tr>
510
- </table>
510
+ <!--ADD_HIDDEN_FIELD_BUTTON-->
511
511
  </td>
512
512
  </tr>
513
-
514
- <tr class="fields" style="display:none;">
515
- <td style="width:300px;">
516
- <h3>Field Function?:</h3>
517
- </td>
518
- <td>
519
- <input type="checkbox" name="fieldFunctionOn" onchange="ShowFunctionOptions();" id="fieldFunctionOn" value="1" <!--SHOW_FUNCTION_CHECKED-->/>
520
- </td>
521
- <td>
522
- <!--FUNC_HELP_BUTTON-->
523
- </td>
524
- </tr>
525
-
526
- <tr class="fields function_dependent" style="display:none;">
513
+ </table>
514
+ </td>
515
+ </tr>
516
+
517
+ <tr class="fields" style="display:none;">
518
+ <td style="width:300px;">
519
+ <h3>Field Function?:</h3>
520
+ </td>
521
+ <td>
522
+ <input type="checkbox" name="fieldFunctionOn" onchange="ShowFunctionOptions();" id="fieldFunctionOn" value="1" <!--SHOW_FUNCTION_CHECKED-->/>
523
+ </td>
524
+ <td>
525
+ <!--FUNC_HELP_BUTTON-->
526
+ </td>
527
+ </tr>
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>
527
540
  <td colspan="3">
528
- <h1 style="margin-left: 75px;">Field Functions To Wrap Around Fields:</h1>
529
- <script type="text/plain" id="default_field_function_template">
530
- <!--FIELD_FUNCTION_TEMPLATE-->
531
- </script>
532
- <table style="margin-left:150px;" id="field_function_table">
533
- <!--ALL_FIELD_FUNCTIONS-->
534
- </table>
535
- <table style="margin-left:150px;">
536
- <tr>
537
- <td colspan="3">
538
- <!--ADD_FIELD_FUNCTION_BUTTON-->
539
- </td>
540
- </tr>
541
- </table>
541
+ <!--ADD_FIELD_FUNCTION_BUTTON-->
542
542
  </td>
543
543
  </tr>
544
-
545
- <!--ROWS SECTION-->
546
- <tr class="rows" style="display:none;">
547
- <td>
548
- <h3>Row Limit</h3>
549
- </td>
550
- <td>
551
- <input type="text" name="rowLimit" id="rowLimit" value="<!--ROW_LIMIT_VALUE-->"/>
552
- </td>
544
+ </table>
545
+ </td>
546
+ </tr>
547
+
548
+ <!--ROWS SECTION-->
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>
553
579
  <td>
554
- <!--ROW_HELP_BUTTON-->
555
- </td>
556
- </tr>
557
-
558
-
559
-
560
- <tr class="rows" style="display:none;">
561
- <td style="width:300px;">
562
- <h3>Row Buttons?:</h3>
580
+ <h3>Row Button Column Name</h3>
563
581
  </td>
564
582
  <td>
565
- <input type="checkbox" name="rowButtonsOn" onchange="ShowButtonOptions();" id="rowButtonsOn" value="1" <!--BUTTONS_ON_CHECKED-->/>
583
+ <input type="text" name="rowButtonsName" id="rowButtonsName" value="<!--BUTTON_NAME_VALUE-->"/>
566
584
  </td>
567
585
  <td>
568
- <!--BUTTON_HELP_BUTTON-->
586
+ &#160;
569
587
  </td>
570
588
  </tr>
571
-
572
- <tr class="rows button_dependent" style="display:none;">
589
+ </table>
590
+ </td>
591
+ </tr>
592
+
593
+ <tr class="rows button_dependent" style="display:none;">
594
+ <td colspan="3">
595
+ <h1 style="margin-left:75px;">Buttons:</h1>
596
+ <script type="text/plain" id="default_button_template">
597
+ <!--THE_BUTTON_TEMPLATE-->
598
+ </script>
599
+ <table style="margin-left:150px;" id="button_table">
600
+ <!--ALL_BUTTONS-->
601
+ </table>
602
+ <table style="margin-left:150px;">
603
+ <tr>
573
604
  <td colspan="3">
574
- <table style="margin-left:75px;">
575
- <tr>
576
- <td>
577
- <h3>Row Button Column Name</h3>
578
- </td>
579
- <td>
580
- <input type="text" name="rowButtonsName" id="rowButtonsName" value="<!--BUTTON_NAME_VALUE-->"/>
581
- </td>
582
- <td>
583
- &#160;
584
- </td>
585
- </tr>
586
- </table>
605
+ <!--ADD_THE_BUTTON_BUTTON-->
587
606
  </td>
588
607
  </tr>
589
-
590
- <tr class="rows button_dependent" style="display:none;">
608
+ </table>
609
+ </td>
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>
591
637
  <td colspan="3">
592
- <h1 style="margin-left:75px;">Buttons:</h1>
593
- <script type="text/plain" id="default_button_template">
594
- <!--THE_BUTTON_TEMPLATE-->
595
- </script>
596
- <table style="margin-left:150px;" id="button_table">
597
- <!--ALL_BUTTONS-->
598
- </table>
599
- <table style="margin-left:150px;">
600
- <tr>
601
- <td colspan="3">
602
- <!--ADD_THE_BUTTON_BUTTON-->
603
- </td>
604
- </tr>
605
- </table>
638
+ <!--ADD_DRILL_DOWN_BUTTON-->
606
639
  </td>
607
640
  </tr>
608
-
609
-
610
-
611
-
612
- <tr class="rows" style="display:none;">
613
- <td style="width:300px;">
614
- <h3>Drill Down Columns?:</h3>
615
- </td>
616
- <td>
617
- <input type="checkbox" name="drillDownsOn" onchange="ShowDrillDownOptions();" id="drillDownsOn" value="1" <!--DRILL_DOWN_CHECKED-->/>
618
- </td>
619
- <td>
620
- <!--DRILL_DOWN_HELP_BUTTON-->
621
- </td>
622
- </tr>
623
-
624
- <tr class="rows drill_down_dependent" style="display:none;">
625
- <td colspan="3">
626
- <script type="text/plain" id="default_drill_down_template">
627
- <!--THE_DRILL_DOWN_TEMPLATE-->
628
- </script>
629
- <table style="margin-left:150px;" id="drill_down_table">
630
- <!--ALL_DRILL_DOWNS-->
631
- </table>
632
- <table style="margin-left:150px;">
633
- <tr>
634
- <td colspan="3">
635
- <!--ADD_DRILL_DOWN_BUTTON-->
636
- </td>
637
- </tr>
638
- </table>
639
- </td>
640
- </tr>
641
-
642
-
643
- <!--SEARCH SECTION-->
644
- <tr class="search" style="display:none;">
645
- <td style="width:300px;">
646
- <h3>Show Search?:</h3>
647
- </td>
648
- <td>
649
- <input type="checkbox" name="showSearch" onchange="ShowSearchOptions(function() {ShowGroupingOptions();})" id="showSearch" value="1" <!--SHOW_SEARCH_CHECKED-->/>
650
- </td>
641
+ </table>
642
+ </td>
643
+ </tr>
644
+
645
+
646
+ <!--SEARCH SECTION-->
647
+ <tr class="search" style="display:none;">
648
+ <td style="width:300px;">
649
+ <h3>Show Search?:</h3>
650
+ </td>
651
+ <td>
652
+ <input type="checkbox" name="showSearch" onchange="ShowSearchOptions(function() {ShowGroupingOptions();})" id="showSearch" value="1" <!--SHOW_SEARCH_CHECKED-->/>
653
+ </td>
654
+ <td>
655
+ &#160;
656
+ </td>
657
+ </tr>
658
+
659
+ <tr class="search search_dependent" style="display:none;">
660
+ <td style="width:300px;">
661
+ <h3>Show Export Button?:</h3>
662
+ </td>
663
+ <td>
664
+ <input type="checkbox" name="showExport" onchange="ShowExportOptions();" id="showExport" value="1" <!--SHOW_EXPORT_CHECKED-->/>
665
+ </td>
666
+ <td>
667
+ &#160;
668
+ </td>
669
+ </tr>
670
+
671
+ <tr class="search search_dependent export_dependent" style="display:none;">
672
+ <td colspan="3">
673
+ <table style="margin-left:75px;">
674
+ <tr>
651
675
  <td>
652
- &#160;
653
- </td>
654
- </tr>
655
-
656
- <tr class="search search_dependent" style="display:none;">
657
- <td style="width:300px;">
658
- <h3>Show Export Button?:</h3>
676
+ <h3>Export Button Title:</h3>
659
677
  </td>
660
678
  <td>
661
- <input type="checkbox" name="showExport" onchange="ShowExportOptions();" id="showExport" value="1" <!--SHOW_EXPORT_CHECKED-->/>
679
+ <input type="text" name="exportButtonTitle" id="exportButtonTitle" value="<!--EXPORT_VALUE-->"/>
662
680
  </td>
663
681
  <td>
664
682
  &#160;
665
683
  </td>
666
684
  </tr>
667
-
668
- <tr class="search search_dependent export_dependent" style="display:none;">
669
- <td colspan="3">
670
- <table style="margin-left:75px;">
671
- <tr>
672
- <td>
673
- <h3>Export Button Title:</h3>
674
- </td>
675
- <td>
676
- <input type="text" name="exportButtonTitle" id="exportButtonTitle" value="<!--EXPORT_VALUE-->"/>
677
- </td>
678
- <td>
679
- &#160;
680
- </td>
681
- </tr>
682
- </table>
683
- </td>
684
- </tr>
685
-
686
- <tr class="search search_dependent" style="display:none;">
687
- <td>
688
- <h3>Search Description/Title:</h3>
689
- </td>
690
- <td>
691
- <input type="text" name="searchTitle" id="searchTitle" value="<!--SEARCH_TITLE-->"/>
692
- </td>
693
- <td>
694
- <!--SEARCH_TITLE_BUTTON-->
695
- </td>
696
- </tr>
697
-
698
- <tr class="search search_dependent" style="display:none;">
685
+ </table>
686
+ </td>
687
+ </tr>
688
+
689
+ <tr class="search search_dependent" style="display:none;">
690
+ <td>
691
+ <h3>Search Description/Title:</h3>
692
+ </td>
693
+ <td>
694
+ <input type="text" name="searchTitle" id="searchTitle" value="<!--SEARCH_TITLE-->"/>
695
+ </td>
696
+ <td>
697
+ <!--SEARCH_TITLE_BUTTON-->
698
+ </td>
699
+ </tr>
700
+
701
+ <tr class="search search_dependent" style="display:none;">
702
+ <td>
703
+ <h3>Use Ransack Advanced Search?:</h3>
704
+ </td>
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>
699
717
  <td>
700
- <h3>Use Ransack Advanced Search?:</h3>
718
+ <h3>Customized Ransack Form?:</h3>
701
719
  </td>
702
720
  <td>
703
- <input type="checkbox" name="useRansack" onchange="ShowRansackOptions()" id="useRansack" value="1" <!--USE_RANSACK-->/>
721
+ <input type="checkbox" name="ransackAdvancedForm" id="ransackAdvancedForm" value="1" <!--USE_RANSACK_ADV-->/>
704
722
  </td>
705
723
  <td>
706
- <!--RANSACK_HELP_BUTTON-->
707
- </td>
708
- </tr>
709
-
710
- <tr class="search search_dependent ransack_dependent" style="display:none;">
711
- <td colspan="3">
712
- <table style="margin-left:75px;">
713
- <tr>
714
- <td>
715
- <h3>Customized Ransack Form?:</h3>
716
- </td>
717
- <td>
718
- <input type="checkbox" name="ransackAdvancedForm" id="ransackAdvancedForm" value="1" <!--USE_RANSACK_ADV-->/>
719
- </td>
720
- <td>
721
- <!--ADV_RANSACK_HELP_BUTTON-->
722
- </td>
723
- </tr>
724
- </table>
724
+ <!--ADV_RANSACK_HELP_BUTTON-->
725
725
  </td>
726
726
  </tr>
727
-
728
- <tr class="search search_dependent" style="display:none;">
729
- <td>
730
- <h3>Use Grouping?:</h3>
731
- </td>
732
- <td>
733
- <input type="checkbox" name="useGrouping" onchange="ShowGroupingOptions()" id="useGrouping" value="1" <!--USE_GROUPING-->/>
734
- </td>
727
+ </table>
728
+ </td>
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>
735
748
  <td>
736
- <!--GROUP_BY_HELP_BUTTON-->
737
- </td>
738
- </tr>
739
-
740
- <tr class="search search_dependent grouping_dependent" style="display:none;">
741
- <td colspan="3">
742
- <h1 style="margin-left: 75px;">Custom Items To Group By:</h1>
743
- <table>
744
- <tr>
745
- <td>
746
- <script type="text/plain" id="default_grouping_template">
747
- <!--DEFAULT_GROUPING-->
748
- </script>
749
- <table style="margin-left:150px;" id="grouping_table">
750
- <!--GROUPING_ITEMS-->
751
- </table>
752
- <table style="margin-left:150px;">
753
- <tr>
754
- <td colspan="3">
755
- <!--ADD_GROUP_BY_BUTTON-->
756
- </td>
757
- </tr>
758
- </table>
759
- </td>
760
- </tr>
749
+ <script type="text/plain" id="default_grouping_template">
750
+ <!--DEFAULT_GROUPING-->
751
+ </script>
752
+ <table style="margin-left:150px;" id="grouping_table">
753
+ <!--GROUPING_ITEMS-->
761
754
  </table>
762
-
763
755
  <table style="margin-left:150px;">
764
756
  <tr>
765
757
  <td colspan="3">
766
- <!--ADD_GROUPING_BUTTON-->
758
+ <!--ADD_GROUP_BY_BUTTON-->
767
759
  </td>
768
760
  </tr>
769
761
  </table>
770
762
  </td>
771
763
  </tr>
764
+ </table>
772
765
 
773
- <!--FOOTER SECTION-->
774
- <tr class="footer" style="display:none;">
775
- <td style="width:300px;">
776
- <h3>Build Customized Footer?:</h3>
777
- </td>
778
- <td>
779
- <input type="checkbox" name="footerOn" onchange="ShowFooterOptions();" id="footerOn" value="1" <!--FOOTER_CHECKED-->/>
780
- </td>
781
- <td>
782
-
783
- </td>
784
- </tr>
785
- <tr class="footer footer_dependent" style="display:none;">
786
- <td colspan="3">
787
- <h1 style="margin-left:75px;">Footer Buttons:</h1>
788
- <script type="text/plain" id="default_footer_template">
789
- <!--FOOTER_BUTTON_TEMPLATE-->
790
- </script>
791
- <table style="margin-left:150px;" id="footer_table">
792
- <!--ALL_FOOTER_BUTTONS-->
793
- </table>
794
- <table style="margin-left:150px;">
795
- <tr>
796
- <td colspan="3">
797
- <!--ADD_THE_FOOTER_BUTTON-->
798
- </td>
799
- </tr>
800
- </table>
801
- </td>
802
- </tr>
803
-
804
- <!--MISC & SUBMIT SECTION-->
805
-
806
- <tr class="misc_submit" style="display:none;">
807
- <td style="width:300px;">
808
- <h3>Add Row Checkbox?:</h3>
809
- </td>
810
- <td>
811
- <input type="checkbox" name="checkboxEnabled" onchange="ShowCheckboxOptions();" id="checkboxEnabled" value="1" <!--SHOW_CHECKBOX_CHECKED-->/>
812
- </td>
813
- <td>
814
- &#160;
766
+ <table style="margin-left:150px;">
767
+ <tr>
768
+ <td colspan="3">
769
+ <!--ADD_GROUPING_BUTTON-->
815
770
  </td>
816
771
  </tr>
817
-
818
- <tr class="misc_submit checkbox_dependent" style="display:none;">
772
+ </table>
773
+ </td>
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>
819
799
  <td colspan="3">
820
- <table style="margin-left:75px;">
821
- <tr>
822
- <td>
823
- <h3>Checkbox Value:</h3>
824
- </td>
825
- <td>
826
- <select name="checkboxField" id="checkboxField">
827
- <!--CHECKBOX_SELECTED_FIELDS-->
828
- </select>
829
- </td>
830
- <td>
831
- <!--CHECK_HELP_BUTTON-->
832
- </td>
833
- </tr>
834
- </table>
800
+ <!--ADD_THE_FOOTER_BUTTON-->
835
801
  </td>
836
802
  </tr>
837
- <tr class="misc_submit" style="display:none;" >
803
+ </table>
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
+ &#160;
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>
838
825
  <td>
839
- <h3>Submit:</h3>
826
+ <h3>Checkbox Value:</h3>
840
827
  </td>
841
828
  <td>
842
- <!--SUBMIT_WIDGET_LIST-->
829
+ <select name="checkboxField" id="checkboxField">
830
+ <!--CHECKBOX_SELECTED_FIELDS-->
831
+ </select>
843
832
  </td>
844
833
  <td>
845
- &#160;
834
+ <!--CHECK_HELP_BUTTON-->
846
835
  </td>
847
836
  </tr>
848
-
849
- <tr>
850
- <td colspan="3">
851
- <iframe src="" id="preview"></iframe>
852
- </td>
853
- </tr>
854
-
855
- </table>
837
+ </table>
838
+ </td>
839
+ </tr>
840
+ <tr class="misc_submit" style="display:none;" >
841
+ <td>
842
+ <h3>Submit:</h3>
843
+ </td>
844
+ <td>
845
+ <!--SUBMIT_WIDGET_LIST-->
846
+ </td>
847
+ <td>
848
+ &#160;
849
+ </td>
850
+ </tr>
851
+
852
+ <tr>
853
+ <td colspan="3">
854
+ <iframe src="" id="preview"></iframe>
855
+ </td>
856
+ </tr>
857
+
858
+ </table>
856
859
  </form>