Intermédiaire
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.38, created on 2021-02-18 20:49:57
|
||||
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',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'18b287ea8111ec650808fcf2a53c64382bec01db' =>
|
||||
array (
|
||||
0 => '/var/www/html/src/templates/header.smarty',
|
||||
1 => 1613677022,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_602ed2f580a332_00306590 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- favicon -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<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">
|
||||
<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 }
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.38, created on 2021-02-18 20:46:42
|
||||
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',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'67f35703943bebaeb4ff84b4beabe1bba1b1e700' =>
|
||||
array (
|
||||
0 => '/var/www/html/src/templates/login.smarty',
|
||||
1 => 1613681193,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_602ed2324fe010_49856753 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<!-- favicon -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><?php echo $_smarty_tpl->tpl_vars['Title']->value;?>
|
||||
</title>
|
||||
<meta name="description" content="Gestion annuaire">
|
||||
<meta name="author" content="Serge NOEL">
|
||||
<link href="vendor/twbs/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<?php echo '<script'; ?>
|
||||
src="vendor/components/jquery/jquery.js" type="text/javascript"><?php echo '</script'; ?>
|
||||
>
|
||||
<link href="src/css/login.css" rel="stylesheet">
|
||||
</head>
|
||||
<?php if ((isset($_smarty_tpl->tpl_vars['error']->value))) {?>
|
||||
<body onload="onLoad();">
|
||||
<?php } else { ?>
|
||||
<body >
|
||||
<?php }?>
|
||||
|
||||
<div class="container">
|
||||
<div style="float: left"></div>
|
||||
<div id="loginbox" class="mainbox col-md-4 col-md-offset-4 col-sm-6 col-sm-offset-3">
|
||||
<div class="panel panel-default panel-login">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title text-center">AD Access</h2>
|
||||
</div>
|
||||
<div class="panel-body" >
|
||||
<form name="form" id="form" class="form-horizontal" enctype="multipart/form-data" method="POST" action='index.php'>
|
||||
<img src="src/assets/Favicon.png" class="logo" alt="Logo">
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
|
||||
<input name="sLogin" id="sLogin" type="text" class="form-control" value="" placeholder="User">
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<span class="input-group-addon"><i class="glyphicon glyphicon-lock"></i></span>
|
||||
<input id="sPassword" type="password" class="form-control" name="sPassword" placeholder="Password">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<!-- Button -->
|
||||
<div class="col-sm-12 controls">
|
||||
<button type="submit" href="#" class="btn btn-primary pull-right"><i class="glyphicon glyphicon-log-in"></i> Log in</button>
|
||||
</div>
|
||||
</div>
|
||||
<input type='hidden' id='Action' name='Action' value='tryLogin' />
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ((isset($_smarty_tpl->tpl_vars['error']->value))) {?>
|
||||
<div class="col-md-12"> </div>
|
||||
<div class="col-md-12" id='bAlert'>
|
||||
<div class="alert alert-dismissable alert-danger">
|
||||
<h4><?php echo $_smarty_tpl->tpl_vars['error']->value;?>
|
||||
</h4>
|
||||
</div>
|
||||
</div>
|
||||
<?php }?>
|
||||
</div>
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
type='text/javascript'>
|
||||
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
</body>
|
||||
</html><?php }
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.38, created on 2021-02-14 21:10:54
|
||||
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',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'91e36af2f79b43b7dd543e53cf49767e090eab17' =>
|
||||
array (
|
||||
0 => '/var/www/html/src/templates/footer.smarty',
|
||||
1 => 1613299086,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_602991dee1d9a5_52904871 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html><?php }
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user