Intermédiaire
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.38, created on 2021-02-18 20:49:57
|
||||
/* Smarty version 3.1.39, created on 2021-03-19 10:53:34
|
||||
from '/var/www/html/src/templates/header.smarty' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.38',
|
||||
'unifunc' => 'content_602ed2f580a332_00306590',
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_605482aea0d219_05324795',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'18b287ea8111ec650808fcf2a53c64382bec01db' =>
|
||||
array (
|
||||
0 => '/var/www/html/src/templates/header.smarty',
|
||||
1 => 1613677022,
|
||||
1 => 1616151208,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_602ed2f580a332_00306590 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_605482aea0d219_05324795 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
@@ -43,28 +43,48 @@ function content_602ed2f580a332_00306590 (Smarty_Internal_Template $_smarty_tpl)
|
||||
|
||||
<title><?php echo $_smarty_tpl->tpl_vars['Title']->value;?>
|
||||
</title>
|
||||
<link href="vendor/components/jqueryui/themes/base/jquery-ui.min.css" rel="stylesheet" />
|
||||
<link href="vendor/twbs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="vendor/vakata/jstree/dist/themes/default/style.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Style -->
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="css/style.css" rel="stylesheet">
|
||||
|
||||
<!-- Javascript -->
|
||||
<?php echo '<script'; ?>
|
||||
src="js/jquery.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="js/bootstrap.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="js/scripts.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="js/jstree.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<link href="css/jstree.min.css" rel="stylesheet">
|
||||
<link href="src/css/style.css" rel="stylesheet">
|
||||
<meta name="generator" content="Hand Made" >
|
||||
<meta name="author" content="Serge NOEL" >
|
||||
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<?php echo '<script'; ?>
|
||||
src="vendor/components/jquery/jquery.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="vendor/components/jqueryui/jquery-ui.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="vendor/twbs/bootstrap/dist/js/bootstrap.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="vendor/vakata/jstree/dist/jstree.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<!-- <?php echo '<script'; ?>
|
||||
src="https://kit.fontawesome.com/c9a8327197.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
> -->
|
||||
<?php }
|
||||
<?php echo '<script'; ?>
|
||||
src="src/javascript/main.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<link href="src/css/contextFonts.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
|
||||
|
||||
|
||||
</head><?php }
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.38, created on 2021-02-18 20:46:42
|
||||
/* Smarty version 3.1.39, created on 2021-03-16 14:51:07
|
||||
from '/var/www/html/src/templates/login.smarty' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.38',
|
||||
'unifunc' => 'content_602ed2324fe010_49856753',
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_6050c5db7141d3_53029972',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_602ed2324fe010_49856753 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_6050c5db7141d3_53029972 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.38, created on 2021-02-14 21:10:54
|
||||
/* Smarty version 3.1.39, created on 2021-03-16 14:53:59
|
||||
from '/var/www/html/src/templates/footer.smarty' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.38',
|
||||
'unifunc' => 'content_602991dee1d9a5_52904871',
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_6050c6872dd538_14018225',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
@@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_602991dee1d9a5_52904871 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_6050c6872dd538_14018225 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
</body>
|
||||
|
||||
@@ -1,98 +1,150 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.38, created on 2021-02-15 21:43:09
|
||||
/* Smarty version 3.1.39, created on 2021-03-19 11:18:17
|
||||
from '/var/www/html/src/templates/main.smarty' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.38',
|
||||
'unifunc' => 'content_602aeaeda695a0_73384596',
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_6054887911bbe2_81020750',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'e7a5f2111aabf5c11bacdc23864f165ab8fd0aa0' =>
|
||||
array (
|
||||
0 => '/var/www/html/src/templates/main.smarty',
|
||||
1 => 1613425360,
|
||||
1 => 1616152674,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:header.smarty' => 1,
|
||||
'file:footer.smarty' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_602aeaeda695a0_73384596 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_6054887911bbe2_81020750 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_subTemplateRender('file:header.smarty', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
<?php echo '<script'; ?>
|
||||
src="src/javascript/main.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<?php echo '<script'; ?>
|
||||
src="src/javascript/contextMenu.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<link href="src/css/contextMenu.css" rel="stylesheet" type="text/css" />
|
||||
<link href="src/css/contextFonts.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form action='index.php' id='formAction' method='post'>
|
||||
<div class="container">
|
||||
<body onLoad='loadMain();'>
|
||||
|
||||
<!-- Boîte modale de type Popup -->
|
||||
<div class="modal fade" id="popModal">
|
||||
<div class="modal-header">
|
||||
<a class="close" data-dismiss="modal">× </a>
|
||||
<h3 id="popTitle"></h3>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h3 class="text-center text-primary">
|
||||
<?php echo $_smarty_tpl->tpl_vars['Title']->value;?>
|
||||
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-body" id="popContent">
|
||||
<!-- Navbar -->
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<ul class="nav" id="navbar" style="display: none"> <!-- display: flex -->
|
||||
<li class="nav-item"><a class="nav-link" href="#" onClick='Quit();' id='Logout'>Déconnection</a></li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#">Profile</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link disabled" href="#">Messages</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown ml-md-auto">
|
||||
<a class="nav-link dropdown-toggle" href="http://example.com" id="navbarDropdownMenuLink" data-toggle="dropdown">Dropdown link</a>
|
||||
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
|
||||
<a class="dropdown-item" href="#">Action</a> <a class="dropdown-item" href="#">Another action</a> <a class="dropdown-item" href="#">Something else here</a>
|
||||
<div class="dropdown-divider">
|
||||
</div> <a class="dropdown-item" href="#">Separated link</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#" class="btn" data-dismiss="modal" id='popClose'>Fermer</a>
|
||||
<a href="#" class="btn btn-primary" id="popAction"
|
||||
id='popAction' onClick='myValid();' >Enregistrer</a>
|
||||
|
||||
<!-- Main content -->
|
||||
<div class="col-md-12" id='jsTree' style="display: none;"></div>
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<!-- Boîte modale de type Popup -->
|
||||
<div class="modal fade" id="popup" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header" id="popup-header">
|
||||
<h5 class="modal-title" id="popup-title"></h5>
|
||||
<button type="button" class="close" data-dismiss="modal">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body" id="popup-body">
|
||||
</div>
|
||||
<div class="modal-footer" id="popup-footer">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Boîte modale de type Popup -->
|
||||
|
||||
<!-- Boîte d'affichage d'erreur -->
|
||||
<div class="col-md-12"> </div>
|
||||
<div class="col-md-12" id='bAlert' style='display: none'>
|
||||
<div class="alert alert-dismissable alert-danger">
|
||||
<h4 id='alertMsg'>ERREUR:</h4>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Boîte d'affichage d'erreur -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Boîte modale de type Popup -->
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<!-- Menu de l'application -->
|
||||
<nav class="navbar navbar-default">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="#" onClick='Quit();' id='Logout'>Déconnection</a> </li>
|
||||
<li class="dropdown">
|
||||
<a data-toggle="dropdown" href="#" id='menuItem'>Articles<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a onClick='jsfAddItem();' href="#" id='menuAddItem' >Créer</a></li>
|
||||
<li><a onClick='jsfModItem();' href="#" id='menuModItem'>Modifier</a></li>
|
||||
<li><a onClick='jsfDelItem();' href="#" id='menuDelItem'>Supprimer</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a onClick='jsfAddStock();' href="#" id='menuAddStock'>Ajout stock</a></li>
|
||||
<li><a onClick='jsfDelStock();' href="#" id='menuDelStock'>Supp. stock</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li> <a href="#" onClick='jsfInventory();'>Inventaire</a> </li>
|
||||
</ul>
|
||||
</nav>
|
||||
<!-- /Menu de l'application -->
|
||||
|
||||
</div> <!-- /container -->
|
||||
|
||||
<!-- <div class="col-md-12" id='RootDN'><span class="fa fa-globe"></span>RootDN</div> -->
|
||||
<div class="col-md-12" id='jsTree'> </div>
|
||||
<div class="col-md-12" id='jstree_demo'> </div>
|
||||
|
||||
<input type='hidden' name='Action' id='Action' value='' />
|
||||
</form>
|
||||
|
||||
<!-- Boîte d'affichage d'erreur -->
|
||||
<div class="col-md-12"> </div>
|
||||
<div class="col-md-12" id='bAlert' style='display: none'>
|
||||
<div class="alert alert-dismissable alert-danger">
|
||||
<h4>{{ error }}</h4>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /Boîte d'affichage d'erreur -->
|
||||
|
||||
<?php $_smarty_tpl->_subTemplateRender('file:footer.smarty', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user