Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 197 Rev 198
Línea 54... Línea 54...
54
$this->inlineScript()->appendFile($this->basePath('plugins/bootbox/bootbox.min.js'));
54
$this->inlineScript()->appendFile($this->basePath('plugins/bootbox/bootbox.min.js'));
Línea 55... Línea 55...
55
 
55
 
56
// JsRender //
56
// JsRender //
Línea -... Línea 57...
-
 
57
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
-
 
58
 
-
 
59
// Page Styles
57
$this->inlineScript()->appendFile($this->basePath('plugins/jsrender/jsrender.min.js'));
60
$this->headLink()->appendStylesheet($this->basePath('css/pages/self-evaluation.css'));
58
 
61
 
Línea 59... Línea 62...
59
$status_active = \LeadersLinked\Model\CompanySelfEvaluationForm::STATUS_ACTIVE;
62
$status_active = \LeadersLinked\Model\CompanySelfEvaluationForm::STATUS_ACTIVE;
60
$status_inactive = \LeadersLinked\Model\CompanySelfEvaluationForm::STATUS_INACTIVE;
63
$status_inactive = \LeadersLinked\Model\CompanySelfEvaluationForm::STATUS_INACTIVE;
Línea 768... Línea 771...
768
                            } else {
771
                            } else {
769
                                $('#row-edit').hide();
772
                                $('#row-edit').hide();
770
                                $('#row-forms').show();
773
                                $('#row-forms').show();
771
                            }
774
                            }
772
                            tableForm.fnDraw();
775
                            tableForm.fnDraw();
-
 
776
 
-
 
777
                            /*---------- Reset Form -------- */
-
 
778
                            $('#form-main')[0].reset();
-
 
779
                            clearSectionData();
-
 
780
 
773
                        } else {
781
                        } else {
774
                            $.fn.showError(response['message'] || 'ERROR_UNKNOWN');
782
                            $.fn.showError(response['message'] || 'ERROR_UNKNOWN');
775
                        }
783
                        }
776
                    }).fail(function(jqXHR, textStatus, errorThrown) {
784
                    }).fail(function(jqXHR, textStatus, errorThrown) {
777
                        $.fn.showError(textStatus);
785
                        $.fn.showError(textStatus);
Línea 1372... Línea 1380...
1372
});
1380
});
1373
JS;
1381
JS;
1374
$this->inlineScript()->captureEnd();
1382
$this->inlineScript()->captureEnd();
1375
?>
1383
?>
Línea 1376... Línea -...
1376
 
-
 
1377
<style type="text/css">
-
 
1378
    tbody input[type="checkbox"]{
-
 
1379
        margin-left: 14px;
-
 
1380
    }
-
 
1381
    .panel-heading .accordion-toggle:after {
-
 
1382
        /* symbol for "opening" panels */
-
 
1383
        display: inline-block;
-
 
1384
        font: normal normal normal 14px/1 FontAwesome;
-
 
1385
        font-size: inherit;
-
 
1386
        content: "\f077" ;
-
 
1387
        float: right;        /* adjust as needed */
-
 
1388
        color: grey;         /* adjust as needed */
-
 
1389
        text-rendering: auto;
-
 
1390
        -webkit-font-smoothing: antialiased;
-
 
1391
    }
-
 
1392
    .panel-heading .accordion-toggle.collapsed:after {
-
 
1393
        /* symbol for "collapsed" panels */
-
 
1394
        content: "\f078";    /* adjust as needed, taken from bootstrap.css */
-
 
1395
    }
-
 
1396
</style>
1384
 
1397
<!-- Content Header (Page header) -->
1385
<!-- Content Header (Page header) -->
1398
<section class="content-header">
1386
<section class="content-header">
1399
    <div class="container-fluid">
1387
    <div class="container-fluid">
1400
        <div class="row mb-2">
1388
        <div class="row mb-2">