wallDisplay/templates/index.html

28 lines
899 B
HTML
Raw Normal View History

2015-08-15 12:16:42 -04:00
<!doctype html>
<head>
<title>Test App</title>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<!-- <meta http-equiv="refresh" content="10"> -->
</head>
<body>
<h4>TODO:</h4>
<ul>
{% for item in todo %}
<li>{{ item }}</li>
{% endfor %}
</ul>
<h4>HW:</h4>
<ul>
{% for item in hw %}
<li>{{ item }}</li>
{% endfor %}
</ul>
<iframe class="embed" id="forecast" type="text/html" frameborder="0" height="245" width="49%" src="http://forecast.io/embed/#lat=43.515250&lon=-72.110568&name=Home&units=si"> </iframe>
<script type="text/javascript">
document.write ('<p>Current time is: <span id="date-time">', new Date().toLocaleString(), '<\/span>.<\/p>')
if (document.getElementById) onload = function () {
setInterval ("document.getElementById ('date-time').firstChild.data = new Date().toLocaleString()", 50)
}
</script>
</body>