valid HTML5 and some text changes
authorgregor herrmann <gregor@toastfreeware.priv.at>
Wed, 30 May 2018 23:55:33 +0000 (01:55 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Wed, 30 May 2018 23:55:33 +0000 (01:55 +0200)
web/static/seepark_web.js
web/templates/seepark_web.html

index 504520f072187ae0bf9d49a788cb3fcf054d65bb..3494dbb89525507aaafd29316ee494bc4f419ecd 100644 (file)
@@ -1,7 +1,7 @@
 var chart = c3.generate({
        bindto: '#chart',
        title: {
-               text: 'Seepark'
+               text: 'Temperaturen'
        },
        data: {
                url: '/data',
index 29057bed93052b45da87555676631ae5f467ea8c..250298ffa0d91373614d29f548f66bfb97854f74 100644 (file)
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="de">
        <head>
                <!-- Load c3.css -->
                <link href="{{url_for('static', filename='c3.css')}}" rel="stylesheet">
@@ -7,10 +8,10 @@
                <script src="{{url_for('static', filename='d3.js')}}" charset="utf-8"></script>
                <script src="{{url_for('static', filename='c3.js')}}"></script>
 
-               <title>Hi! :-)</title>
+               <title>Seepark Obsteig</title>
        </head>
        <body>
-               <h1>Hello world</h1>
+               <h1>Daten zum Seepark Obsteig</h1>
                <div id="chart"></div>
 
                <!-- Load own javascript code -->