diff options
Diffstat (limited to 'app/Resources/views/default')
-rw-r--r-- | app/Resources/views/default/AllData.html.twig | 35 | ||||
-rw-r--r-- | app/Resources/views/default/LastWeekData.html.twig | 35 | ||||
-rw-r--r-- | app/Resources/views/default/TrainSchedule.html.twig | 28 | ||||
-rw-r--r-- | app/Resources/views/default/index.html.twig | 34 |
4 files changed, 0 insertions, 132 deletions
diff --git a/app/Resources/views/default/AllData.html.twig b/app/Resources/views/default/AllData.html.twig deleted file mode 100644 index 7bc33af..0000000 --- a/app/Resources/views/default/AllData.html.twig +++ /dev/null @@ -1,35 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block body %} -<div class="columns"> - <div class="column is-narrow"> -<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> - </div> - <div class="column"> -<canvas id="ctx"></canvas> - </div> -</div> -{% 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/AllDataChart.js') }}"></script -{% endblock %}
\ No newline at end of file diff --git a/app/Resources/views/default/LastWeekData.html.twig b/app/Resources/views/default/LastWeekData.html.twig deleted file mode 100644 index fdc6dd9..0000000 --- a/app/Resources/views/default/LastWeekData.html.twig +++ /dev/null @@ -1,35 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block body %} -<div class="columns"> - <div class="column is-narrow"> -<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> - </div> - <div class="column"> -<canvas id="ctx"></canvas> - </div> -</div> -{% 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/LastWeekDataChart.js') }}"></script -{% endblock %}
\ No newline at end of file diff --git a/app/Resources/views/default/TrainSchedule.html.twig b/app/Resources/views/default/TrainSchedule.html.twig deleted file mode 100644 index efc94ec..0000000 --- a/app/Resources/views/default/TrainSchedule.html.twig +++ /dev/null @@ -1,28 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block body %} -<table class="table"> - <thead class="thead"> - <tr class="tr"> - <th>Name</th> - <th>Time</th> - <th>Date</th> - <th>Destination</th> - <th>AQI</th> - </tr> - </thead> - <tbody class="tbody"> - <tr class="tr"> - {% for table in data %} - <td class="td">{{ table.name }}</td> - <td class="td">{{ table.time }}</td> - <td class="td">{{ table.date }}</td> - <td class="td">{{ table.finalStop }}</td> - <td class="td">{{ table.direction }}</td> - </tr> - </tbody> - {% endfor %} -</table> -{% endblock %} -{% block javascripts %} -{% endblock %}
\ No newline at end of file diff --git a/app/Resources/views/default/index.html.twig b/app/Resources/views/default/index.html.twig deleted file mode 100644 index 176f519..0000000 --- a/app/Resources/views/default/index.html.twig +++ /dev/null @@ -1,34 +0,0 @@ -{% extends 'base.html.twig' %} - -{% block body %} - <div class="columns"> - <div class="column"> - <table class="table"> - <thead class="thead"> - <tr class="tr"> - <th class="td">TimeStamp</th> - <th class="td">Co</th> - <th class="td">No</th> - <th class="td">So</th> - </tr> - </thead> - <tbody class="tbody"> - <tr id="latest" class="tr"> - <td class="td">{{ TimeStamp }}</td> - <td class="td">{{ Co }}</td> - <td class="td">{{ No }}</td> - <td class="td">{{ So }}</td> - </tr> - </tbody> - </table> - <p id="aq">The current air quality index is <strong>{{ Aqi }}</strong></p> - </div> - <div class="column"> - <img src="https://www.ourair.org/wp-content/uploads/AQItable.gif"> - </div> - </div> - -{% endblock %} -{% block javascripts %} - <script src="{{ asset('js/realtime.js') }}"></script> -{% endblock %} |