{% extends 'base.html' %}
{% from "macros.html" import render_selectable_table, render_pagination %}

{% block title %}View License Usage{% endblock %}

{%  block content_title %}View License Usage{% endblock %}
{% block content_description %}View License Usage{% endblock %}

{% block content %}
<form method="POST">
    {{ render_selectable_table(headers=["Usage ID", "Start Date", "End Date", "Storage (MiB)", "Embedding (MiB)", "Interaction (tokens)"], rows=rows, selectable=False, id="usagesTable") }}
<!--    <div class="form-group mt-3">-->
<!--        <button type="submit" name="action" value="edit_user" class="btn btn-primary">Edit Selected User</button>-->
<!--        <button type="submit" name="action" value="resend_confirmation_email" class="btn btn-secondary">Resend Confirmation Email</button>-->
<!--        <button type="submit" name="action" value="send_password_reset_email" class="btn btn-secondary">Send Password Reset Email</button>-->
<!--        <button type="submit" name="action" value="reset_uniquifier" class="btn btn-secondary">Reset Uniquifier</button>-->
<!--        &lt;!&ndash; Additional buttons can be added here for other actions &ndash;&gt;-->
<!--    </div>-->
</form>
{% endblock %}

{% block content_footer %}
    {{ render_pagination(pagination, 'entitlements_bp.view_usages') }}
{% endblock %}

{% block scripts %}

{% endblock %}