| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <table class="table table-bordered">
- <tbody>
- <tr>
- <td scope="row">
- <h4>Refresh des données</h4>
- <div class="element-parametres">
- <a href="/submit.php?from=parametres-json-refresh" onclick="return confirm('Etes-vous certain de vouloir réinitialiser les JSON ?')"><button type="button" class="btn btn-warning">Réinitialisation des JSON</button></a>
- </div>
- </td>
- <?php if (session::getType() == 1 and (ENVIRONNEMENT == "DEV" OR ENVIRONNEMENT == "R7" OR ENVIRONNEMENT == "PREPROD")) { ?>
- <td>
- <h4>Outils de débug</h4>
- <div class="element-parametres">
- <a href="/submit.php?from=parametres-reset-datas" onclick="return confirm('Etes-vous certain de vouloir supprimer les données ?')"><button type="button" class="btn btn-danger">Nettoyer les données</button></a>
- </div>
- <div class="element-parametres">
- <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modalPHPInfo">Voir le PHP Infos</button>
- </div>
- <div class="modal fade" id="modalPHPInfo" tabindex="-1" role="dialog" aria-hidden="true">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h5 class="modal-title" id="exampleModalLabel">PHP Info</h5>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- </div>
- <div class="modal-body">
- <iframe width="970" height="800" src="/parametres-debug-info.vue"></iframe>
- </div>
- </div>
- </div>
- </div>
- </td>
- <?php } ?>
- </tr>
- </tbody>
- </table>
- <script>
- $(document).ready(function() {
- $('#modalPHPInfo').on('show.bs.modal', function() {
- $(this).find('.modal-body').css({
- width: 'auto', //probably not needed
- height: 'auto', //probably not needed
- 'max-height': '100%'
- });
- });
- });
- </script>
|