aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcinzelent <zelent.marcin@gmail.com>2017-12-07 12:38:55 +0100
committermarcinzelent <zelent.marcin@gmail.com>2017-12-07 12:38:55 +0100
commit322b79babf45b1bff0d219cfbf10524b975075fd (patch)
tree8c446d180439567f628ee55e635daa54503d3702 /app/Resources/views/default/AllDataPage.html.twig
parent8ca07955ad080f97713bdd6304cea6117be1bc52 (diff)
Split all data and data from last week, moved chart to the right side of the page.
Diffstat (limited to 'app/Resources/views/default/AllDataPage.html.twig')
-rw-r--r--app/Resources/views/default/AllDataPage.html.twig29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/Resources/views/default/AllDataPage.html.twig b/app/Resources/views/default/AllDataPage.html.twig
deleted file mode 100644
index 4607049..0000000
--- a/app/Resources/views/default/AllDataPage.html.twig
+++ /dev/null
@@ -1,29 +0,0 @@
-{% extends 'base.html.twig' %}
-
-{% block body %}
-<table class="table">
- <thead class="thead">
- <tr class="tr">
- <th>TimeStamp</th>
- <th>Co</th>
- <th>No</th>
- <th>So</th>
- </tr>
- </thead>
- <tbody class="tbody">
- <tr class="tr">
- {% for table in data %}
- <td class="td">{{ table.TimeStamp }}</td>
- <td class="td">{{ table.Co }}</td>
- <td class="td">{{ table.No }}</td>
- <td class="td">{{ table.So }}</td>
- </tr>
- </tbody>
- {% endfor %}
-</table>
-<canvas id="ctx"></canvas>
-{% endblock %}
-{% block javascripts %}
- <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.1/Chart.bundle.min.js"></script>
- <script src="{{ asset('js/chartOfReadings.js') }}"></script
-{% endblock %} \ No newline at end of file