You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
855 B
HTML
28 lines
855 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Jinja2 Template Example</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
|
<style type="text/css">
|
|
.container {
|
|
max-width: 500px;
|
|
padding-top: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<p>Loop through the list:</p>
|
|
<ul>
|
|
{% for i in data %}
|
|
{% set d = data[i] %}
|
|
<li>{{ d['account_id'] }} - {{ d['title_id'] }} - {{ d['region'] }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
|
|
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
|
|
</body>
|
|
</html>
|