comparison weather_server/templates/location.html @ 16:9a609bcf0809

Port main script to TypeScript and prepare for serving it.
author Paul Fisher <paul@pfish.zone>
date Sat, 12 Oct 2019 14:03:52 -0400
parents 4eaa9d69c4e2
children fdb874e0b270
comparison
equal deleted inserted replaced
15:df3e0534c994 16:9a609bcf0809
37 </span> 37 </span>
38 </p> 38 </p>
39 {% else %} 39 {% else %}
40 <p id="big-question-mark">?</p> 40 <p id="big-question-mark">?</p>
41 {% endif %} 41 {% endif %}
42 <script src="{{ url_for('static', filename='script.js') }}"></script>
43 <!-- 42 <!--
43 <script src="{{ url_for('static', filename='amd/mad.js') }}"></script>
44 <script>new MADRegistry().install(self);</script>
45 <script src="{{ url_for('static', filename='graph.js') }}"></script>
44 <script> 46 <script>
45 setUp( 47 require('graph').setUp(
46 document.getElementById('temp'), 48 document.getElementById('temp'),
47 document.getElementById('dewpoint')); 49 document.getElementById('dewpoint'));
48 </script> 50 </script>
49 --> 51 <!-- -->
50 </body> 52 </body>
51 </html> 53 </html>