99 lines
3.6 KiB
PHP
99 lines
3.6 KiB
PHP
<?php
|
|
/* Smarty version 3.1.38, created on 2021-02-15 21:43:09
|
|
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',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'e7a5f2111aabf5c11bacdc23864f165ab8fd0aa0' =>
|
|
array (
|
|
0 => '/var/www/html/src/templates/main.smarty',
|
|
1 => 1613425360,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
'file:header.smarty' => 1,
|
|
'file:footer.smarty' => 1,
|
|
),
|
|
),false)) {
|
|
function content_602aeaeda695a0_73384596 (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">
|
|
|
|
<!-- 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>
|
|
<div class="modal-body" id="popContent">
|
|
</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>
|
|
</div>
|
|
</div>
|
|
<!-- /Boîte modale de type Popup -->
|
|
|
|
<!-- 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);
|
|
}
|
|
}
|