init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
|
|
@ -0,0 +1,203 @@
|
|||
<?php
|
||||
/* Smarty version 4.3.0, created on 2024-05-06 17:57:39
|
||||
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_setup.tpl' */
|
||||
|
||||
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||||
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||||
'version' => '4.3.0',
|
||||
'unifunc' => 'content_6638fdf387a874_67160844',
|
||||
'has_nocache_code' => false,
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'fb1f084cada24d0b8edb8cda618b5f684d9cae3f' =>
|
||||
array (
|
||||
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_setup.tpl',
|
||||
1 => 1710858116,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
'file:tpl/ajax/_ma_subm.tpl' => 1,
|
||||
),
|
||||
),false)) {
|
||||
function content_6638fdf387a874_67160844 (Smarty_Internal_Template $_smarty_tpl) {
|
||||
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<div class="max">
|
||||
<table class="no-style full" style="font-size: 16px; line-height: 20px">
|
||||
<body>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tt']->value, 'tx');
|
||||
$_smarty_tpl->tpl_vars['tx']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tx']->value) {
|
||||
$_smarty_tpl->tpl_vars['tx']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:28px">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tx']->value['aktiv'] != 0) {?>
|
||||
<td width="160px" style="color: #aaa"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td width="160px" style="color: #555"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
|
||||
<td width="80px" align="center">
|
||||
<label class="md_switch">
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['tx']->value['on'] != 0) {?>
|
||||
<input checked type="checkbox" name="tts" id="aktiv" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
|
||||
,<?php echo $_smarty_tpl->tpl_vars['tx']->value['sid'];?>
|
||||
); ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
|
||||
)"/>
|
||||
<?php } else { ?>
|
||||
<input type="checkbox" name="tts" id="aktiv" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
|
||||
,<?php echo $_smarty_tpl->tpl_vars['tx']->value['sid'];?>
|
||||
); ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
|
||||
)"/>
|
||||
<?php }?>
|
||||
<span class="md_switch__toggle"></span>
|
||||
</label>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--
|
||||
<div class="max">
|
||||
<table class="no-style full" style="font-size: 16px; line-height: 20px">
|
||||
<body>
|
||||
<?php
|
||||
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tt']->value, 'tx');
|
||||
$_smarty_tpl->tpl_vars['tx']->do_else = true;
|
||||
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tx']->value) {
|
||||
$_smarty_tpl->tpl_vars['tx']->do_else = false;
|
||||
?>
|
||||
<tr style="line-height:28px">
|
||||
<?php if ($_smarty_tpl->tpl_vars['tx']->value['aktiv'] != 0) {?>
|
||||
<td width="160px" style="color: #aaa"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
|
||||
</td>
|
||||
<?php } else { ?>
|
||||
<td width="160px" style="color: #555"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
|
||||
</td>
|
||||
<?php }?>
|
||||
|
||||
<?php if ($_smarty_tpl->tpl_vars['tx']->value['on'] != 0) {?>
|
||||
<td width="80px" align="center" style="color: green"><i class="fad fa-route" onclick="ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
|
||||
)" style="font-size: 26px"></i></td>
|
||||
<?php } else { ?>
|
||||
<td width="80px" align="center" style="color: darkred"><i class="fad fa-times" onclick="ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
|
||||
)" style="font-size: 26px"></i></td>
|
||||
<?php }?>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
}
|
||||
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
|
||||
</body>
|
||||
</table>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<style>
|
||||
#@import url(http://fonts.googleapis.com/css?family=Open+Sans);
|
||||
|
||||
body {
|
||||
background: #F5F5F5;
|
||||
}
|
||||
|
||||
.md_switch {
|
||||
display: inline-flex;
|
||||
font-family: "Open Sans";
|
||||
align-items: center;
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
.md_switch .md_switch__toggle {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.md_switch [type=checkbox] {
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* default states */
|
||||
|
||||
.md_switch .md_switch__toggle::before,
|
||||
.md_switch .md_switch__toggle::after {
|
||||
content: '';
|
||||
display: block;
|
||||
margin: 0 3px;
|
||||
transition: all 100ms cubic-bezier(0.4, 0.0, 0.2, 1);
|
||||
background: #BDBDBD;
|
||||
}
|
||||
|
||||
.md_switch .md_switch__toggle::before {
|
||||
height: 1.3em;
|
||||
width: 3em;
|
||||
border-radius: 0.65em;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.md_switch .md_switch__toggle::after {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translate(0, -50%);
|
||||
height: 1.4em;
|
||||
width: 1.4em;
|
||||
border-radius: 50%;
|
||||
box-shadow: 0 0 8px rgba(0,0,0,0.2), 0 0 2px rgba(0,0,0,0.4);
|
||||
}
|
||||
|
||||
/* special states */
|
||||
.md_switch [type=checkbox]:focus+.md_switch__toggle {
|
||||
outline: #333 solid 0px;
|
||||
box-shadow: 0 0 8px #333;
|
||||
}
|
||||
|
||||
.md_switch [type=checkbox]:disabled+.md_switch__toggle {
|
||||
cursor: not-allowed;
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.md_switch [type=checkbox]:disabled+.md_switch__toggle::after {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* checked states */
|
||||
|
||||
.md_switch [type=checkbox]:checked+.md_switch__toggle::before,
|
||||
.md_switch [type=checkbox]:checked+.md_switch__toggle::after{
|
||||
background: #115270;
|
||||
}
|
||||
|
||||
.md_switch [type=checkbox]:checked+.md_switch__toggle::after {
|
||||
transform: translate(calc(3em - 100%), -50%);
|
||||
}
|
||||
</style>
|
||||
<?php }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue