page.sheet.php 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. try{
  3. global $myUser,$conf;
  4. $users = User::getAll(array('right' => false, 'force' => true));
  5. ?>
  6. <div class="col-md-12">
  7. <h3>Organigramme</h3>
  8. <hr/>
  9. <p>Société de <span id="chart-container-number" class="font-weight-bold">0</span> employés</p>
  10. <div id="chart-container"><span id="chart-preloader" class="text-info"><i class="fas fa-spinner fa-pulse m-0"></i> Chargement...</span></div>
  11. <div class="organizational-detail-panel">
  12. <div class="organizational-detail"></div>
  13. <div class="organizational-detail-template">
  14. <img src="{{avatar}}" class="avatar-large avatar-rounded">
  15. <h1>{{name}}</h1>
  16. {{#sst}}<p class="sst text-muted text-center"><i class="fas fa-plus-circle icon-sst" ></i>Titulaire SST : Sauveteur Secouriste du Travail</p>{{/sst}}
  17. {{#title}}<h2>{{title}}</h2>{{/title}}
  18. {{#service}}<h3>{{service}}</h3>{{/service}}
  19. {{#manager}} <small class="text-muted d-block my-2 center">Manager <span class="font-weight-bold">{{manager}}</span></small>{{/manager}}
  20. {{#mobile}}<a href="tel:{{mobile}}"><i class="fas fa-mobile-alt"></i> {{mobile}}</a>{{/mobile}}
  21. {{#mail}}<a href="mailto:{{mail}}"><i class="far fa-envelope-open"></i> {{mail}}</a>{{/mail}}
  22. </div>
  23. </div>
  24. </div>
  25. <?php
  26. }catch(Exception $e){
  27. echo $e->getMessage();
  28. }