GOkwori / AccountSphere

AccountSphere is a comprehensive banking app designed for efficient account management and insightful financial reporting. It offers tools for account creation, updates, and analytics, using Python Flask, a dynamic front-end, and a structured database for streamlined financial operations.
1 stars 1 forks source link

Create Data tables page #66

Closed GOkwori closed 4 months ago

GOkwori commented 5 months ago
{% for type in account_types_summary %} {% endfor %}
Product Count
{{ type.product_name }} {{ type.count }}
Total {{ total_accounts }}
<div class="table table-responsive mb-4">
    <table class="table table-bordered">
        <thead class="table-light">
            <tr>
                <th scope="col">Role</th>
                <th scope="col">Count</th>
            </tr>
        </thead>
        <tbody>
            {% for role, count in user_roles %}
            <tr>
                <td>{{ role }}</td>
                <td>{{ count }}</td>
            </tr>
            {% endfor %}
            <tr class="table-primary">
                <td><strong>Total</strong></td>
                <td><strong>{{ total_users }}</strong></td>
            </tr>
        </tbody>
    </table>
</div>