little fixes

This commit is contained in:
Adrien MALINGREY 2025-05-20 14:56:27 +02:00
parent 8c4ae9626f
commit abc3d30473

View File

@ -14,7 +14,7 @@ if (
$conf = file_get_contents($path); $conf = file_get_contents($path);
if ($conf === false) { if ($conf === false) {
http_error_code(404); http_response_code(404);
die("Fichier non trouvé"); die("Fichier non trouvé");
} }
@ -130,7 +130,7 @@ foreach ($interfaces as $interface) {
<input id="colorSlider" type="range" min="0" max="360" step="0.000000001" value="58.3" <input id="colorSlider" type="range" min="0" max="360" step="0.000000001" value="58.3"
oninput="document.documentElement.style.setProperty('--hue', this.value);" class="no-print" /> oninput="document.documentElement.style.setProperty('--hue', this.value);" class="no-print" />
<a href="<?= str_replace(__DIR__ . "/", "", $path) ?>" target="_blank" class="link no-print">Télécharger la configuration</a> <a href="<?= str_replace(__DIR__ . "/", "", $path) ?>" target="_blank" class="link no-print">Télécharger la configuration</a>
<a href="index.php" class="link no-print"> Retour à la liste</a> <a href="." class="link no-print"> Retour à la liste</a>
</footer> </footer>
<script> <script>
function changeColor(pvid, color) { function changeColor(pvid, color) {