page.sheet.application.access.php 1.4 KB

12345678910111213141516171819202122232425
  1. <?php
  2. User::check_access('host','read');
  3. require_once(__DIR__.SLASH.'ApplicationAccess.class.php');
  4. $applicationaccess = ApplicationAccess::provide();
  5. ?>
  6. <div class="plugin-host">
  7. <div id="application-access-form" class="row justify-content-md-center application-access-form" data-action="host_application_access_save" data-id="<?php echo $applicationaccess->id; ?>">
  8. <div class="col-md-6 shadow-sm bg-white p-3">
  9. <h3>Accès à l\'Application
  10. <div onclick="host_application_access_save();" class="btn btn-small btn-success right"><i class="fas fa-check"></i> Enregistrer</div>
  11. <a href="index.php?module=host&page=list.application.access" class="btn btn-small btn-dark right mr-2">Retour</a></h3>
  12. <label for="label">Libellé</label>
  13. <input value="<?php echo $applicationaccess->label; ?>" class="form-control" type="text" id="label" >
  14. <label for="login">Identifiant</label>
  15. <input value="<?php echo $applicationaccess->login; ?>" class="form-control" type="text" id="login" >
  16. <label for="password">Mot de passe</label>
  17. <input value="<?php echo $applicationaccess->password; ?>" class="form-control" type="text" data-type="password" autocomplete="new-password" id="password" >
  18. <label for="application">Application liée</label>
  19. <input value="<?php echo $applicationaccess->application; ?>" class="form-control" type="number" id="application" >
  20. <br/>
  21. </div>
  22. </div>
  23. </div>