156 lines
5.8 KiB
PHP
156 lines
5.8 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-03-30 09:10:00
|
|
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\passwortzuruecksetzen.html' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_642535c8775434_88642412',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'97b09287298e63f520acba34eb2efc9072afab33' =>
|
|
array (
|
|
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\passwortzuruecksetzen.html',
|
|
1 => 1680160197,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_642535c8775434_88642412 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
|
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<title>JU & MI Passwort</title>
|
|
<link rel="stylesheet" href="../jquery/jquery-ui.css">
|
|
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<?php echo '<script'; ?>
|
|
src="../bootstrap/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"><?php echo '</script'; ?>
|
|
>
|
|
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
|
<link href="css/styles.css" rel="stylesheet" />
|
|
<!-- icons in nav-->
|
|
<?php echo '<script'; ?>
|
|
src="js/all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
|
>
|
|
<?php echo '<script'; ?>
|
|
src="../jquery/jquery-3.4.1.min.js"><?php echo '</script'; ?>
|
|
>
|
|
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
|
<?php echo '<script'; ?>
|
|
src="../js/lottie_bodymovin/lottie.min.js"><?php echo '</script'; ?>
|
|
>
|
|
<style type="text/css">
|
|
.lottie-container {
|
|
justify-content: center;
|
|
top: 40px;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 20px;
|
|
height: 180px;
|
|
pointer-events: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="navtop"></div>
|
|
|
|
<?php echo '<script'; ?>
|
|
>
|
|
$(function() {
|
|
$("#password_new1").focus();
|
|
});
|
|
|
|
$(function(){
|
|
$("#footer").load("footer.php");
|
|
});
|
|
<?php echo '</script'; ?>
|
|
>
|
|
|
|
<div id="layoutAuthentication">
|
|
<div id="layoutAuthentication_content">
|
|
<main>
|
|
<!--Anwendung-->
|
|
<?php echo '<script'; ?>
|
|
src="../js/components/admin_login.js"><?php echo '</script'; ?>
|
|
>
|
|
<div class="lottie-container" id="lottie-container"></div>
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-5">
|
|
<div class="card shadow-lg border-0 rounded-lg mt-5">
|
|
<div class="card-header">
|
|
<h3 class="text-center font-weight-light my-4">Passwort vergeben</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="row">
|
|
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
|
<div class="col-12 col-md-6">Neues Passwort:</div>
|
|
<div class="col-12 col-md-6">
|
|
<input type="password" id="password_new1" class="form-control rounded-right" required onkeydown="keysave(this)">
|
|
<input type="hidden" id="code" value="<?php echo $_smarty_tpl->tpl_vars['code']->value;?>
|
|
">
|
|
<input type="hidden" id="uid" value="<?php echo $_smarty_tpl->tpl_vars['uid']->value;?>
|
|
">
|
|
</div>
|
|
</div>
|
|
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
|
<div class="col-12 col-md-6">Passwortwiederholung:</div>
|
|
<div class="col-12 col-md-6">
|
|
<input type="password" id="password_new2" class="form-control rounded-right" required onkeydown="keysave(this)">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input type='submit' class="btn btn-primary" onclick="resetpasswort();" name='senden' value="Neues Passwort">
|
|
</div>
|
|
<div id="msg"></div>
|
|
<?php if ($_smarty_tpl->tpl_vars['error']->value == 1) {?>
|
|
<div id="msg1"><?php echo $_smarty_tpl->tpl_vars['error_text']->value;?>
|
|
</div>
|
|
<?php }?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="lottie-container" id="lottie-container"></div>
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
var item = bodymovin.loadAnimation({
|
|
wrapper: document.getElementById('lottie-container'),
|
|
animType: 'svg',
|
|
loop: true,
|
|
autoplay: true,
|
|
path: '../media/data.json'
|
|
});
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</main>
|
|
|
|
<?php echo '<script'; ?>
|
|
type="text/javascript">
|
|
function keysave(ele) {
|
|
if(event.key === 'Enter') {
|
|
resetpasswort();
|
|
}
|
|
}
|
|
<?php echo '</script'; ?>
|
|
>
|
|
|
|
</div>
|
|
<div id="layoutAuthentication_footer">
|
|
<!-- footer -->
|
|
<div id="footer"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
<?php }
|
|
}
|
|
}
|