Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 475 | Rev 477 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 475 Rev 476
Línea 521... Línea 521...
521
     */
521
     */
522
    $('#form-review #question-value').inputNumberFormat({
522
    $('#form-review #question-value').inputNumberFormat({
523
        'decimal': 2
523
        'decimal': 2
524
    });
524
    });
Línea 525... Línea -...
525
 
-
 
-
 
525
 
Línea 526... Línea -...
526
    $("#only_pending").change(function(e) {
-
 
527
 
-
 
528
        if( $('.only_pending').attr('checked') ) {
-
 
Línea -... Línea 526...
-
 
526
    
-
 
527
 
529
  console.log('seleccionado')
528
 
530
}
529
    $('#only_pending :checkbox').change(function () {
531
 
530
    alert('changed');
532
    });
531
  });
533
});
532
});
Línea 534... Línea 533...
534
JS;
533
JS;
535
$this->inlineScript()->captureEnd();
534
$this->inlineScript()->captureEnd();
536
?>
535
?>
537
 
536
 
538
<!-- Content Header (Page header) -->
537
<!-- Content Header (Page header) -->
539
<section class="content-header">
538
<section class="content-header">
540
    <div class="container-fluid">
539
   <div class="container-fluid">
541
        <div class="row mb-2">
540
      <div class="row mb-2">
542
            <div class="col-sm-12">
541
         <div class="col-sm-12">
543
                <h1>LABEL_REVIEWS</h1>
542
            <h1>LABEL_REVIEWS</h1>
544
            </div>
543
         </div>
545
        </div>
544
      </div>
546
    </div>
545
   </div>
547
    <!-- /.container-fluid -->
546
   <!-- /.container-fluid -->
548
</section>
547
</section>
549
<section class="content" style="padding: 13px;">
548
<section class="content" style="padding: 13px;">
550
    <div class="container-fluid" id="row-forms">
549
<div class="container-fluid" id="row-forms">
551
        <div class="row">
550
   <div class="row">
552
            <div class="col-12">
551
      <div class="col-12">
553
                <div class="card">
552
         <div class="card">
554
                    <div class="card-body">
553
            <div class="card-body">
555
                        <table id="gridTable" class="table   table-hover">
554
               <table id="gridTable" class="table   table-hover">
556
                            <thead>
555
                  <thead>
557
                                <tr>
556
                     <tr>
558
                                    <th style="width: 16.6%;">LABEL_USER</th>
557
                        <th style="width: 16.6%;">LABEL_USER</th>
559
                                    <th style="width: 16.6%;">LABEL_NAME</th>
558
                        <th style="width: 16.6%;">LABEL_NAME</th>
560
                                    <th style="width: 16.6%;">LABEL_LANGUAGE</th>
559
                        <th style="width: 16.6%;">LABEL_LANGUAGE</th>
561
                                    <th style="width: 16.6%;">LABEL_STATUS</th>
560
                        <th style="width: 16.6%;">LABEL_STATUS</th>
562
                                    <th style="width: 16.6%;">LABEL_REGISTER</th>
561
                        <th style="width: 16.6%;">LABEL_REGISTER</th>
563
                                    <th style="width: 16.6%;">LABEL_ACTIONS</th>
562
                        <th style="width: 16.6%;">LABEL_ACTIONS</th>
564
                                </tr>
563
                     </tr>
565
                            </thead>
564
                  </thead>
566
                            <tbody></tbody>
565
                  <tbody></tbody>
567
                        </table>
566
               </table>
568
                    </div>
567
            </div>
569
                    <div class="card-footer clearfix">
568
            <div class="card-footer clearfix">
570
                        <div class="row">
569
               <div class="row">
571
                            <div class="col-md-6 col-sm-6 col-xs-12">
570
                  <div class="col-md-6 col-sm-6 col-xs-12">
572
                            <div class="form-check">
571
                     <div class="form-check">
573
  <input class="form-check-input" type="checkbox" id="only_pending" name="only_pending" value="1">
572
                        <input class="form-check-input" type="checkbox" id="only_pending" name="only_pending" value="1">
574
  <label class="form-check-label">{LABEL_ONLY_PENDING}</label>
573
                        <label class="form-check-label">LABEL_ONLY_PENDING</label>
575
</div>
-
 
576
</div>
574
                     </div>
577
<div class="col-md-6 col-sm-6 col-xs-12">
575
                  </div>
-
 
576
                  <div class="col-md-6 col-sm-6 col-xs-12">
-
 
577
                     <div style="float:right;">
-
 
578
                        <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
579
                     </div>
-
 
580
                  </div>
-
 
581
               </div>
578
<div style="float:right;">
582
            </div>
579
                        
-
 
580
                        <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
581
                    </div>
-
 
582
</div>
-
 
583
                        </div>
-
 
584
                       
-
 
585
                    </div>
-
 
586
                </div>
583
         </div>
587
            </div>
584
      </div>
588
        </div>
585
   </div>
589
    </div>
586
</div>
590
    <!-- Create/Edit Form -->
587
<!-- Create/Edit Form -->
591
    <div class="row" id="row-edit" style="display: none">
588
<div class="row" id="row-edit" style="display: none">
592
        <div class="col-xs-12 col-md-12">
589
   <div class="col-xs-12 col-md-12">
593
            <form action="#" name="form-main" id="form-main">
590
      <form action="#" name="form-main" id="form-main">
594
                <div class="form-group">
591
         <div class="form-group">
595
                    <label for="form-status">LABEL_USER:</label>
592
            <label for="form-status">LABEL_USER:</label>
596
                    <div id="user"></div>
593
            <div id="user"></div>
597
                </div>
594
         </div>
598
                <div class="form-group">
595
         <div class="form-group">
599
                    <label for="form-status">LABEL_FORM:</label>
596
            <label for="form-status">LABEL_FORM:</label>
600
                    <div id="name"></div>
597
            <div id="name"></div>
601
                </div>
598
         </div>
602
                <div class="form-group">
599
         <div class="form-group">
603
                    <label for="form-status">LABEL_DESCRIPTION:</label>
600
            <label for="form-status">LABEL_DESCRIPTION:</label>
604
                    <div id="text"></div>
601
            <div id="text"></div>
605
                </div>
602
         </div>
606
                <div class="row">
603
         <div class="row">
607
                    <div class="col-xs-12 col-md-12">
604
            <div class="col-xs-12 col-md-12">
608
                        <div class="panel-group" id="rows"></div>
605
               <div class="panel-group" id="rows"></div>
609
                    </div>
606
            </div>
610
                </div>
607
         </div>
611
                <div class="form-group">
608
         <div class="form-group">
612
                    <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE</button>
609
            <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE</button>
613
                    <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
610
            <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
614
                </div>
611
         </div>
615
            </form>
-
 
616
        </div>
-
 
617
    </div>
612
      </form>
618
    <!-- Create/Edit Form-->
613
   </div>
619
 
614
</div>
620
 
615
<!-- Create/Edit Form-->
621
    <div  id="modal-review" class="modal" tabindex="-1" role="dialog">
616
<div  id="modal-review" class="modal" tabindex="-1" role="dialog">
622
        <div class="modal-dialog modal-lg" role="document">
617
   <div class="modal-dialog modal-lg" role="document">
623
            <form action="#" name="form-option" id="form-review">
618
      <form action="#" name="form-option" id="form-review">
624
                <input type="hidden" name="section" id="section" value="" />
619
         <input type="hidden" name="section" id="section" value="" />
625
                <input type="hidden" name="question" id="question" value="" />
620
         <input type="hidden" name="question" id="question" value="" />
626
                <div class="modal-content">
621
         <div class="modal-content">
627
                    <div class="modal-header">
622
            <div class="modal-header">
628
                        <h4 class="modal-title">LABEL_RESPONSE_REVIEW</h4>
623
               <h4 class="modal-title">LABEL_RESPONSE_REVIEW</h4>
629
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
624
               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
630
                            <span aria-hidden="true">&times;</span>
625
               <span aria-hidden="true">&times;</span>
631
                        </button>
626
               </button>
632
                    </div>
627
            </div>
633
                    <div class="modal-body">
628
            <div class="modal-body">
634
                        <div class="form-group">
629
               <div class="form-group">
635
                            <label for="option-text">LABEL_COMMENT</label>
630
                  <label for="option-text">LABEL_COMMENT</label>
636
                            <!--  ckeditor -->
631
                  <!--  ckeditor -->
637
                            <textarea  name="question-comment" id="question-comment" rows="5" class="form-control" placeholder="LABEL_ENTER_COMMENT"></textarea>
632
                  <textarea  name="question-comment" id="question-comment" rows="5" class="form-control" placeholder="LABEL_ENTER_COMMENT"></textarea>
638
                        </div>
633
               </div>
639
                        <div class="form-group">
634
               <div class="form-group">
640
                            <label for="question-status">LABEL_ANSWER_CORRECT</label>
635
                  <label for="question-status">LABEL_ANSWER_CORRECT</label>
641
                            <select name="question-status" id="question-status" class="form-control">
636
                  <select name="question-status" id="question-status" class="form-control">
642
                                <option value="1">LABEL_YES</option>
-
 
643
                                <option value="0">LABEL_NOT</option>
-
 
644
                            </select>
637
                     <option value="1">LABEL_YES</option>
645
                        </div>
638
                     <option value="0">LABEL_NOT</option>
646
    
639
                  </select>
647
               
640
               </div>
-
 
641
               <div class="form-group">
-
 
642
                  <label for="question-value">LABEL_VALUE</label>
-
 
643
                  <input type="text" name="question-value" id="question-value"  class="form-control" />
-
 
644
               </div>
-
 
645
            </div>
-
 
646
            <div class="modal-footer">
-
 
647
               <button type="button" class="btn btn-primary btn-add-review">LABEL_SAVE</button>
-
 
648
               <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
648
                    <div class="form-group">
649
            </div>
649
                            <label for="question-value">LABEL_VALUE</label>
-
 
650
                            <input type="text" name="question-value" id="question-value"  class="form-control" />
-
 
651
                        </div>
-
 
652
</div>
-
 
653
                    
-
 
654
                    <div class="modal-footer">
-
 
655
                        <button type="button" class="btn btn-primary btn-add-review">LABEL_SAVE</button>
-
 
656
                        <button type="button" class="btn btn-secondary" data-dismiss="modal">LABEL_CLOSE</button>
-
 
657
                    </div>
-
 
Línea 658... Línea 650...
658
                </div>
650
         </div>
659
            </form>
651
      </form>
660
        </div>
652
   </div>
661
    </div>
653
</div>