Restructure MVC into public/src layout

Co-authored-by: LeOSW42 <673670+LeOSW42@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-24 14:00:58 +00:00
parent 1be6b7ff0c
commit f617ecb350
135 changed files with 75 additions and 63 deletions

41
public/views/d.admin.logs.html Executable file
View File

@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="fr">
<?php include('blocks/d.head.html'); ?>
<body>
<?php include('blocks/d.nav.html'); ?>
<section>
<h1><?=$head['title']?></h1>
<span class="subtitle">
<select id="logfile">
<?php $i = 0;
foreach ($files_list as $row) {
if ($row != "." && $row != "..") { ?>
<option <?=$i==$filenb?'selected':''?> value="<?=$i?>"><?php echo $row; ?></option>
<?php $i++;
} ?>
<?php } ?>
</select>
</span>
<br>
<br>
<pre><?php
foreach($output as $line) {
echo $line."<br>";
}
?></pre>
</section>
<script type="text/javascript">
$( "#logfile" ).change(function() {
window.location.href = "<?=$config['rel_root_folder']?>admin/logs/"+$( this ).val();
});
</script>
<?php include('blocks/d.footer.html'); ?>
</body>
</html>