{% extends 'base.html.twig' %}
{% block js %}
    <script>
var json = {{ test|raw }};
    </script>
	<script src="js/chart.umd.js"></script>
	<script src="js/pluslife.js"></script>
	<script src="js/plweb.js"></script>
{% endblock %}

{% block title %}PlusLifeWeb Test Analyse{% endblock %}
{% block header %}Test Analyse{% endblock %}

{% block content %}
<div id="datacontainer" hidden="hidden">
	<div class="row justify-content-center chart-container" style="position: relative; min-height: 400px; max-height:600px;">
		<canvas id="data"></canvas>
	</div>
	<table class="mx-auto w-auto ergebnistabelle">
		<tbody>
			<tr><th scope="row">Teststart:</th><td><span id="testdate"></span></tr>
			<tr><th scope="row">Ergebnis:</th><td><span id="testresult" class="gesamtergebnis"></span></tr>
			<tr><th scope="row">Kanäle:</th><td><div class="col justify-content-center" id="testresult_channels"></div></td></tr>
		</tbody>
	</table>
</div>
<div class="row text-center">
	<div class="col">
		<span id="error" style="color: red;display: none;"></span>
	</div>
</div>

{% endblock %}

