Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3217 | Rev 4268 | Ir a la última revisión | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
282 geraldo 1
<?php
2
$this->headLink()->appendStylesheet('/react-bundles/dashboard/main.css');
3
$currentUser = $this->currentUserHelper();
4
$currentUser = $currentUser->getUser();
5
 
6
 
3217 stevensc 7
$draft = \LeadersLinked\Model\CompanySelfEvaluationTest::STATUS_DRAFT;
8
$pending = \LeadersLinked\Model\CompanySelfEvaluationTest::STATUS_PENDING;
9
$completed = \LeadersLinked\Model\CompanySelfEvaluationTest::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;
41
$this->inlineScript()->appendScript($js);
3217 stevensc 42
$this->headLink()->appendStylesheet('/react-bundles/self-evaluation/main.css');
282 geraldo 43
$this->inlineScript()->appendFile('/react-bundles/self-evaluation/selfEvaluationBundle.js');
44
?>
45
 
46
<div id="react-self-evaluation" class="posts-section">
471 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>
282 geraldo 53
    </div>
54
</div>