Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kingwill101/58fb169d39c2ad3ed6a4207208d2e97d to your computer and use it in GitHub Desktop.
Save kingwill101/58fb169d39c2ad3ed6a4207208d2e97d to your computer and use it in GitHub Desktop.
{% load staticfiles %}
{% load i18n %}
<!DOCTYPE html>
<html>
<head>
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet" type="text/css"/>
<link href="{% static 'css/bootstrap-theme.min.css' %}" rel="stylesheet" type="text/css"/>
<script src="{% static "js/jquery-1.9.1.min.js" %}"></script>
<script src="{% static "js/bootstrap-3.3.6.min.js" %}"></script>
</head>
<body>
{% block transaction_list %}
<table class="table table-striped table-bordered table-hover">
<caption>
</caption>
<caption>
<h3 class="center">Transactions</h3>
</caption>
<thead>
<tr>
<th>{% trans "Transaction ID" %}</th>
<th>{% trans "Amount" %}</th>
<th>{% trans "Status" %}</th>
</tr>
</thead>
<tbody>
{% for transaction in transactions %}
<tr>
<td>{{ transaction.0 }}</td>
<td>{{ transaction.1 }}</td>
<td>{{ transaction.2 }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock transaction_list %}
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment