setting.firmPlugin.php 1006 B

123456789101112131415161718192021222324252627282930313233
  1. <br>
  2. <h3>Établissement / Plugins</h3>
  3. <hr/>
  4. <div class="row">
  5. <div class="col-md-12 firm-plugin-header">
  6. <label>Établissement concerné :</label>
  7. <select onchange="search_firm_plugin();" class="form-control" id="firm">
  8. <option value="0">Tous</option>
  9. <?php foreach (Firm::loadAll() as $firm) : ?>
  10. <option value="<?php echo $firm->id; ?>"><?php echo $firm->label; ?></option>
  11. <?php endforeach; ?>
  12. </select>
  13. </div>
  14. </div>
  15. <br/>
  16. <table class="table table-striped table-bordered table-hover" id="firmplugins" data->
  17. <thead>
  18. <tr>
  19. <th>Plugin</th>
  20. <th>Description</th>
  21. <th class="text-center">Activé</th>
  22. </tr>
  23. </thead>
  24. <tbody>
  25. <tr class="hidden" data-id="{{id}}">
  26. <td>{{name}}</td>
  27. <td>{{description}}</td>
  28. <td class="text-center">
  29. <input value="1" data-result={{state}} onchange="toggle_firm_plugin(this)" type="checkbox" autocomplete="off" name="plugin-{{id}}" id="plugin-{{id}}" data-type="checkbox">
  30. </td>
  31. </tr>
  32. </tbody>
  33. </table>