102 lines
3.3 KiB
Smarty
102 lines
3.3 KiB
Smarty
|
<!DOCTYPE html>
|
||
|
<html lang="fr">
|
||
|
<head>
|
||
|
<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="">
|
||
|
|
||
|
<base href="{$public_root_url}/"/>
|
||
|
{block name="head"}{/block}
|
||
|
|
||
|
<link rel="icon" href="images/favicon.png">
|
||
|
|
||
|
<title>{$main_pagetitle}{if $pagetitle} - {$pagetitle}{/if}</title>
|
||
|
|
||
|
<!-- Bootstrap -->
|
||
|
<link href="lib/bootstrap4/css/bootstrap.min.css" rel="stylesheet">
|
||
|
|
||
|
<!-- Font Awesome -->
|
||
|
<link href="lib/Fork-Awesome-1.1.7/css/fork-awesome.min.css" rel="stylesheet">
|
||
|
|
||
|
<link href="css/style.css" rel="stylesheet">
|
||
|
{foreach $css as $file}
|
||
|
<link href="{$file}" rel="stylesheet">
|
||
|
{/foreach}
|
||
|
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
|
||
|
{block name="body"}
|
||
|
|
||
|
{block name="navbar"}
|
||
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
||
|
<a class="navbar-brand" href="">
|
||
|
<img id="logo" src="images/logo.png" alt="Logo" title="Logo"/>
|
||
|
</a>
|
||
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
||
|
<span class="navbar-toggler-icon"></span>
|
||
|
</button>
|
||
|
|
||
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||
|
<ul class="navbar-nav mr-auto">
|
||
|
{block name="navbar-content"}{/block}
|
||
|
</ul>
|
||
|
|
||
|
<form class="form-inline my-2 my-lg-0" action="item" method="post">
|
||
|
<input type="hidden" name="session_key" value="{$session_key}"/>
|
||
|
<input class="form-control mr-sm-2" type="search" placeholder="Rechercher" name="pattern" aria-label="Rechercher"/>
|
||
|
<button class="btn btn-outline-success my-2 my-sm-0" type="submit"><i class="fa fa-search"></i></button>
|
||
|
</form>
|
||
|
{if isset($auth_user) && $auth_user}
|
||
|
<ul class="navbar-nav ml-md-auto">
|
||
|
<li class="nav-item dropdown">
|
||
|
<a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||
|
<i class="fa fa-user" aria-hidden="true"></i> {$auth_user.name|escape:"htmlall"} <span class="caret"></span>
|
||
|
</a>
|
||
|
<div class="dropdown-menu dropdown-menu-right">
|
||
|
{block name="navbar-user-menu"}{/block}
|
||
|
<a class="dropdown-item" href="?logout=1"><i class="fas fa-sign-out-alt"></i> Déconnexion</a>
|
||
|
</div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
{/if}
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</nav>
|
||
|
{/block}
|
||
|
|
||
|
<main role="main">
|
||
|
<div class="container-fluid" id="content_container">
|
||
|
{block name="pagetitle"}{if $pagetitle}<h1>{$pagetitle}</h1>{/if}{/block}
|
||
|
{include file='errors.tpl'}
|
||
|
{include file='messages.tpl'}
|
||
|
{block name="content"}{/block}
|
||
|
</div>
|
||
|
</main>
|
||
|
|
||
|
{block name="footer"}
|
||
|
<div id='footer'>
|
||
|
{block name="footer-content"}
|
||
|
<p><a href="https://gogs.zionetrix.net/bn8/eesyphp">EesyPHP</a></p>
|
||
|
{/block}
|
||
|
</div>
|
||
|
{/block}
|
||
|
{/block}
|
||
|
|
||
|
|
||
|
<!-- Bootstrap -->
|
||
|
|
||
|
<script src="lib/jquery-3.4.1.min.js"></script>
|
||
|
<script src="lib/bootstrap4/js/bootstrap.bundle.min.js"></script>
|
||
|
|
||
|
{foreach $js as $file}
|
||
|
<script language="javascript" src="{$file}"></script>
|
||
|
{/foreach}
|
||
|
|
||
|
</body>
|
||
|
</html>
|