edit_server_pgsql.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!-- Begin toolbar -->
  2. <div class="toolbar">
  3. <div class="toolbar-inner">
  4. <div class="toolbar-buttons">
  5. <a class="button button-secondary button-back js-button-back" href="/list/server/">
  6. <i class="fas fa-arrow-left icon-blue"></i><?= _("Back") ?>
  7. </a>
  8. </div>
  9. <div class="toolbar-buttons">
  10. <button type="submit" class="button" form="main-form">
  11. <i class="fas fa-floppy-disk icon-purple"></i><?= _("Save") ?>
  12. </button>
  13. </div>
  14. </div>
  15. </div>
  16. <!-- End toolbar -->
  17. <div class="container animate__animated animate__fadeIn">
  18. <form id="main-form" name="v_configure_server" method="post">
  19. <input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
  20. <input type="hidden" name="save" value="save">
  21. <div class="form-container">
  22. <h1 class="u-mb20"><?= _("Configure Server") ?>: <?= $v_service_name ?></h1>
  23. <?php show_alert_message($_SESSION); ?>
  24. <div class="u-mb20">
  25. <label for="v_options" class="form-label"><?= $v_options_path ?></label>
  26. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_options" id="v_options"><?= $v_options ?></textarea>
  27. </div>
  28. <div class="u-mb20">
  29. <label for="v_config" class="form-label"><?= $v_config_path ?></label>
  30. <textarea class="form-control u-min-height300 u-allow-resize u-console" name="v_config" id="v_config"><?= $v_config ?></textarea>
  31. </div>
  32. <div class="form-check">
  33. <input class="form-check-input" type="checkbox" name="v_restart" id="v_restart" checked>
  34. <label for="v_restart">
  35. <?= _("Restart") ?>
  36. </label>
  37. </div>
  38. </div>
  39. </form>
  40. </div>