Auswertung Umfrage korrigiert. Übersprungene Antworten, 2 Dezimalstellen

This commit is contained in:
aschwarz
2023-09-27 08:02:54 +02:00
parent 31861a313d
commit 3382b3643d
2 changed files with 30 additions and 14 deletions

View File

@ -52,6 +52,7 @@ p {
<div class="col-12 ">
<table class="table table-sm">
<tbody>
<!--
<tr>
<th scope="row">Vollständige Teilnehmer</th>
<td>{$result_anz_fertige}</td>
@ -59,6 +60,11 @@ p {
<th scope="row">Teilweise beantwortet</th>
<td>{$result_anz_angefangen}</td>
</tr>
-->
<tr>
<th scope="row">Anzahl Teilnehmer</th>
<td>{$result_anz_teilnehmer}</td>
</tr>
</tbody>
</table>
</div>
@ -66,7 +72,7 @@ p {
</div>
<div class="container">
{section name=table_data loop=$table_data}
<p class="text-primary">{$table_data[table_data].frage}<br>({$table_data[table_data].anz_userfrage} Personen)</p>
<p class="text-primary">{$table_data[table_data].frage}<br>({$table_data[table_data].anz_userfrage} Antworten)</p>
{if $table_data[table_data].multiple == '1'}
<p class="small">(Multiple Choice Frage)</p>
{/if}
@ -79,7 +85,7 @@ p {
</div>
<div class="col-7">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="{$table_data[table_data].inner[inner].prozent}" aria-valuemin="0" aria-valuemax="100" style="width: {$table_data[table_data].inner[inner].prozent}%;"><span>{$table_data[table_data].inner[inner].prozent}%</span></div>
<div class="progress-bar" role="progressbar" aria-valuenow="{$table_data[table_data].inner[inner].prozent}" aria-valuemin="0" aria-valuemax="100" style="width: {$table_data[table_data].inner[inner].prozent}%;"><span>{$table_data[table_data].inner[inner].prozent2}%</span></div>
</div>
</div>
</div>