Fixes edit config file pages

main
Yasen Pramatarov 2024-10-29 13:48:23 +02:00
parent a953dd386d
commit 74e9285804
2 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,9 @@
<div class="card text-center w-75 mx-lef"> <div class="card text-center w-75 mx-lef">
<p class="h4 card-header">Jilo configuration file</p> <p class="h4 card-header">Jilo configuration file</p>
<div class="card-body"> <div class="card-body">
<p class="card-text">edit the Jilo Server configuration file:</p> <p class="card-text">editing the Jilo Server configuration file
<span class="text-danger">this may break everything, use with extreme caution</span>
</p>
<form method="POST" action="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=config_file"> <form method="POST" action="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=config_file">
<?php <?php

View File

@ -9,6 +9,8 @@ include '../app/helpers/render.php';
renderConfig($config, '0'); renderConfig($config, '0');
echo "\n"; echo "\n";
?> ?>
<br />
<a class="btn btn-secondary" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file&action=edit" />Edit</a>
</div> </div>
</div> </div>