aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <zelent.marcin@gmail.com>2018-03-16 17:53:32 +0100
committerMarcin Zelent <zelent.marcin@gmail.com>2018-03-16 17:53:32 +0100
commit1ab2b90b02705e206680b5428bf1fbaec6438132 (patch)
tree8ee964fdf84ff49c22ac6449a178da9d1e67eeb0 /app/Resources
parented01011dfb563e7d8ab13b6a0718eed7bf857880 (diff)
Removed old files.
Diffstat (limited to 'app/Resources')
-rw-r--r--app/Resources/views/base.html.twig33
-rw-r--r--app/Resources/views/default/AllData.html.twig35
-rw-r--r--app/Resources/views/default/LastWeekData.html.twig35
-rw-r--r--app/Resources/views/default/TrainSchedule.html.twig28
-rw-r--r--app/Resources/views/default/index.html.twig34
5 files changed, 0 insertions, 165 deletions
diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig
deleted file mode 100644
index f8d8374..0000000
--- a/app/Resources/views/base.html.twig
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="UTF-8" />
- <title>{% block title %}Welcome!{% endblock %}</title>
- {% block stylesheets %}{% endblock %}
- <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.1/css/bulma.min.css"/>
- </head>
- <body>
- <nav class="navbar" role="navigation" aria-label="main navigation" style="margin: 0 0 3em 0">
- <div class="navbar-brand">
- <a class="navbar-item" href="/">
- <img src="https://cdn3.iconfinder.com/data/icons/christmas-icon-set-pixel-perfect/64/christmas-color-12-512.png" alt="Pollutometer" width="50px" height="auto">
- <span>Pollutometer</span>
- </a>
- <a class="navbar-item" href="/AllData">
- <span>All Data</span>
- </a>
- <a class="navbar-item" href="/LastWeekData">
- <span>Last Week Data</span>
- </a>
- <a class="navbar-item" href="/TrainSchedule">
- <span>Train Schedule</span>
- </a>
- </div>
- </nav>
- <div class="container">
- {% block body %}{% endblock %}
- </div>
- {% block javascripts %}{% endblock %}
- </body>
-</html>
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 %}