2020-04-18 00:51:33 +02:00
|
|
|
<!DOCTYPE html>
|
2023-03-05 00:32:16 +01:00
|
|
|
<html class="h-100" lang="fr">
|
2020-04-18 00:51:33 +02:00
|
|
|
<head>
|
2023-02-12 00:30:36 +01:00
|
|
|
<meta charset="utf-8"/>
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
|
|
|
<meta name="description" content=""/>
|
|
|
|
<meta name="author" content=""/>
|
2020-04-18 00:51:33 +02:00
|
|
|
|
|
|
|
<base href="{$public_root_url}/"/>
|
|
|
|
{block name="head"}{/block}
|
|
|
|
|
2023-02-12 00:30:36 +01:00
|
|
|
<link rel="icon" href="{static_url path="images/favicon.png"}"/>
|
2020-04-18 00:51:33 +02:00
|
|
|
|
|
|
|
<title>{$main_pagetitle}{if $pagetitle} - {$pagetitle}{/if}</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap -->
|
2023-03-05 00:32:16 +01:00
|
|
|
<link href="{static_url path="lib/bootstrap-5.2.3/css/bootstrap.min.css"}" rel="stylesheet"/>
|
2020-04-18 00:51:33 +02:00
|
|
|
|
|
|
|
<!-- Font Awesome -->
|
2023-03-05 00:32:16 +01:00
|
|
|
<link href="{static_url path="lib/Fork-Awesome-1.2.0/css/fork-awesome.min.css"}" rel="stylesheet"/>
|
2020-04-18 00:51:33 +02:00
|
|
|
|
2023-02-26 23:48:53 +01:00
|
|
|
<link href="{static_url path="css/eesyphp.css"}" rel="stylesheet"/>
|
2023-02-12 00:30:36 +01:00
|
|
|
{foreach $css as $path}
|
|
|
|
<link href="{$path|escape:"quotes"}" rel="stylesheet"/>
|
2020-04-18 00:51:33 +02:00
|
|
|
{/foreach}
|
|
|
|
</head>
|
|
|
|
|
2023-03-05 00:32:16 +01:00
|
|
|
<body {block name="body-attrs"}class="d-flex flex-column h-100"{/block}>
|
2020-04-18 00:51:33 +02:00
|
|
|
|
|
|
|
{block name="body"}
|
|
|
|
|
|
|
|
{block name="navbar"}
|
2023-03-05 00:32:16 +01:00
|
|
|
<header class="p-3 mb-3 border-bottom">
|
|
|
|
<div class="container">
|
|
|
|
<div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
|
|
|
|
<a href="/" class="d-flex align-items-center mb-2 mb-lg-0 text-dark text-decoration-none">
|
|
|
|
<img id="logo" src="{static_url path="images/logo.svg"}" alt="Logo" title="Logo"/>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="pr-2 nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
|
|
|
|
{block name="navbar-menu"}
|
|
|
|
{/block}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{block name="navbar-extra-content"}{/block}
|
|
|
|
|
|
|
|
{if isset($auth_user) && $auth_user}
|
|
|
|
<div class="dropdown text-end">
|
|
|
|
<a href="#" class="d-block link-dark text-decoration-none dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
|
|
|
|
<i class="fa fa-user-circle" aria-hidden="true"></i>
|
|
|
|
{$auth_user->name|escape:"htmlall"}
|
2020-04-18 00:51:33 +02:00
|
|
|
</a>
|
2023-03-05 00:32:16 +01:00
|
|
|
<ul class="dropdown-menu text-small">
|
2020-04-18 00:51:33 +02:00
|
|
|
{block name="navbar-user-menu"}{/block}
|
2023-03-05 00:32:16 +01:00
|
|
|
<li>
|
|
|
|
<a class="dropdown-item" href="logout">
|
|
|
|
<i class="fas fa-sign-out-alt"></i> {t domain=$CORE_TEXT_DOMAIN}Sign out{/t}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
</div>
|
2020-04-18 00:51:33 +02:00
|
|
|
</div>
|
2023-03-05 00:32:16 +01:00
|
|
|
</header>
|
2020-04-18 00:51:33 +02:00
|
|
|
{/block}
|
|
|
|
|
2023-03-05 00:32:16 +01:00
|
|
|
{block name="main"}
|
|
|
|
<main class="flex-shrink-0">
|
|
|
|
<div class="container">
|
|
|
|
{block name="pagetitle"}{if $pagetitle}<h1 class="mt-5">{$pagetitle}</h1>{/if}{/block}
|
2023-02-13 00:42:20 +01:00
|
|
|
{include file='Tpl:errors.tpl'}
|
|
|
|
{include file='Tpl:messages.tpl'}
|
2020-04-18 00:51:33 +02:00
|
|
|
{block name="content"}{/block}
|
|
|
|
</div>
|
|
|
|
</main>
|
2023-03-05 00:32:16 +01:00
|
|
|
{/block}
|
2020-04-18 00:51:33 +02:00
|
|
|
|
|
|
|
{block name="footer"}
|
2023-03-05 00:32:16 +01:00
|
|
|
<footer class="footer mt-auto py-3 bg-light">
|
|
|
|
<div class="container text-center">
|
|
|
|
{block name="footer-content"}
|
|
|
|
<span class="text-muted">
|
|
|
|
<a href="https://gitea.zionetrix.net/bn8/eesyphp">EesyPHP</a>
|
|
|
|
</span>
|
|
|
|
{/block}
|
|
|
|
</div>
|
|
|
|
</footer>
|
2020-04-18 00:51:33 +02:00
|
|
|
{/block}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
|
2022-04-24 20:17:48 +02:00
|
|
|
<!-- Jquery & Bootstrap -->
|
2023-03-05 00:32:16 +01:00
|
|
|
<script src="{static_url path="lib/jquery-3.6.3.min.js"}"></script>
|
|
|
|
<script src="{static_url path="lib/bootstrap-5.2.3/js/bootstrap.bundle.min.js"}"></script>
|
2022-04-24 20:17:48 +02:00
|
|
|
|
|
|
|
<!-- Other libs & JavaScript scripts -->
|
2023-02-12 00:30:36 +01:00
|
|
|
{foreach $js as $path}
|
|
|
|
<script language="javascript" src="{$path|escape:"quotes"}"></script>
|
2022-04-24 20:17:48 +02:00
|
|
|
{/foreach}
|
2022-04-24 16:46:38 +02:00
|
|
|
|
2023-01-29 11:51:41 +01:00
|
|
|
{if $webstats_js_code}{$webstats_js_code}{/if}
|
2020-04-18 00:51:33 +02:00
|
|
|
</body>
|
|
|
|
</html>
|
2023-02-15 23:55:36 +01:00
|
|
|
{*
|
|
|
|
# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2
|
|
|
|
*}
|