flask-chartist-example/app/templates/home.html
Walker Waylon Scott a84fb3a90d feat(c3) Added C3 Example
Added c3 example using c3.load(JSON) to reload the data\
2017-06-28 21:05:15 -05:00

53 lines
767 B
HTML

<!DOCTYPE html>
<html>
<head>
{{ head_scripts | safe}}
<style>
body {margin:0;}
.topnav {
overflow: hidden;
background-color: #1F271B;
}
.topnav a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #D95D39;
color: white;
}
</style>
</head>
<body>
<div class="topnav">
<a href="/home">Home</a>
<a href="http://www.blog.waylonwalker.com">Blog</a>
<a href="/chartist">Chartist</a>
<a href="/matplotlib">Matplotlib</a>
<a href="/bokeh">bokeh</a>
<a href="/c3">c3</a>
</div>
{{ body | safe }}
</body>
<script>
{{ scripts | safe}}
</script>
</html>