Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev Autor Línea Nro. Línea
1 www 1
<?php
2
$this->headLink()->appendStylesheet('/react-bundles/dashboard/main.css');
3
$currentUser = $this->currentUserHelper();
4
$currentUser = $currentUser->getUser();
5
 
6
$routeMoodle = $this->url('moodle');
7
$js = <<<JS
5183 stevensc 8
const LABELS = {
5182 stevensc 9
  ENROLL: 'LABEL_ENROLL',
10
  STATUS: 'LABEL_STATUS',
11
  CAPSULES_MICROLEARNING: 'LABEL_CAPSULES_MICROLEARNING',
12
  MARKETPLACE: "LABEL_MARKETPLACE",
13
  CAPSULES: "LABEL_CAPSULES",
14
  ENROLL: "LABEL_ENROLL",
5184 stevensc 15
  SEARCH: "LABEL_SEARCH",
5182 stevensc 16
  STATUS: "LABEL_STATUS"
1 www 17
}
5183 stevensc 18
JS;
1 www 19
 
20
$this->inlineScript()->appendScript($js);
21
$this->inlineScript()->appendFile('/react-bundles/marketplace/marketplaceBundle.js');
22
?>
23
 
24
<div id="react-marketplace" class="posts-section">
25
  <div class="process-comm" id="paginator-process-comm">
26
    <div class="spinner">
27
      <div class="bounce1"></div>
28
      <div class="bounce2"></div>
29
      <div class="bounce3"></div>
30
    </div>
31
  </div>
32
</div>