diff options
| author | marwolaethblack <a.unal677@gmail.com> | 2017-11-24 10:48:31 +0100 | 
|---|---|---|
| committer | marwolaethblack <a.unal677@gmail.com> | 2017-11-24 10:48:31 +0100 | 
| commit | 1e0b1fa7ac2ad0ae07591aca296e3ef33839ef5e (patch) | |
| tree | 417957cd569b27919468d46ea6e22009208ef1b5 /app | |
| parent | 8a476ef960d6cb20a580334f1e95f11abd069a07 (diff) | |
add real time data every 60sec
Diffstat (limited to 'app')
| -rw-r--r-- | app/Resources/views/default/index.html.twig | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/app/Resources/views/default/index.html.twig b/app/Resources/views/default/index.html.twig index cc24f54..36180cb 100644 --- a/app/Resources/views/default/index.html.twig +++ b/app/Resources/views/default/index.html.twig @@ -2,7 +2,6 @@  {% block body %}      <div id="wrapper"> -        A          <table>              <tr>                  <th>TimeStamp</th> @@ -10,7 +9,7 @@                  <th>No</th>                  <th>So</th>              </tr> -            <tr> +            <tr id="latest">                  <td>{{ TimeStamp }}</td>                  <td>{{ Co }}</td>                  <td>{{ No }}</td> @@ -19,4 +18,6 @@          </table>      </div>  {% endblock %} - +{% block javascripts %} +    <script src="{{ asset('js/realtime.js') }}"></script> +{% endblock %} |