28 lines
1.1 KiB
HTML
28 lines
1.1 KiB
HTML
{% extends 'base.html' %}
|
|
{% from "macros.html" import render_selectable_table, render_pagination %}
|
|
|
|
{% block title %}View Tenant Domains{% endblock %}
|
|
|
|
{% block content_title %}Select a domain{% endblock %}
|
|
{% block content_description %}Select the domain you'd like to action upon{% endblock %}
|
|
|
|
{% block content %}
|
|
<form method="POST" id="tenantDomainsForm">
|
|
{{ render_selectable_table(headers=["ID", "Domain Name", "Valid To"], rows=rows, selectable=True, id="tenantDomainsTable") }}
|
|
<div class="form-group mt-3 d-flex justify-content-between">
|
|
<div>
|
|
<button type="submit" name="action" value="edit_tenant_domain" class="btn btn-primary" onclick="return validateTableSelection('tenantDomainsForm')">Edit Selected Domain</button>
|
|
</div>
|
|
<button type="submit" name="action" value="create_tenant_domain" class="btn btn-success">Register Domain</button>
|
|
|
|
<!-- Additional buttons can be added here for other actions -->
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block content_footer %}
|
|
{{ render_pagination(pagination, 'user_bp.tenant_domains') }}
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{% endblock %} |