556 |
geraldo |
1 |
<?php
|
|
|
2 |
$this->headLink()->appendStylesheet('/react-bundles/dashboard/main.css');
|
|
|
3 |
$currentUser = $this->currentUserHelper();
|
|
|
4 |
$currentUser = $currentUser->getUser();
|
|
|
5 |
|
|
|
6 |
|
4283 |
efrain |
7 |
$draft=\LeadersLinked\Model\PerformanceEvaluationTest::STATUS_DRAFT;
|
|
|
8 |
$pending=\LeadersLinked\Model\PerformanceEvaluationTest::STATUS_PENDING;
|
|
|
9 |
$completed=\LeadersLinked\Model\PerformanceEvaluationTest::STATUS_COMPLETED;
|
556 |
geraldo |
10 |
|
|
|
11 |
$routeMoodle = $this->url('moodle');
|
|
|
12 |
$js = <<<JS
|
|
|
13 |
const backendVars={
|
561 |
geraldo |
14 |
LBL_PERFORMANCE_EVALUATION: "LABEL_PERFORMANCE_EVALUATION",
|
556 |
geraldo |
15 |
LBL_DATATABLE_SZERORECORDS: "LABEL_DATATABLE_SZERORECORDS",
|
|
|
16 |
LBL_DATATABLE_SSEARCH: "LABEL_DATATABLE_SSEARCH",
|
|
|
17 |
LBL_REPORT: "LABEL_REPORT",
|
|
|
18 |
LBL_TAKE_A_TEST: "LABEL_TAKE_A_TEST",
|
|
|
19 |
LBL_CONTINUE_A_TEST: "LABEL_CONTINUE_A_TEST",
|
|
|
20 |
LBL_LANGUAGE: "LABEL_LANGUAGE",
|
|
|
21 |
LBL_STATUS: "LABEL_STATUS",
|
561 |
geraldo |
22 |
LBL_SAVE: "LABEL_SAVE LABEL_PERFORMANCE_EVALUATION",
|
|
|
23 |
LBL_CANCEL: "LABEL_CANCEL LABEL_PERFORMANCE_EVALUATION",
|
556 |
geraldo |
24 |
LBL_QUESTION: "LABEL_QUESTION",
|
561 |
geraldo |
25 |
LBL_EVALUATION_TEST_FORM_NEXT: "LABEL_EVALUATION_TEST_FORM_NEXT",
|
|
|
26 |
LBL_EVALUATION_TEST_FORM_PREVIOUS: "LABEL_EVALUATION_TEST_FORM_PREVIOUS",
|
556 |
geraldo |
27 |
LBL_EMPTY_ANSWER: "ERROR_EMPTY_ANSWER",
|
561 |
geraldo |
28 |
LBL_SUCCESS_EVALUATION: "LABEL_SUCCESS_EVALUATION",
|
556 |
geraldo |
29 |
LBL_GO_BACK:"LABEL_GO_BACK",
|
561 |
geraldo |
30 |
LBL_TITLE_COMFIRM_EVALUATION: "LABEL_TITLE_COMFIRM_EVALUATION",
|
|
|
31 |
LBL_TEXT_COMFIRM_EVALUATION: "LABEL_TEXT_COMFIRM_EVALUATION",
|
|
|
32 |
LBL_BTN_COMFIRM_EVALUATION: "LABEL_BTN_COMFIRM_EVALUATION",
|
556 |
geraldo |
33 |
LBL_TEXT_SAVE_CONTINUE_FORM: "LABEL_TEXT_SAVE_CONTINUE_FORM",
|
3262 |
efrain |
34 |
LBL_ERROR_ANSWER_FORM: "ERROR_ANSWER_FORM",
|
|
|
35 |
LBL_ERROR_FIELDS_EMPTY: "ERROR_FIELDS_EMPTY",
|
556 |
geraldo |
36 |
STATUS_DRAFT: "$draft",
|
|
|
37 |
STATUS_PENDING: "$pending",
|
|
|
38 |
STATUS_COMPLETED: "$completed"
|
|
|
39 |
}
|
|
|
40 |
|
|
|
41 |
JS;
|
|
|
42 |
$this->inlineScript()->appendScript($js);
|
590 |
geraldo |
43 |
$this->inlineScript()->appendFile('/react-bundles/performance-evaluation/performanceEvaluationBundle.js');
|
556 |
geraldo |
44 |
?>
|
|
|
45 |
|
561 |
geraldo |
46 |
<div id="react-performance-evaluation" class="posts-section">
|
556 |
geraldo |
47 |
<div class="process-comm" id="paginator-process-comm">
|
|
|
48 |
<div class="spinner">
|
|
|
49 |
<div class="bounce1"></div>
|
|
|
50 |
<div class="bounce2"></div>
|
|
|
51 |
<div class="bounce3"></div>
|
|
|
52 |
</div>
|
|
|
53 |
</div>
|
|
|
54 |
</div>
|