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-11-16 18:25:05 +01:00
|
|
|
<link rel="icon" href="{$favicon_url}"/>
|
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
|
|
|
|
2024-12-02 20:01:51 +01:00
|
|
|
<!-- Alertify -->
|
|
|
|
<link href="{static_url path="lib/alertify-1.13.1/css/alertify.min.css"}" rel="stylesheet"/>
|
|
|
|
<link href="{static_url path="lib/alertify-1.13.1/css/themes/bootstrap.min.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
|
|
|
|
2024-01-23 11:00:45 +01:00
|
|
|
{block name="custom_body_start"}{/block}
|
|
|
|
|
2020-04-18 00:51:33 +02:00
|
|
|
{block name="body"}
|
|
|
|
|
|
|
|
{block name="navbar"}
|
2023-03-08 13:04:33 +01:00
|
|
|
<header>
|
|
|
|
<nav class="{block name="navbar-class"}navbar navbar-expand-lg{/block}" {block name="navbar-extra-args"}{/block}>
|
|
|
|
<div class="{block name="navbar-container-class"}container{/block}">
|
2023-03-05 13:41:55 +01:00
|
|
|
{block name="navbar-brand"}
|
2023-03-08 13:04:33 +01:00
|
|
|
<a class="navbar-brand me-3" href="#">
|
2023-11-16 18:25:05 +01:00
|
|
|
<img id="logo" src="{$logo_url}" alt="Logo" title="Logo"/>
|
2023-03-05 00:32:16 +01:00
|
|
|
</a>
|
2023-03-05 13:41:55 +01:00
|
|
|
{/block}
|
2023-03-05 00:32:16 +01:00
|
|
|
|
2023-03-08 13:04:33 +01:00
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
|
|
|
|
data-bs-target="#navbar-menu" aria-controls="navbar-menu" aria-expanded="false"
|
|
|
|
aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbar-menu">
|
|
|
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
|
|
|
{block name="navbar-menu"}
|
|
|
|
{/block}
|
|
|
|
</ul>
|
2023-03-05 00:32:16 +01:00
|
|
|
|
2023-03-08 13:04:33 +01:00
|
|
|
{block name="navbar-extra-content"}{/block}
|
2023-03-05 00:32:16 +01:00
|
|
|
|
2023-03-08 13:04:33 +01:00
|
|
|
{block name="navbar-user"}
|
|
|
|
<ul class="navbar-nav text-end">
|
2023-03-11 11:54:47 +01:00
|
|
|
{if isset($auth_user) && $auth_user}
|
2023-03-08 13:04:33 +01:00
|
|
|
<li class="nav-item dropdown">
|
|
|
|
{block name="navbar-user-name"}
|
|
|
|
<a class="nav-link active dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
|
|
|
|
<i class="fa fa-user-circle" aria-hidden="true"></i>
|
|
|
|
{$auth_user->name|escape:"htmlall"}
|
2023-03-05 00:32:16 +01:00
|
|
|
</a>
|
2023-03-08 13:04:33 +01:00
|
|
|
{/block}
|
|
|
|
{block name="navbar-user-menu"}
|
|
|
|
<ul class="dropdown-menu text-small">
|
|
|
|
{block name="navbar-user-menu-content"}{/block}
|
|
|
|
<li>
|
|
|
|
<a class="dropdown-item" href="logout">
|
|
|
|
<i class="fa fa-sign-out"></i> {t domain=$CORE_TEXT_DOMAIN}Sign out{/t}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
{/block}
|
2023-03-05 00:32:16 +01:00
|
|
|
</li>
|
2023-03-11 13:30:07 +01:00
|
|
|
{else if $request->current_url != 'login'}
|
2023-03-11 11:54:47 +01:00
|
|
|
{block name="navbar-login-btn"}
|
|
|
|
<li class="nav-item">
|
|
|
|
<a href="login" class="btn btn-sm btn-success">
|
|
|
|
<i class="fa fa-sign-in"></i> {t domain=$CORE_TEXT_DOMAIN}Log in{/t}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{/block}
|
|
|
|
{/if}
|
2023-03-05 00:32:16 +01:00
|
|
|
</ul>
|
2023-03-05 13:41:55 +01:00
|
|
|
{/block}
|
2023-03-05 00:32:16 +01:00
|
|
|
</div>
|
|
|
|
</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"}
|
2024-12-03 03:15:08 +01:00
|
|
|
<main class="flex-shrink-0 mt-2 mb-2">
|
2023-03-05 00:32:16 +01:00
|
|
|
<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"}
|
2023-03-22 18:17:57 +01:00
|
|
|
{block name="footer-links"}
|
2023-03-05 00:32:16 +01:00
|
|
|
<span class="text-muted">
|
|
|
|
<a href="https://gitea.zionetrix.net/bn8/eesyphp">EesyPHP</a>
|
|
|
|
</span>
|
|
|
|
{/block}
|
2023-03-22 18:17:57 +01:00
|
|
|
{block name="footer-compute-times"}
|
|
|
|
{if isset($compute_time)}
|
|
|
|
<div class='compute-times'>
|
|
|
|
<span class="text-muted">
|
|
|
|
{t domain=$CORE_TEXT_DOMAIN}Loading time:{/t}
|
|
|
|
{t 1=$compute_time domain=$CORE_TEXT_DOMAIN}Page: %1{/t}
|
|
|
|
{if isset($db_time)} - {t 1=$db_time domain=$CORE_TEXT_DOMAIN}Database: %1{/t}{/if}
|
|
|
|
- {t domain=$CORE_TEXT_DOMAIN}Templating: {/t}{smarty_computing_time}
|
|
|
|
- {t domain=$CORE_TEXT_DOMAIN}Total: {/t}{smarty_total_computing_time}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
{/block}
|
|
|
|
{/block}
|
2023-03-05 00:32:16 +01:00
|
|
|
</div>
|
|
|
|
</footer>
|
2020-04-18 00:51:33 +02:00
|
|
|
{/block}
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
|
2024-12-02 20:01:51 +01:00
|
|
|
<!-- Jquery, Bootstrap & Alertify -->
|
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>
|
2024-12-02 20:01:51 +01:00
|
|
|
<script src="{static_url path="lib/alertify-1.13.1/alertify.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}
|
2024-01-23 11:00:45 +01:00
|
|
|
|
|
|
|
{block name="custom_body_end"}{/block}
|
|
|
|
|
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
|
|
|
|
*}
|