]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/templates/seepark_web.html
html template: use minified js/css for c3 and d3
[chrisu/seepark.git] / web / templates / seepark_web.html
index 3eae1332e733d4d706b5302eac10226dc86cec61..761ded99bde43919823e76c3baae870b4751cf5f 100644 (file)
@@ -6,18 +6,19 @@
 
                <!-- don't cache; refresh -->
                <meta http-equiv="Pragma" content="no-cache" />
-               <meta http-equiv="Cache-Control" content="no-cache" />
+               <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
+               <meta http-equiv="Expires" content="0" />
                <meta http-equiv="Refresh" content="300" />
 
                <!-- Load c3.css -->
-               <link href="{{url_for('static', filename='c3.css')}}" rel="stylesheet">
+               <link href="{{url_for('static', filename='c3.min.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>
+               <script src="{{url_for('static', filename='d3.min.js')}}" charset="utf-8"></script>
+               <script src="{{url_for('static', filename='c3.min.js')}}"></script>
 
                <title>Seepark Obsteig</title>
        </head>
@@ -73,6 +74,9 @@
                })();
                </script>
 
+               <hr />
+               <p><small><a href="https://git.toastfreeware.priv.at/chrisu/seepark.git">Source code</a></small></p>
+               
                <!-- Load own javascript code -->
                <script src="{{url_for('static', filename='seepark_web.js')}}"></script>