25 lines
923 B
HTML
25 lines
923 B
HTML
{% extends 'base.html' %}
|
|
{% from "macros.html" import render_selectable_table, render_pagination %}
|
|
|
|
{% block title %}View Licenses{% endblock %}
|
|
|
|
{% block content_title %}View Licenses{% endblock %}
|
|
{% block content_description %}View Licenses{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="{{ url_for('entitlements_bp.handle_license_selection') }}" method="POST">
|
|
{{ render_selectable_table(headers=["License ID", "Name", "Start Date", "End Date", "Active"], rows=rows, selectable=True, id="licensesTable") }}
|
|
<div class="form-group mt-3">
|
|
<button type="submit" name="action" value="edit_license" class="btn btn-primary">Edit License</button>
|
|
<!-- Additional buttons can be added here for other actions -->
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block content_footer %}
|
|
{{ render_pagination(pagination, 'entitlements_bp.view_licenses') }}
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
|
|
{% endblock %} |