Änderungen admin

This commit is contained in:
aschwarz
2023-03-20 17:22:01 +01:00
parent 83ce22c602
commit 4bb21bf23c
600 changed files with 112525 additions and 615 deletions

View File

@ -23,6 +23,10 @@
height: 15px;
font-size: 12px !important;
}
.btn-group > .btn{
margin-bottom:20px;
border-radius:20px !important;
}
</style>
<script>
$( function() {
@ -125,6 +129,7 @@
.form-control{
width:50%;
}
</style>
</head>
<body>
@ -213,6 +218,22 @@
<input class="form-control" type="text" name="headline" id="headline" value="{$umfrageerf_value_headline}" size="60">
</td>
</tr>
<tr>
<td width="30%">&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Bemerkungsfeld am Ende der Umfrage:
</td>
<td valign="top">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" name="freitext" id="freitext" value="{$umfrageerf_value_freitext}" {if $umfrageerf_value_freitext == 1} checked {/if}>
</div>
</td>
</tr>
<tr>
<td>&nbsp;
</td>
@ -222,7 +243,9 @@
</table>
<br />
<p align='center'>
<div class="col-12 btn-group">
<input type='submit' class="btn btn-primary" name='senden' value="Weiter - Fragen erfassen">
</div>
</p>
<br />
</fieldset>
@ -247,6 +270,12 @@
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
-->
<script src="../jquery/jquery-ui.js"></script>
<style>
.btn-group > .btn{
margin-bottom:20px;
border-radius:20px !important;
}
</style>
<script type="text/javascript">
{literal}
@ -381,10 +410,29 @@
<input class="form-control" type="text" name="antwort" id="antwort" value="{$umfrageerf_value_antwort}" size="60">
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Mehrfachantworten erlauben:
</td>
<td valign="top">
<input class="form-check-input" type="checkbox" name="multiple" id="multiple" value="1" {if $umfrageerf_value_multiple == 1} checked {/if}>
</td>
</tr>
</table>
<br />
<p align='center'>
<input type='submit' class="btn btn-primary" name='senden' value="Speichern">
<div class="col-12 btn-group">
<a type="submit" href="?" class="btn btn-light">Zurück - Stammdaten bearbeiten</a>
<input type='submit' class="btn btn-primary" name='senden' value="Frage/Antwort Speichern">
</div>
</p>
<br />
</fieldset>
@ -400,7 +448,7 @@
<div class="wrapper-nav">
<nav class="nav nav-tabs list mt-2" id="myTab" role="tablist">
{section name=table_data1 loop=$table_data1}
<a {if $table_data1[table_data1].ufid == $umfrageerf_gesp_werte_value_ufid2} class="nav-item nav-link pointer active" {else} class="nav-item nav-link pointer" {/if} data-bs-target="#tab{$table_data1[table_data1].ufid}" href="?action=fragen&tabufid={$table_data1[table_data1].ufid}"role="tab" aria-controls="public" {if $smarty.section.table_data1.rownum == $umfrageerf_gesp_werte_value_ufid2} aria-selected="true" {/if}>Frage {$smarty.section.table_data1.rownum}</a>
<a {if $table_data1[table_data1].ufid == $umfrageerf_gesp_werte_value_ufid2} class="nav-item nav-link pointer active" {else} class="nav-item nav-link pointer" {/if} data-bs-target="#tab{$table_data1[table_data1].ufid}" href="?action=fragen&tabufid={$table_data1[table_data1].ufid}&erfassen=1"role="tab" aria-controls="public" {if $smarty.section.table_data1.rownum == $umfrageerf_gesp_werte_value_ufid2} aria-selected="true" {/if}>Frage {$smarty.section.table_data1.rownum}</a>
<!--
<a class="nav-item nav-link pointer active" data-bs-toggle="tab" data-bs-target="#tab1" role="tab" aria-controls="public" aria-selected="true">Tab1</a>
<a class="nav-item nav-link pointer" data-bs-target="#tab2" role="tab" data-bs-toggle="tab">Tab 2</a>
@ -410,7 +458,7 @@
<a class="nav-item nav-link pointer" data-bs-target="#tab6" role="tab" data-bs-toggle="tab">Tab 6</a>
-->
{/section}
<a class="nav-item nav-link pointer" data-bs-target="#neuefrage" href="?action=fragen&tabufid=neuefrage" role="tab">Neue Frage</a>
<a class="nav-item nav-link pointer" data-bs-target="#neuefrage" href="?action=fragen&tabufid=neuefrage&erfassen=1" role="tab">Neue Frage</a>
</nav>
</div>
<div class="tab-content p-3" id="myTabContent">