282 |
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\SelfEvaluationTest::STATUS_DRAFT;
|
|
|
8 |
$pending = \LeadersLinked\Model\SelfEvaluationTest::STATUS_PENDING;
|
|
|
9 |
$completed = \LeadersLinked\Model\SelfEvaluationTest::STATUS_COMPLETED;
|
472 |
geraldo |
10 |
|
282 |
geraldo |
11 |
$routeMoodle = $this->url('moodle');
|
|
|
12 |
$js = <<<JS
|
|
|
13 |
const backendVars={
|
283 |
geraldo |
14 |
LBL_SELF_EVALUATION: "LABEL_SELF_EVALUATION",
|
|
|
15 |
LBL_DATATABLE_SZERORECORDS: "LABEL_DATATABLE_SZERORECORDS",
|
|
|
16 |
LBL_DATATABLE_SSEARCH: "LABEL_DATATABLE_SSEARCH",
|
|
|
17 |
LBL_REPORT: "LABEL_REPORT",
|
297 |
geraldo |
18 |
LBL_TAKE_A_TEST: "LABEL_TAKE_A_TEST",
|
437 |
geraldo |
19 |
LBL_CONTINUE_A_TEST: "LABEL_CONTINUE_A_TEST",
|
307 |
geraldo |
20 |
LBL_LANGUAGE: "LABEL_LANGUAGE",
|
357 |
geraldo |
21 |
LBL_STATUS: "LABEL_STATUS",
|
360 |
geraldo |
22 |
LBL_SAVE: "LABEL_SAVE LABEL_SELF_EVALUATION",
|
|
|
23 |
LBL_CANCEL: "LABEL_CANCEL LABEL_SELF_EVALUATION",
|
357 |
geraldo |
24 |
LBL_QUESTION: "LABEL_QUESTION",
|
592 |
geraldo |
25 |
LBL_EVALUATION_TEST_FORM_NEXT: "LABEL_EVALUATION_TEST_FORM_NEXT",
|
561 |
geraldo |
26 |
LBL_EVALUATION_TEST_FORM_PREVIOUS: "LABEL_EVALUATION_TEST_FORM_PREVIOUS",
|
365 |
geraldo |
27 |
LBL_EMPTY_ANSWER: "ERROR_EMPTY_ANSWER",
|
561 |
geraldo |
28 |
LBL_SUCCESS_EVALUATION: "LABEL_SUCCESS_EVALUATION",
|
385 |
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",
|
471 |
geraldo |
33 |
LBL_TEXT_SAVE_CONTINUE_FORM: "LABEL_TEXT_SAVE_CONTINUE_FORM",
|
3262 |
efrain |
34 |
LBL_ERROR_ANSWER_FORM: "ERROR_ANSWER_FORM",
|
482 |
geraldo |
35 |
STATUS_DRAFT: "$draft",
|
|
|
36 |
STATUS_PENDING: "$pending",
|
|
|
37 |
STATUS_COMPLETED: "$completed"
|
282 |
geraldo |
38 |
}
|
|
|
39 |
|
|
|
40 |
JS;
|
4268 |
efrain |
41 |
|
|
|
42 |
$currentUser->theme
|
|
|
43 |
|
282 |
geraldo |
44 |
$this->inlineScript()->appendScript($js);
|
3217 |
stevensc |
45 |
$this->headLink()->appendStylesheet('/react-bundles/self-evaluation/main.css');
|
282 |
geraldo |
46 |
$this->inlineScript()->appendFile('/react-bundles/self-evaluation/selfEvaluationBundle.js');
|
|
|
47 |
?>
|
|
|
48 |
|
|
|
49 |
<div id="react-self-evaluation" class="posts-section">
|
471 |
geraldo |
50 |
<div class="process-comm" id="paginator-process-comm">
|
|
|
51 |
<div class="spinner">
|
|
|
52 |
<div class="bounce1"></div>
|
|
|
53 |
<div class="bounce2"></div>
|
|
|
54 |
<div class="bounce3"></div>
|
|
|
55 |
</div>
|
282 |
geraldo |
56 |
</div>
|
|
|
57 |
</div>
|