{% 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>
	<div class="row text-center">
		<div class="col">
			<div class="row">
				<div class="col">
					<strong>Datum: </strong><span id="testdate"></span><br />
					<strong>Ergebnis: </strong><span id="testresult"></span><br />
				</div>
			</div>
			<div class="row">
				<div class="col justify-content-center" id="testresult_channels"></div>
			</div>
		</div>
	</div>
</div>
<div class="row text-center">
	<div class="col">
		<span id="error" style="color: red;display: none;"></span>
	</div>
</div>

{% endblock %}

