177 lines
6.9 KiB
PHP
177 lines
6.9 KiB
PHP
<?php
|
|
/* Smarty version 3.1.39, created on 2023-03-29 16:02:35
|
|
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\login.html' */
|
|
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
|
'version' => '3.1.39',
|
|
'unifunc' => 'content_642444fb108e38_88581849',
|
|
'has_nocache_code' => false,
|
|
'file_dependency' =>
|
|
array (
|
|
'2c7573aca5bcffa232f4e19fd56675ada4969120' =>
|
|
array (
|
|
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\login.html',
|
|
1 => 1680098552,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_642444fb108e38_88581849 (Smarty_Internal_Template $_smarty_tpl) {
|
|
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<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="" />
|
|
<title>JU & MI Administration</title>
|
|
<link href="css/styles.css" rel="stylesheet" />
|
|
<?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 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'; ?>
|
|
>
|
|
<?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>
|
|
<?php echo '<script'; ?>
|
|
>
|
|
$(document).ready(function(){
|
|
$('[data-toggle="popover"]').popover();
|
|
});
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</head>
|
|
<body>
|
|
<div id="navtop"></div>
|
|
|
|
<?php echo '<script'; ?>
|
|
>
|
|
$(function() {
|
|
$("#mail").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">Login</h3>
|
|
</div>
|
|
<div class="card-body">
|
|
<div class="form-floating mb-3">
|
|
<input class="form-control" name="mail" id="mail" type="email" onkeydown="keysave(this)" placeholder="Mailadresse" />
|
|
<label for="inputEmail">Mailadresse</label>
|
|
</div>
|
|
<div class="form-floating mb-3">
|
|
<input class="form-control" name="password" id="password" type="password" onkeydown="keysave(this)" placeholder="Passwort" />
|
|
<label for="inputPassword">Passwort</label>
|
|
</div>
|
|
<!--<div class="form-check mb-3">
|
|
<input class="form-check-input" id="inputRememberPassword" type="checkbox" value="" />
|
|
<label class="form-check-label" for="inputRememberPassword">Remember Password</label>
|
|
</div>
|
|
-->
|
|
<div class="d-flex align-items-center justify-content-between mt-4 mb-0">
|
|
<!--<a class="small" href="password.html">Forgot Password?</a>-->
|
|
<label><input type="checkbox" name="angemeldet_bleiben" id="angemeldet_bleiben" value="1"> Angemeldet bleiben
|
|
<button type="button" class="btn btn-info btn-sm" data-bs-toggle="popover" data-bs-html="true" data-bs-trigger="hover"
|
|
title="Angemeldet bleiben"
|
|
data-bs-content="Durch das Markieren dieses Feldes wird beim nächsten Besuch die Anmeldemaske nicht erscheinen.<br>
|
|
<b>Die Anwendung speichert lokal Cookies in Ihrem Browser.</b><br>
|
|
Sobald Sie in der Anwendung einen Logout machen, werden die Cookies gelöscht und ein Login ist wieder erforderlich.">
|
|
<i class="fas fa fa-info"></i>
|
|
</button>
|
|
</label><br>
|
|
|
|
<input type='submit' class="btn btn-primary" onclick="login();" name='senden' value="Login">
|
|
</div>
|
|
</div>
|
|
<div class="card-footer text-center py-3">
|
|
<!--<div class="small"><a href="register.html">Need an account? Sign up!</a></div>-->
|
|
</div>
|
|
</div>
|
|
<div id="msg"></div>
|
|
</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') {
|
|
login();
|
|
}
|
|
}
|
|
<?php echo '</script'; ?>
|
|
>
|
|
|
|
</div>
|
|
<div id="layoutAuthentication_footer">
|
|
<!-- footer -->
|
|
<div id="footer"></div>
|
|
</div>
|
|
</div>
|
|
<?php echo '<script'; ?>
|
|
>
|
|
var popoverTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'))
|
|
var popoverList = popoverTriggerList.map(function (popoverTriggerEl) {
|
|
return new bootstrap.Popover(popoverTriggerEl)
|
|
})
|
|
<?php echo '</script'; ?>
|
|
>
|
|
</body>
|
|
</html>
|
|
<?php }
|
|
}
|
|
}
|