Files
member-console/internal/embeds/templates/billing.html
T
cgalo5758 408fa6f5a6 Add page anatomy parts and UI quality gate
- Add shared ui_*.html parts (pageHeader, sectionHeader, statusBadge,
  emptyState) parsed into every template set
- Add anatomy lint rules with a shrinking allowlist and screen-coverage
  check
- Add make screens capture harness with contact sheets and baseline diff
- Compose member and FedWiki regions server-side so pages arrive
  complete
- Rebuild Domains and Integrations on the parts as pilots
2026-08-30 04:05:31 -05:00

82 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Billing - {{ deploymentName }}</title>
<meta name="description" content="Console for {{ deploymentName }} members">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="htmx-config" content='{"includeIndicatorStyles": false}'>
<link href="/static/bootstrap.css" rel="stylesheet">
<script defer src="/static/bootstrap.bundle.js"></script>
<script defer src="/static/shell.js"></script>
<script defer src="/static/htmx.min.js"></script>
<script defer src="/static/error-handler.js"></script>
<script defer src="/static/success-toast.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="manifest" href="/static/site.webmanifest">
<link href="/static/app.css" rel="stylesheet">
</head>
<body class="d-flex flex-column vh-100" hx-headers='{"X-CSRF-Token": "{{ .CSRFToken }}"}'>
{{ template "shell_topbar.html" .Shell }}
<div class="d-flex flex-column flex-lg-row flex-grow-1">
{{ template "shell_rail_member.html" .Shell }}
<!-- Main Content -->
<div class="flex-fill p-4">
<div class="container-xxl px-0">
<h1>Billing</h1>
<p class="text-muted">Your invoice and payment history.</p>
<div class="row">
<div class="col-12">
<div class="card mt-3">
<div class="card-header">Invoices</div>
<div class="card-body">
<!-- Composed on the server (page-anatomy "A page arrives
complete"); the id stays the swap target. -->
<div id="billing-content">{{ .Invoices }}</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Toast Container -->
<div class="toast-container">
<div id="errorToast" class="toast align-items-center text-bg-danger border-0" role="alert" aria-live="assertive"
aria-atomic="true">
<div class="d-flex">
<div class="toast-body" id="errorToastBody">
An error occurred. Please try again.
</div>
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast"
aria-label="Close"></button>
</div>
</div>
<div id="successToast" class="toast align-items-center text-bg-success border-0" role="status" aria-live="polite"
aria-atomic="true">
<div class="d-flex">
<div class="toast-body" id="successToastBody">
Done.
</div>
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast"
aria-label="Close"></button>
</div>
</div>
</div>
</body>
</html>