Recomment CSS and HTML templates

Co-authored-by: LeOSW42 <673670+LeOSW42@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-24 18:35:07 +00:00
parent 8dd9897ca4
commit 3159b34e70
26 changed files with 380 additions and 273 deletions

View File

@@ -1,8 +1,9 @@
<!-- Template: blocks/d.head.html -->
<!-- Head: metadata and assets -->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
<link rel="shortcut icon" href="<?=$config['views_url']?>img/favicon.png">
<!-- Stylesheets -->
<?php if (isset($head['css'])) {
foreach(explode(";",$head['css']) as $css) { ?>
<link rel="stylesheet" href="<?=$config['views_url']?>css/<?=$css?>"/>
@@ -13,6 +14,7 @@
<?php } ?>
<link rel="stylesheet" href="<?=$config['views_url']?>third/fontawesome-free-5.4.1-web/css/all.min.css"/>
<!-- Scripts -->
<script type="text/javascript" src="<?=$config['views_url']?>third/jquery-3.3.1.min.js"></script>
<?php if (isset($head['third'])) {
foreach(explode(";",$head['third']) as $third) { ?>
@@ -26,6 +28,7 @@
<?php }
} ?>
<!-- Metadata -->
<?php if (isset($head['title'])) { ?>
<title><?=$head['title']?> &mdash; Kabano</title>
<?php }
@@ -44,4 +47,4 @@
else { ?>
<meta name="keywords" content="kabano, cabanes, refuges, bivouac, montagne, randonnée, métallerie, agricole">
<?php } ?>
</head>
</head>