]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/templates/seepark_web.html
next attempt with the reload-on-zoom function. not yet working, esp. one doesn't...
[chrisu/seepark.git] / web / templates / seepark_web.html
index 250298ffa0d91373614d29f548f66bfb97854f74..746e9a5ce5cd8e134e4233d1a78b5537bd827fb3 100644 (file)
@@ -1,9 +1,14 @@
 <!DOCTYPE html>
 <html lang="de">
        <head>
 <!DOCTYPE html>
 <html lang="de">
        <head>
+               <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
                <!-- Load c3.css -->
                <link href="{{url_for('static', filename='c3.css')}}" rel="stylesheet">
 
                <!-- Load c3.css -->
                <link href="{{url_for('static', filename='c3.css')}}" rel="stylesheet">
 
+               <!-- Load own css -->
+               <link href="{{url_for('static', filename='seepark_web.css')}}" rel="stylesheet">
+
                <!-- Load d3.js and c3.js -->
                <script src="{{url_for('static', filename='d3.js')}}" charset="utf-8"></script>
                <script src="{{url_for('static', filename='c3.js')}}"></script>
                <!-- Load d3.js and c3.js -->
                <script src="{{url_for('static', filename='d3.js')}}" charset="utf-8"></script>
                <script src="{{url_for('static', filename='c3.js')}}"></script>
        <body>
                <h1>Daten zum Seepark Obsteig</h1>
                <div id="chart"></div>
        <body>
                <h1>Daten zum Seepark Obsteig</h1>
                <div id="chart"></div>
+               <div id="buttonbar">
+                       <button onclick="loaddays(1)">Tag</button>
+                       <button onclick="loaddays(7)">Woche</button>
+                       <button onclick="loaddays(30)">Monat</button>
+                       <button onclick="loaddays(365)">Jahr</button>
+               </div>
 
                <!-- Load own javascript code -->
                <script src="{{url_for('static', filename='seepark_web.js')}}"></script>
 
                <!-- Load own javascript code -->
                <script src="{{url_for('static', filename='seepark_web.js')}}"></script>