Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev Autor Línea Nro. Línea
3262 efrain 1
<?php
2
$this->headLink()->appendStylesheet('/react-bundles/dashboard/main.css');
3
$currentUser = $this->currentUserHelper();
4
$currentUser = $currentUser->getUser();
5
 
6
$js = <<<JS
7
const backendVars={
8
  labelSend: "LABEL_SEND",
9
  labelUsers: "LABEL_USERS",
10
  labelWriteMessage: "LABEL_WRITE_YOUR_MESSAGE_HERE",
11
  image: "$image",
12
  fullName: `$fullname`,
13
  description: `$description`,
14
  country: "$country",
15
  visits: "$visits",
16
  connections: "$connections"
17
}
18
 
19
JS;
3576 stevensc 20
 
3262 efrain 21
$this->inlineScript()->appendScript($js);
3576 stevensc 22
$this->headLink()->appendStylesheet('/look-and-field/dashboard.css');
3262 efrain 23
$this->inlineScript()->appendFile('/react-bundles/dashboard/notificationsBundle.js');
24
?>
25
 
26
<div id="react-notifications-page" class="posts-section">
27
  <div class="process-comm" id="paginator-process-comm">
28
    <div class="spinner">
29
      <div class="bounce1"></div>
30
      <div class="bounce2"></div>
31
      <div class="bounce3"></div>
32
    </div>
33
  </div>
34
</div>