Kennwortwechsel Benutzer anlegen
This commit is contained in:
@ -0,0 +1,181 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 07:23:31
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\admin\result_latest.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641d41e38ce756_76114147',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'3b2e626d0d78175548e0a01f23ad605c15662631' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\admin\\result_latest.html',
|
||||
1 => 1679466762,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641d41e38ce756_76114147 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!doctype html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Auswertung</title>
|
||||
<!-- https://www.budde-mediendesign.de/blog/programmierung/das-bootstrap-4-grid-system-->
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!--
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
|
||||
-->
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color : #FFF;
|
||||
}
|
||||
.headline {
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.container2 {
|
||||
width: 80%;
|
||||
}
|
||||
.progress {
|
||||
height: 28px;
|
||||
}
|
||||
.progress-bar {
|
||||
background-color: #0BA7AD;
|
||||
font-size: 16px;
|
||||
line-height: 28px;
|
||||
}
|
||||
span {
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
color: #002C6C;
|
||||
}
|
||||
p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="grid">
|
||||
<div class="headline col-12 bg-white">
|
||||
<h2>
|
||||
<p class="text-center"><?php echo $_smarty_tpl->tpl_vars['result_headline']->value;?>
|
||||
</p>
|
||||
</h2>
|
||||
<p class="text-center small">(<?php echo $_smarty_tpl->tpl_vars['result_datum_von']->value;?>
|
||||
bis <?php echo $_smarty_tpl->tpl_vars['result_datum_bis']->value;?>
|
||||
)</p>
|
||||
</div>
|
||||
<div class="col-12 ">
|
||||
<table class="table table-sm">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">Vollständige Teilnehmer</th>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['result_anz_fertige']->value;?>
|
||||
</td>
|
||||
<tr>
|
||||
<th scope="row">Teilweise beantwortet</th>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['result_anz_angefangen']->value;?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<?php
|
||||
$__section_table_data_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data_0_total = $__section_table_data_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data_0_total !== 0) {
|
||||
for ($__section_table_data_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_0_iteration <= $__section_table_data_0_total; $__section_table_data_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']++){
|
||||
?>
|
||||
<p class="text-primary"><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['frage'];?>
|
||||
<br>(<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['anz_userfrage'];?>
|
||||
Personen)</p>
|
||||
<?php if ($_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['multiple'] == '1') {?>
|
||||
<p class="small">(Multiple Choice Frage)</p>
|
||||
<?php }?>
|
||||
<?php
|
||||
$__section_inner_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner']) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_inner_1_total = $__section_inner_1_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_inner'] = new Smarty_Variable(array());
|
||||
if ($__section_inner_1_total !== 0) {
|
||||
for ($__section_inner_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] = 0; $__section_inner_1_iteration <= $__section_inner_1_total; $__section_inner_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']++){
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-5">
|
||||
<label>
|
||||
<p class="small"><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['antwort'];?>
|
||||
</p>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-7">
|
||||
<div class="progress">
|
||||
<div class="progress-bar" role="progressbar" aria-valuenow="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['prozent'];?>
|
||||
" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['prozent'];?>
|
||||
%;"><span><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['inner'][(isset($_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_inner']->value['index'] : null)]['prozent'];?>
|
||||
%</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<br>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="grid">
|
||||
|
||||
<div class="col-12 ">
|
||||
<table class="table table-striped">
|
||||
<?php
|
||||
$__section_table_data3_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data3']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data3_2_total = $__section_table_data3_2_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data3_2_total !== 0) {
|
||||
for ($__section_table_data3_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] = 0; $__section_table_data3_2_iteration <= $__section_table_data3_2_total; $__section_table_data3_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum'] = $__section_table_data3_2_iteration;
|
||||
?>
|
||||
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['rownum'] : null) == 1) {?>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><p class="text-primary">Bemerkungen</p></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php }?>
|
||||
<tr>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['freitext'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -0,0 +1,172 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 07:26:23
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\survey_edit.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641d428fde7110_72373996',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'5473cec3045fdc71e0e4856581f2d1efb812d964' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\survey_edit.html',
|
||||
1 => 1679639182,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641d428fde7110_72373996 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>JU & MI Umfragen bearbeiten</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">
|
||||
<?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'; ?>
|
||||
>
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
<?php echo '<script'; ?>
|
||||
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<link rel="stylesheet" href="../bootstrap/node_modules/bootstrap-icons/font/bootstrap-icons.css">
|
||||
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/components/admin_edit.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-edit me-1"></i>
|
||||
Erfasste Umfragen
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<!-- bei mobilen Geäten ausblenden: d-none d-lg-block -->
|
||||
<div class="col-1 d-none d-lg-block"><b>Nr</b></div>
|
||||
<div class="col-5 d-none d-lg-block"><b>Überschrift</b></div>
|
||||
<div class="col-2 d-none d-lg-block"><b>Startdatum</b></div>
|
||||
<div class="col-2 d-none d-lg-block"><b>Enddatum</b></div>
|
||||
<div class="col-2 d-none d-lg-block"><b>Bearbeiten</b></div>
|
||||
</div>
|
||||
<?php
|
||||
$__section_table_data1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data1_0_total = $__section_table_data1_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data1_0_total !== 0) {
|
||||
for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_0_iteration <= $__section_table_data1_0_total; $__section_table_data1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_0_iteration;
|
||||
?>
|
||||
<div class="row mt-0 mb-0">
|
||||
<div class="col-1 col-lg-1 mb-2 mb-sm-3"><?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null);?>
|
||||
</div>
|
||||
<div class="col-9 col-lg-5 mb-2 mb-sm-3"><?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['headline'];?>
|
||||
|
||||
<div class="d-block d-lg-none"><?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['datum_von'];?>
|
||||
-</div>
|
||||
<div class="d-block d-lg-none"><?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['datum_bis'];?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-none d-lg-block col-lg-2 mb-2 mb-sm-3"><?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['datum_von'];?>
|
||||
</div>
|
||||
<div class="d-none d-lg-block col-lg-2 mb-2 mb-sm-3"><?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['datum_bis'];?>
|
||||
</div>
|
||||
<div class="col-2 col-lg-2 mb-2 mb-sm-3">
|
||||
<a href="survey_erfassen.php?edit=1&umid=<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['umid'];?>
|
||||
" class="btn btn-primary btn-rounded btn-icon btn-sm"><i class="fa fa-edit" style="width:18px;"></i></a>
|
||||
<a class="btn btn-success btn-rounded btn-icon btn-sm" data-bs-toggle="modal" value="<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['umid'];?>
|
||||
" onclick="ShowDetails(this)" data-bs-target="#exampleModal"><i class="fa fa-eye" style="width:18px;"></i></a>
|
||||
<a class="btn btn-danger btn-rounded btn-icon btn-sm" onclick="onClickDeleteSurvey(<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['umid'];?>
|
||||
)"><i class="fa fa-trash" style="width:18px;"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- Modal -->
|
||||
<div class="modal" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel">Umfrageergebnis</h5>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
|
||||
<!--<button type="button" class="btn btn-primary">Save changes</button>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<!-- Lösen Sie das Modal mit einem Button aus -->
|
||||
|
||||
|
||||
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
function ShowDetails(a){
|
||||
let value = a.getAttribute("value");
|
||||
$( '.modal-body' ).load( 'result_latest.php?editumid='+value , function () {
|
||||
$( '#exampleModal' ).modal({show: true });
|
||||
});
|
||||
}
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -0,0 +1,107 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 07:25:15
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\parameter.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641d424b5e7026_88417519',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'60770e4a66f5636533d9cacf91dcf9d3cb1e51bf' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\parameter.html',
|
||||
1 => 1679639113,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641d424b5e7026_88417519 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>JU & MI Systemparameter</title>
|
||||
<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="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">
|
||||
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/components/admin_parameter.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-cog me-1"></i>
|
||||
Systemparameter
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<?php
|
||||
$__section_table_data1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data1_0_total = $__section_table_data1_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data1_0_total !== 0) {
|
||||
for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_0_iteration <= $__section_table_data1_0_total; $__section_table_data1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
|
||||
?>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4"><?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['beschreibung'];?>
|
||||
</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="form-control" name="parameter[]" value="<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['wert'];?>
|
||||
"></div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 btn-group">
|
||||
<a class="btn btn-primary mt-3" onclick="onClickSaveParameter()"><i class="fa fa-save" style="width:18px;"></i></a>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -1,18 +1,18 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:02:58
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 07:23:18
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\index.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b26b2c469e3_80177331',
|
||||
'unifunc' => 'content_641d41d6339c56_97883781',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'61084ee676a3c91a4b41c7e50fa536cf9cd1daac' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\index.html',
|
||||
1 => 1679500840,
|
||||
1 => 1679638068,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
@ -20,17 +20,17 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b26b2c469e3_80177331 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_641d41d6339c56_97883781 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="de">
|
||||
<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>Login - SB Admin</title>
|
||||
<title>JU & MI Administration</title>
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<?php echo '<script'; ?>
|
||||
src="all.js" crossorigin="anonymous"><?php echo '</script'; ?>
|
||||
@ -73,12 +73,13 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
|
||||
</div>
|
||||
<?php }?>
|
||||
<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">JU & MI Login</h3>
|
||||
<h3 class="text-center font-weight-light my-4">Login</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<form action=?action=anmeld method="POST" name="login">
|
||||
|
@ -0,0 +1,176 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 13:04:30
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\changepwd.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641d91ce46b972_67242621',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'6db6f41f0bc02f7e26e3e95225e982b8df03345b' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\changepwd.html',
|
||||
1 => 1679659219,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641d91ce46b972_67242621 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>JU & MI Benutzer erstellen</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="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">
|
||||
<style>
|
||||
|
||||
::-ms-reveal {
|
||||
display: none;
|
||||
}
|
||||
|
||||
button#toggle-password {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
right: 4px;
|
||||
z-index: 9;
|
||||
width: 28px;
|
||||
height: 30px;
|
||||
background: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
button#toggle-password:active,
|
||||
button#toggle-password:focus,
|
||||
button#toggle-password:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button#toggle-password:focus {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
.input-password {
|
||||
padding-right: calc(1.5em + 0.75rem);
|
||||
background-repeat: no-repeat;
|
||||
background-position: right calc(0.375em + 0.1875rem) center;
|
||||
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
|
||||
}
|
||||
|
||||
.input-password[type=text]:valid {
|
||||
background-image: url("data:image/svg+xml,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z'/%3E%3Cpath d='M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299l.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z'/%3E%3Cpath d='M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709z'/%3E%3Cpath fill-rule='evenodd' d='M13.646 14.354l-12-12 .708-.708 12 12-.708.708z'/%3E%3C/svg%3E") !important;
|
||||
}
|
||||
|
||||
.input-password[type=password]:valid {
|
||||
background-image: url("data:image/svg+xml,%3Csvg width='1em' height='1em' viewBox='0 0 16 16' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.134 13.134 0 0 0 1.66 2.043C4.12 11.332 5.88 12.5 8 12.5c2.12 0 3.879-1.168 5.168-2.457A13.134 13.134 0 0 0 14.828 8a13.133 13.133 0 0 0-1.66-2.043C11.879 4.668 10.119 3.5 8 3.5c-2.12 0-3.879 1.168-5.168 2.457A13.133 13.133 0 0 0 1.172 8z'/%3E%3Cpath fill-rule='evenodd' d='M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z'/%3E%3C/svg%3E") !important;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/components/admin_changepwd.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-edit me-1"></i>
|
||||
Passwortwechsel
|
||||
</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-4">Altes Passwort:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<div class="input-group">
|
||||
<input type="password" id="password" class="form-control rounded-right" required>
|
||||
<button id="toggle-password" type="button" class="d-none"
|
||||
aria-label="Show password as plain text. Warning: this will display your password on the screen.">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Neues Passwort:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<div class="input-group">
|
||||
<input type="password" id="password_new1" class="form-control rounded-right" required>
|
||||
<button id="toggle-password" type="button" class="d-none"
|
||||
aria-label="Show password as plain text. Warning: this will display your password on the screen.">
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Passwortwiederholung:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<div class="input-group">
|
||||
<input type="password" id="password_new2" class="form-control rounded-right" required>
|
||||
<button id="toggle-password" type="button" class="d-none"
|
||||
aria-label="Show password as plain text. Warning: this will display your password on the screen.">
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p align='center'>
|
||||
<button class="col-6 btn btn-primary btn-sm mt-3" id="save" onclick="changepwd();">Speichern</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="msg"></div>
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/show-password-toggle.js" async><?php echo '</script'; ?>
|
||||
>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -1,18 +1,18 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:02:30
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 07:44:53
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\nav.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b2696e1bf97_12480472',
|
||||
'unifunc' => 'content_641d46e5766180_99358598',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'81c00a8c5d0bbd7d154ad2d8777ef2d3d8c3a749' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\nav.html',
|
||||
1 => 1679500948,
|
||||
1 => 1679640055,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
@ -20,21 +20,25 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b2696e1bf97_12480472 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_641d46e5766180_99358598 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><div id="layoutSidenav_nav">
|
||||
<nav class="bg-juandmi sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
|
||||
<div class="sb-sidenav-menu">
|
||||
<div class="nav">
|
||||
<!--<div class="sb-sidenav-menu-heading">Core</div>-->
|
||||
<a class="nav-link" href="startseite.php">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-house"></i></div>
|
||||
Home
|
||||
</a>
|
||||
<div class="sb-sidenav-menu-heading">Umfrage</div>
|
||||
<a class="nav-link" href="survey_erfassen.php?new=1">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-tachometer-alt"></i></div>
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-pie-chart"></i></div>
|
||||
Erstellen
|
||||
</a>
|
||||
<a class="nav-link" href="survey_edit.php?new=1">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-edit"></i></div>
|
||||
Bearbeiten
|
||||
</a>
|
||||
<!--
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-columns"></i></div>
|
||||
@ -80,10 +84,24 @@ function content_641b2696e1bf97_12480472 (Smarty_Internal_Template $_smarty_tpl)
|
||||
</div>
|
||||
-->
|
||||
<div class="sb-sidenav-menu-heading">Administration</div>
|
||||
<a class="nav-link" href="startseite.php">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-chart-area"></i></div>
|
||||
<a class="nav-link" href="parameter.php">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-cog"></i></div>
|
||||
Systemparameter
|
||||
</a>
|
||||
<a class="nav-link collapsed" href="#" data-bs-toggle="collapse" data-bs-target="#collapseLayouts" aria-expanded="false" aria-controls="collapseLayouts">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-user"></i></div>
|
||||
Benutzerverwaltung
|
||||
<div class="sb-sidenav-collapse-arrow"><i class="fas fa-angle-down"></i></div>
|
||||
</a>
|
||||
<div class="collapse" id="collapseLayouts" aria-labelledby="headingOne" data-bs-parent="#sidenavAccordion">
|
||||
<nav class="sb-sidenav-menu-nested nav">
|
||||
<a class="nav-link" href="create_user.php">Benutzer erstellen</a>
|
||||
<!--<a class="nav-link" href="layout-sidenav-light.html">Light Sidenav</a>-->
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
<a class="nav-link" href="tables.html">
|
||||
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
|
||||
|
@ -0,0 +1,257 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 12:01:27
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\create_user.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641d83072c7a20_98229386',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b24e1617a419553123f2d87b2d94e4b5ba1c4358' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\create_user.html',
|
||||
1 => 1679655638,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641d83072c7a20_98229386 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>JU & MI Benutzer erstellen</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="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">
|
||||
<style>
|
||||
.multiselect-container {
|
||||
position: absolute;
|
||||
list-style-type: none;
|
||||
margin: 5px 0 0 0;
|
||||
width: 100%;
|
||||
padding: 10px 0;
|
||||
border: none;
|
||||
-webkit-box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
-moz-box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14); }
|
||||
|
||||
.multiselect-container .input-group {
|
||||
margin: 5px; }
|
||||
|
||||
.multiselect-container > li {
|
||||
padding: 0;
|
||||
font-size: 14px; }
|
||||
|
||||
.multiselect-container > li > a.multiselect-all label {
|
||||
font-weight: 700;
|
||||
color: gray; }
|
||||
|
||||
.multiselect-container > li.multiselect-group label {
|
||||
margin: 0;
|
||||
padding: 3px 20px 3px 20px;
|
||||
height: 100%;
|
||||
font-weight: 700; }
|
||||
|
||||
.multiselect-container > li.multiselect-group-clickable label {
|
||||
cursor: pointer; }
|
||||
|
||||
.multiselect-container > li > a {
|
||||
padding: 5px 0;
|
||||
color: #000;
|
||||
display: block; }
|
||||
|
||||
.multiselect-container > li > a > label {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding-left: 20px;
|
||||
margin-bottom: 12px;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
.multiselect-container > li > a > label:before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
border: 2px solid rgba(0, 0, 0, 0.2);
|
||||
border-radius: 4px;
|
||||
background-color: transparent;
|
||||
margin-right: 15px;
|
||||
vertical-align: middle; }
|
||||
|
||||
.multiselect-container > li.active > a > label:before {
|
||||
font-family: 'fontAwesome';
|
||||
content: "\f00c";
|
||||
color: #fff;
|
||||
background-color: #52de97;
|
||||
border: 0;
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
line-height: 1.2;
|
||||
padding-left: 2px; }
|
||||
|
||||
.multiselect-container > li > a > label.radio, .multiselect-container > li > a > label.checkbox {
|
||||
margin: 0; }
|
||||
|
||||
.multiselect-container > li > a > label > input[type=checkbox] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
cursor: pointer;
|
||||
height: 0;
|
||||
width: 0; }
|
||||
|
||||
.btn-group > .btn-group:nth-child(2) > .multiselect.btn {
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px; }
|
||||
|
||||
.form-inline .multiselect-container label.checkbox, .form-inline .multiselect-container label.radio {
|
||||
padding: 3px 20px 3px 40px; }
|
||||
|
||||
.form-inline .multiselect-container li a label.checkbox input[type=checkbox],
|
||||
.form-inline .multiselect-container li a label.radio input[type=radio] {
|
||||
margin-left: -20px;
|
||||
margin-right: 0; }
|
||||
|
||||
.btn-group {
|
||||
height: 52px;
|
||||
width: calc(100% - 150px); }
|
||||
.btn-group button {
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
-webkit-box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
-moz-box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
padding: 0 10px;
|
||||
text-align: left;
|
||||
position: relative; }
|
||||
.btn-group button:after {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 20px;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-ms-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
color: #999999; }
|
||||
.btn-group button:focus {
|
||||
-webkit-box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
-moz-box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
box-shadow: 0px 10px 23px -16px rgba(0, 0, 0, 0.14);
|
||||
padding: 0 10px; }
|
||||
|
||||
.sl {
|
||||
color: gray;
|
||||
width: 150px; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body class="sb-nav-fixed">
|
||||
<div id="navtop"></div>
|
||||
|
||||
<?php echo '<script'; ?>
|
||||
>
|
||||
$(function(){
|
||||
// im Navbar muss der toggle in der Callbackfunktion definiert werden. Sonst findet jquery getelementbyID nicht
|
||||
$("#navtop").load('navtop.php', null, function(){$.getScript('js/scripts.js');});
|
||||
$("#navleft").load("nav.php");
|
||||
$("#footer").load("footer.php");
|
||||
});
|
||||
<?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div id="layoutSidenav">
|
||||
<!-- Navigation left -->
|
||||
<div id="navleft"></div>
|
||||
<div id="layoutSidenav_content">
|
||||
<main>
|
||||
<!--Anwendung-->
|
||||
<?php echo '<script'; ?>
|
||||
src="../js/components/admin_create_user.js"><?php echo '</script'; ?>
|
||||
>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-edit me-1"></i>
|
||||
Benutzer erstellen
|
||||
</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-4">Vorname:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="form-control" name="vorname" id="vorname" value="<?php echo $_smarty_tpl->tpl_vars['user_anlegen_vorname']->value;?>
|
||||
"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Nachname:</div>
|
||||
<div class="col-12 col-md-8"><input type="text" class="form-control" name="nachname" id="nachname" value="<?php echo $_smarty_tpl->tpl_vars['user_anlegen_nachname']->value;?>
|
||||
"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Mailadresse:</div>
|
||||
<div class="col-12 col-md-8"><input type="email" class="form-control" name="mail" id="mail" value="<?php echo $_smarty_tpl->tpl_vars['user_anlegen_mail']->value;?>
|
||||
" onkeyup="checkUser()"></div>
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
<div class="col-12 col-md-4">Rolle:</div>
|
||||
<div class="col-12 col-md-8">
|
||||
<select name="rollen[]"class="form-control" id="rollen" multiple="multiple">
|
||||
<?php
|
||||
$__section_table_data_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
|
||||
$__section_table_data_0_total = $__section_table_data_0_loop;
|
||||
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
|
||||
if ($__section_table_data_0_total !== 0) {
|
||||
for ($__section_table_data_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_0_iteration <= $__section_table_data_0_total; $__section_table_data_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']++){
|
||||
?>
|
||||
<option value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['rid'];?>
|
||||
"><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['bezeichnung'];?>
|
||||
</option>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<p align='center'>
|
||||
<button class="col-6 btn btn-primary btn-sm mt-3" id="save" onclick="usersave();">Speichern</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="msg"></div>
|
||||
<div id="msg1"></div>
|
||||
</main>
|
||||
<!-- footer -->
|
||||
<div id="footer"></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<?php }
|
||||
}
|
||||
}
|
@ -1,18 +1,18 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:02:01
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 09:07:50
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\survey_erfassen.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b26798c33f0_88033525',
|
||||
'unifunc' => 'content_641d5a563f9774_23770210',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'b3a308ee2af3bf7c7926a28ad9259929ec1e5ab1' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\survey_erfassen.html',
|
||||
1 => 1679500872,
|
||||
1 => 1679645265,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
@ -20,10 +20,12 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b26798c33f0_88033525 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_641d5a563f9774_23770210 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>JU & MI Umfragen erfassen</title>
|
||||
<link rel="stylesheet" href="../jquery/jquery-ui.css">
|
||||
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
|
||||
<?php echo '<script'; ?>
|
||||
@ -45,7 +47,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
src="../jquery/jquery.timepicker.min.js"><?php echo '</script'; ?>
|
||||
>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<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'; ?>
|
||||
>
|
||||
@ -182,7 +184,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
<div class="container-fluid">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table me-1"></i>
|
||||
<i class="fas fa-pie-chart me-1"></i>
|
||||
Zeitraum der Umfrage und Bezeichnung
|
||||
</div>
|
||||
<div class="row mt-0 mt-sm-4 mb-0 mb-sm-4">
|
||||
@ -222,7 +224,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 btn-group">
|
||||
<input type='submit' class="btn btn-primary" name='senden' value="Weiter - Fragen erfassen">
|
||||
<input type='submit' class="btn btn-primary mt-3" name='senden' value="Weiter - Fragen erfassen">
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
@ -242,7 +244,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == 'fragen') {?>
|
||||
<meta name="keywords" content="Bootstrap, Bootstrap 5, Tabs">
|
||||
<meta name="author" content="Federico Navarrete">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<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'; ?>
|
||||
>
|
||||
@ -308,7 +310,7 @@ if ($_smarty_tpl->tpl_vars['action']->value == 'fragen') {?>
|
||||
function(data){
|
||||
var a = data.split('|***|');
|
||||
if(a[1]=="update"){
|
||||
$('#msg').show().delay(1000).fadeOut(500);
|
||||
$('#msg').show().delay(5000).fadeOut(500);
|
||||
$('#msg').html(a[0]);
|
||||
}
|
||||
}
|
||||
@ -388,8 +390,8 @@ if ($_smarty_tpl->tpl_vars['action']->value == 'fragen') {?>
|
||||
</div>
|
||||
<p align='center'>
|
||||
<div class="col-12">
|
||||
<a type="submit" href="?" class="btn btn-light btn-sm">Zurück</a>
|
||||
<button class="btn btn-primary btn-sm" id="save" onclick="erfassensave();">Speichern</button>
|
||||
<a type="submit" href="?" class="btn btn-light btn-sm mt-3">Zurück</a>
|
||||
<button class="btn btn-primary btn-sm mt-3" id="save" onclick="erfassensave();">Speichern</button>
|
||||
</div>
|
||||
</p>
|
||||
<div class="card">
|
||||
@ -432,8 +434,8 @@ $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__sec
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="20%">Sortierung</th>
|
||||
<th width="60%">Antwort</th>
|
||||
<th width="20%">Löschen</th>
|
||||
<th width="70%">Antwort</th>
|
||||
<th width="10%">Löschen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tb">
|
||||
@ -451,8 +453,8 @@ $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__sec
|
||||
</td>
|
||||
<td valign="middle"><?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['antwort'];?>
|
||||
</td>
|
||||
<td valign="middle"><button class="btn btn-delete btn-danger btn-sm" onclick="onClickDelete(<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['uaid'];?>
|
||||
)">Löschen</button></td>
|
||||
<td valign="middle"><button class="btn btn-delete btn-danger btn-rounded btn-icon" onclick="onClickDelete(<?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['uaid'];?>
|
||||
)"><i class="fa fa-trash"></i></button></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
@ -1,18 +1,18 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 16:59:56
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 07:23:23
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\startseite.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b25fca4ec71_29046760',
|
||||
'unifunc' => 'content_641d41db4693a5_86181476',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'eefbc054a71eb9a54ff5facb15ab71dc63db3dcc' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\startseite.html',
|
||||
1 => 1679500793,
|
||||
1 => 1679638069,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
@ -20,17 +20,17 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b25fca4ec71_29046760 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_641d41db4693a5_86181476 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>JU & MI Startseite</title>
|
||||
<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>Dashboard - SB Admin</title>
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.ali.css" rel="stylesheet">
|
||||
<link href="../bootstrap/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!-- nochmals bootstrap.css mit Erweiterungen vom Dashboard -->
|
||||
<link href="css/styles.css" rel="stylesheet" />
|
||||
<!-- icons in nav-->
|
||||
|
@ -1,18 +1,18 @@
|
||||
<?php
|
||||
/* Smarty version 3.1.39, created on 2023-03-22 17:01:58
|
||||
/* Smarty version 3.1.39, created on 2023-03-24 12:24:07
|
||||
from 'C:\xampp_8.0.9\htdocs\survey\templates\modern\dashboard\navtop.html' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '3.1.39',
|
||||
'unifunc' => 'content_641b2676307511_36618138',
|
||||
'unifunc' => 'content_641d88573d5123_95321232',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'fbe82feaa632818ff9ecad86ba177b47f9b345b0' =>
|
||||
array (
|
||||
0 => 'C:\\xampp_8.0.9\\htdocs\\survey\\templates\\modern\\dashboard\\navtop.html',
|
||||
1 => 1679500891,
|
||||
1 => 1679657038,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
@ -20,11 +20,11 @@ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
array (
|
||||
),
|
||||
),false)) {
|
||||
function content_641b2676307511_36618138 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
function content_641d88573d5123_95321232 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
?><!--Navigation top-->
|
||||
<nav class="bg-juandmi sb-topnav navbar navbar-expand navbar-dark">
|
||||
<!-- Navbar Brand-->
|
||||
<a class="navbar-brand ps-3" href="index.html">Administration JU & MI</a>
|
||||
<a class="navbar-brand ps-3" href="startseite.php">Administration JU & MI</a>
|
||||
<!-- Sidebar Toggle: js/scripts.js in der callbackfunktion vom Load aufrufen beim einbetten-->
|
||||
<button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
||||
<!-- Navbar Search-->
|
||||
@ -46,6 +46,7 @@ function content_641b2676307511_36618138 (Smarty_Internal_Template $_smarty_tpl)
|
||||
<li><a class="dropdown-item" href="#!">Activity Log</a></li>
|
||||
<li><hr class="dropdown-divider" /></li>
|
||||
-->
|
||||
<li><a class="dropdown-item" href="changepwd.php">Passwortwechsel</a></li>
|
||||
<li><a class="dropdown-item" href="logout.php">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user