Systemerweiterungen

This commit is contained in:
aschwarz
2023-03-27 15:17:34 +02:00
parent df4a7e1a04
commit 22af684296
810 changed files with 73840 additions and 114339 deletions

View File

@ -1,18 +1,18 @@
<?php
/* Smarty version 3.1.39, created on 2023-03-23 12:39:16
/* Smarty version 3.1.39, created on 2023-03-27 11:04:16
from 'F:\git\survey\templates\modern\survey\index.html' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.39',
'unifunc' => 'content_641c3a64aed3c1_00839520',
'unifunc' => 'content_64215c105598a2_51731771',
'has_nocache_code' => false,
'file_dependency' =>
array (
'2b06f8f36ebdb45c10ebd7bf157223e300660449' =>
array (
0 => 'F:\\git\\survey\\templates\\modern\\survey\\index.html',
1 => 1679507927,
1 => 1679907851,
2 => 'file',
),
),
@ -20,7 +20,7 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
array (
),
),false)) {
function content_641c3a64aed3c1_00839520 (Smarty_Internal_Template $_smarty_tpl) {
function content_64215c105598a2_51731771 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<!doctype html>
<html lang="de">
@ -42,85 +42,104 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
padding-bottom: 10px;
padding-left: 20px;
}
.fill-5 {
animation: fill 2.5s linear 1;
}
@keyframes fill {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
.progress-bar {
display: flex;
flex-direction: column;
justify-content: center;
overflow: hidden;
color: var(--bs-progress-bar-color);
height: 5px;
text-align: center;
white-space: nowrap;
background-color: #0D7377;
transition: var(--bs-progress-bar-transition);
}
.lottie-container {
justify-content: center;
top: 20px;
left: 0;
right: 0;
bottom: 20px;
height: 300px;
pointer-events: none;
}
</style>
<?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: 20px;
left: 0;
right: 0;
bottom: 20px;
height: 300px;
pointer-events: none;
}
</style>
</head>
<body>
<div class="container">
<div class="grid">
<div class="headline col-12 bg-white">
<div class="lottie-container" id="lottie-container"></div>
<?php echo '<script'; ?>
<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'; ?>
var item = bodymovin.loadAnimation({
wrapper: document.getElementById('lottie-container'),
animType: 'svg',
loop: true,
autoplay: true,
path: '../media/data.json'
});
<?php echo '</script'; ?>
>
</div>
<form action="?action=umfrage" method='post' name='start'>
<form action="?action=umfrage" method='post' name='start'>
<?php if ($_smarty_tpl->tpl_vars['umfrage_anzeigen']->value == '0') {?>
<div class="col-12 ">
<h4>
<p class="text-center">Aktuell sind keine Umfragen verfügbar</p>
</h4>
</div>
<div class="col-12 ">
<h4>
<p class="text-center">Aktuell sind keine Umfragen verfügbar</p>
</h4>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['umfrage_ende']->value == '1') {?>
<div class="col-12 ">
<h4>
<p class="text-center">Herzlichen Dank für deine Teilnahme</p>
</h4>
</div>
<div class="col-12 ">
<h4>
<p class="text-center">Herzlichen Dank für deine Teilnahme</p>
</h4>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['umfrage_anzeigen']->value == '1' && $_smarty_tpl->tpl_vars['umfrage_ende']->value != '1') {?>
<div class="col-12 ">
<h4>
<p class="text-center">Umfrage wird geladen</p>
</h4>
</div>
<div class="col-12 ">
<h4>
<p class="text-center">Umfrage wird geladen</p>
</h4>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['umfrage_anzeigen']->value == '1' && $_smarty_tpl->tpl_vars['umfrage_ende']->value == 0) {?>
<div class="progress" style="height: 5px;">
<div class="progress-bar fill-5" role="progressbar"
style="width: 100%" aria-valuenow="100" aria-valuemin="0"
aria-valuemax="100">
</div>
</div>
<input type="hidden" name="umid" value="<?php echo $_smarty_tpl->tpl_vars['umfrage_umid']->value;?>
">
<?php echo '<script'; ?>
type="text/javascript">
window.onload=function(){
window.setTimeout(document.start.submit.bind(document.start), 5000);
};
window.onload=function(){
window.setTimeout(document.start.submit.bind(document.start), 2500);
};
<?php echo '</script'; ?>
>
</form>
<?php }?>
</form>
<?php }?>
</div>
</div>
</body>
</html>
<?php }
if ($_smarty_tpl->tpl_vars['action']->value == 'umfrage') {?>
<!doctype html>
@ -207,23 +226,20 @@ if ($_smarty_tpl->tpl_vars['action']->value == 'umfrage') {?>
font-size: 0.6em;
}
</style>
<?php echo '<script'; ?>
<?php echo '<script'; ?>
src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.9.1/lottie.min.js"><?php echo '</script'; ?>
>
<style type="text/css">
.lottie-container {
justify-content: center;
top: 20px;
left: 0;
right: 0;
bottom: 20px;
height: 300px;
pointer-events: none;
}
</style>
<style type="text/css">
.lottie-container {
justify-content: center;
top: 20px;
left: 0;
right: 0;
bottom: 20px;
height: 300px;
pointer-events: none;
}
</style>
</head>
<body >
<!-- hier kommt der Inhalt der Seite hin -->
@ -356,21 +372,18 @@ $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['rownum'] = $__section_i
<?php if ($_smarty_tpl->tpl_vars['umfrage_showende']->value == '1') {?>
<div class="grid">
<div class="headline col-12 bg-white">
<div class="lottie-container" id="lottie-container"></div>
<?php echo '<script'; ?>
<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'; ?>
var item = bodymovin.loadAnimation({
wrapper: document.getElementById('lottie-container'),
animType: 'svg',
loop: true,
autoplay: true,
path: '../media/data.json'
});
<?php echo '</script'; ?>
>
</div>
<div class="col-12 ">
<h4>