Fixes config edit page

main
Yasen Pramatarov 2024-10-30 13:52:18 +02:00
parent 74e9285804
commit 67380b1b3d
2 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,8 @@
<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">editing the Jilo Server configuration file <p class="card-text">editing the Jilo Server configuration file
<span class="text-danger">this may break everything, use with extreme caution</span> <br />
<span class="text-danger"><strong>this may break everything, use with extreme caution</strong></span>
</p> </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">

View File

@ -9,9 +9,10 @@ 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>
<br />
<a class="btn btn-danger" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file&action=edit" />Edit</a>
<!-- /widget "config" --> <!-- /widget "config" -->