Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 368 Rev 369
Línea 432... Línea 432...
432
$this->inlineScript()->captureEnd();
432
$this->inlineScript()->captureEnd();
433
?>
433
?>
Línea 434... Línea 434...
434
 
434
 
435
<!-- Content Header (Page header) -->
435
<!-- Content Header (Page header) -->
436
<section class="content-header">
436
<section class="content-header">
437
    <div class="container-fluid">
437
   <div class="container-fluid">
438
        <div class="row mb-2">
438
      <div class="row mb-2">
439
            <div class="col-sm-12">
439
         <div class="col-sm-12">
440
                <h1>LABEL_REVIEWS</h1>
440
            <h1>LABEL_REVIEWS</h1>
441
            </div>
441
         </div>
442
        </div>
442
      </div>
443
    </div>
443
   </div>
444
    <!-- /.container-fluid -->
444
   <!-- /.container-fluid -->
445
</section>
445
</section>
446
<section class="content" style="padding: 13px;">
446
<section class="content" style="padding: 13px;">
447
    <div class="container-fluid" id="row-forms">
447
<div class="container-fluid" id="row-forms">
448
        <div class="row">
448
   <div class="row">
449
            <div class="col-12">
449
      <div class="col-12">
450
                <div class="card">
450
         <div class="card">
451
                    <div class="card-body">
451
            <div class="card-body">
452
                        <table id="gridTable" class="table   table-hover">
452
               <table id="gridTable" class="table   table-hover">
453
                            <thead>
453
                  <thead>
454
                                <tr>
454
                     <tr>
455
                                <th>LABEL_USER</th>
455
                        <th>LABEL_USER</th>
456
                                    <th>LABEL_NAME</th>
456
                        <th>LABEL_NAME</th>
457
                                    <th>LABEL_LANGUAGE</th>
457
                        <th>LABEL_LANGUAGE</th>
458
                                    <th>LABEL_STATUS</th>
458
                        <th>LABEL_STATUS</th>
459
                                    <th>LABEL_ACTIONS</th>
-
 
460
                                </tr>
-
 
461
                            </thead>
-
 
462
                            <tbody></tbody>
459
                        <th>LABEL_ACTIONS</th>
463
                        </table>
460
                     </tr>
464
                    </div>
-
 
465
                    <div class="card-footer clearfix">
-
 
466
                        <div style="float:right;">
-
 
467
                            <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
461
                  </thead>
468
                        </div>
-
 
469
                    </div>
462
                  <tbody></tbody>
470
                </div>
463
               </table>
-
 
464
            </div>
-
 
465
            <div class="card-footer clearfix">
-
 
466
               <div style="float:right;">
-
 
467
                  <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-refresh"></i> LABEL_REFRESH </button>
-
 
468
               </div>
471
            </div>
469
            </div>
-
 
470
         </div>
472
        </div>
471
      </div>
473
    </div>
472
   </div>
474
 
473
</div>
475
    <!-- Create/Edit Form -->
-
 
476
 
474
<!-- Create/Edit Form -->
477
    <div class="row" id="row-edit" style="display: none">
475
<div class="row" id="row-edit" style="display: none">
478
        <div class="col-xs-12 col-md-12">
476
   <div class="col-xs-12 col-md-12">
479
            <form action="#" name="form-main" id="form-main">
477
      <form action="#" name="form-main" id="form-main">
480
                <div class="form-group">
478
         <div class="form-group">
481
                <label for="form-status">LABEL_USER:</label>
479
            <label for="form-status">LABEL_USER:</label>
482
                <div id="user"></div>
480
            <div id="user"></div>
483
                </div>
481
         </div>
484
                <div class="form-group">
482
         <div class="form-group">
485
                <label for="form-status">LABEL_FORM:</label>
483
            <label for="form-status">LABEL_FORM:</label>
486
                <div id="name"></div>
484
            <div id="name"></div>
487
                </div>
485
         </div>
488
                <div class="form-group">
486
         <div class="form-group">
489
                <label for="form-status">LABEL_DESCRIPTION:</label>
487
            <label for="form-status">LABEL_DESCRIPTION:</label>
490
                <div id="text"></div>
488
            <div id="text"></div>
491
                </div>
489
         </div>
492
                <div class="form-group">
490
         <div class="form-group">
493
                    <label for="form-status">LABEL_STATUS:</label>
491
            <label for="form-status">LABEL_STATUS:</label>
494
                    <select name="form-status" id="form-status" class="form-control">
492
            <select name="form-status" id="form-status" class="form-control">
495
                        <option value="<?php echo $pending; ?>">LABEL_PENDING</option>
493
               <option value="<?php echo $pending; ?>">LABEL_PENDING</option>
496
                        <option value="<?php echo $review; ?>">LABEL_REVIEW</option>
494
               <option value="<?php echo $review; ?>">LABEL_REVIEW</option>
497
                        <option value="<?php echo $completed; ?>">LABEL_COMPLETED</option>
495
               <option value="<?php echo $completed; ?>">LABEL_COMPLETED</option>
498
                    </select>
496
            </select>
499
                </div>	
497
         </div>
500
                <div class="row">
498
         <div class="row">
501
                    <div class="col-xs-12 col-md-12">
499
            <div class="col-xs-12 col-md-12">
502
                        <div class="panel-group" id="rows"></div>
500
               <div class="panel-group" id="rows"></div>
503
                    </div>
501
            </div>
504
                </div>
502
         </div>
505
                <div class="form-group">
503
         <div class="form-group">
506
                    <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE</button>
504
            <button type="button" class="btn btn-primary btn-form-save-close">LABEL_SAVE</button>
507
                    <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
505
            <button type="button" class="btn btn-secondary btn-edit-cancel">LABEL_CANCEL</button>
508
                </div>
506
         </div>
509
            </form>
507
      </form>
510
        </div>
508
   </div>
511
    </div>
-
 
512
 
509
</div>
513
    <!-- Create/Edit Form-->
-
 
514
 
-
 
Línea 515... Línea 510...
515
   
510
<!-- Create/Edit Form-->
516
 
511
 
517
    <!---Template Sections --->
512
    <!---Template Sections --->
518
    <script id="sectionTemplate" type="text/x-jsrender">
513
    <script id="sectionTemplate" type="text/x-jsrender">
519
    <div class="panel panel-default" id="panel-{{:slug_section}}">
514
    <div class="panel panel-default" id="panel-{{:slug_section}}">
520
        <div class="panel-heading">
515
   <div class="panel-heading">
521
            <h4 class="panel-title">
516
      <h4 class="panel-title">
522
                <a class="accordion-toggle" data-toggle="collapse" aria-expanded="true" data-parent="#panel-{{:slug_section}}" href="#collapse-{{:slug_section}}">
517
         <a class="accordion-toggle" data-toggle="collapse" aria-expanded="true" data-parent="#panel-{{:slug_section}}" href="#collapse-{{:slug_section}}">
523
                    <span class="section-name{{:slug_section}}">
518
         <span class="section-name{{:slug_section}}">
524
                        {{:name}}
519
         {{:name}}
525
                    </span>
520
         </span>
526
                </a>
521
         </a>
527
            </h4>
522
      </h4>
528
        </div>
523
   </div>
529
        <div id="collapse-{{:slug_section}}" class="panel-collapse in collapse show">
524
   <div id="collapse-{{:slug_section}}" class="panel-collapse in collapse show">
530
            <div class="panel-body">
525
      <div class="panel-body">
531
                <div class="table-responsive">
526
         <div class="table-responsive">
532
                    <table class="table table-bordered">
527
            <table class="table table-bordered">
533
                        <thead>
528
               <thead>
534
                            <tr>
529
                  <tr>
535
                                <th style="width: 40%;">LABEL_QUESTION</th>
530
                     <th style="width: 40%;">LABEL_QUESTION</th>
536
                                <th style="width: 40%;">LABEL_ANSWER</th>
-
 
537
                                <th style="width: 20%;">LABEL_ACTIONS</th>
531
                     <th style="width: 40%;">LABEL_ANSWER</th>
538
 
532
                     <th style="width: 20%;">LABEL_ACTIONS</th>
539
                            </tr>
533
                  </tr>
540
                        </thead>
534
               </thead>
541
                        {{for questions}}
535
               {{for questions}}
542
                        <tbody>
536
               <tbody>
543
                            <tr class="tr-question">
537
                  <tr class="tr-question">
544
                                <td class="text-left">{{:~removeTags(text)}} </td>
538
                     <td class="text-left">{{:~removeTags(text)}} </td>
545
                                <td>{{:~getAnswer(type,options,answer)}}</td>
-
 
546
                                <td>
539
                     <td>{{:~getAnswer(type,options,answer)}}</td>
547
 
-
 
548
                                {{if type == 'simple'  || type=='multiple' }}
540
                     <td>
549
 
-
 
550
                                {{:~getStatus( options,answer)}}
541
                        {{if type == 'simple'  || type=='multiple' }}
551
 
-
 
-
 
542
                        {{:~getStatus( options,answer)}}
552
                                {{/else}}
543
                        {{else}}
-
 
544
                        {{if status}} 
-
 
545
                        <button class="btn btn-default btn-delete-question" >
-
 
546
                        LABEL_TO_CHECK LABEL_FAIL
553
 
547
                        </button> 
554
                                <button class="btn btn-default btn-delete-question" >
548
                        {{else}}
555
                                    <i class="fa fa-ban" aria-hidden="true"></i> 
549
                        <button class="btn btn-default btn-delete-question" >
556
                                    LABEL_DELETE LABEL_QUESTION
-
 
557
                                </button> 
550
                        LABEL_TO_CHECK LABEL_CORRECT
558
 
-
 
559
                                {{/if}}
-
 
560
 
-
 
561
                        
551
                        </button> 
562
 
552
                        {{/if}}
563
                                </td>
553
                        {{/if}}
564
                            </tr>
554
                     </td>
565
                        </tbody>
555
                  </tr>
566
                        {{/for}}
-
 
567
                    </table>
556
               </tbody>
568
                                            
557
               {{/for}}
569
                </div>
558
            </table>
570
            </div>
559
         </div>
-
 
560
      </div>
571
        </div>
561
   </div>
Línea 572... Línea 562...
572
    </div>
562
</div>
Línea 573... Línea 563...
573
    </script>
563
    </script>
574
 
564