Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 398 Rev 399
Línea 542... Línea 542...
542
      <div class="panel-body">
542
      <div class="panel-body">
543
         <div class="table-responsive">
543
         <div class="table-responsive">
544
            <table class="table table-bordered">
544
            <table class="table table-bordered">
545
               <thead>
545
               <thead>
546
                  <tr>
546
                  <tr>
547
                     <th style="width: 40%;">LABEL_QUESTION</th>
547
                     <th style="width: 30%;">LABEL_QUESTION</th>
548
                     <th style="width: 35%;">LABEL_ANSWER</th>
548
                     <th style="width: 35%;">LABEL_ANSWER</th>
-
 
549
                     <th style="width: 10%;">LABEL_STATUS</th>
549
                     <th style="width: 25%;">LABEL_ACTIONS</th>
550
                     <th style="width: 25%;">LABEL_ACTIONS</th>
550
                  </tr>
551
                  </tr>
551
               </thead>
552
               </thead>
552
               {{for questions}}
553
               {{for questions}}
553
               <tbody>
554
               <tbody>
Línea 556... Línea 557...
556
                     <td>{{:~getAnswer(type,options,answer)}}</td>
557
                     <td>{{:~getAnswer(type,options,answer)}}</td>
557
                     <td>
558
                     <td>
558
                        {{if type == 'simple'  || type=='multiple' }}
559
                        {{if type == 'simple'  || type=='multiple' }}
559
                        {{:~getStatus( options,answer)}}
560
                        {{:~getStatus( options,answer)}}
560
                        {{else}}
561
                        {{else}}
-
 
562
 
-
 
563
                        {{if status}}
-
 
564
                                    <font color="green">LABEL_CORRECT</font>
-
 
565
                                    {{else}}
-
 
566
                                    <font color="red">LABEL_FAIL</font>
-
 
567
                                    {{/if}}
-
 
568
 
-
 
569
 
-
 
570
                        {{/if}}
-
 
571
                        
-
 
572
                     </td>
-
 
573
                     <td>
-
 
574
                        {{if type != 'simple'  && type !='multiple' }}
-
 
575
                       
561
                        {{if status}} 
576
                        {{if status}} 
562
                        <button class="btn btn-danger btn-remove-status"  data-section="{{:slug_section}}" data-question="{{:slug_question}}">
577
                        <button class="btn btn-danger btn-remove-status"  data-section="{{:slug_section}}" data-question="{{:slug_question}}">
563
                        <i class="fa fa-times" aria-hidden="true"></i> LABEL_TO_CHECK LABEL_FAIL
578
                        <i class="fa fa-times" aria-hidden="true"></i> LABEL_TO_CHECK LABEL_FAIL
564
                        </button> 
579
                        </button> 
565
                        {{else}}
580
                        {{else}}
566
                        <button class="btn btn-success btn-add-status" data-section="{{:slug_section}}" data-question="{{:slug_question}}" >
581
                        <button class="btn btn-success btn-add-status" data-section="{{:slug_section}}" data-question="{{:slug_question}}" >
567
                        <i class="fa fa-check" aria-hidden="true"></i> LABEL_TO_CHECK LABEL_CORRECT
582
                        <i class="fa fa-check" aria-hidden="true"></i> LABEL_TO_CHECK LABEL_CORRECT
568
                        </button> 
583
                        </button> 
569
                        {{/if}}
584
                        {{/if}}
-
 
585
 
570
                        {{/if}}
586
                        {{/if}}
571
                     </td>
587
                     </td>
572
                  </tr>
588
                  </tr>
573
               </tbody>
589
               </tbody>
574
               {{/for}}
590
               {{/for}}