Files
FabledSteward/roundtable/templates/dashboard/share_created.html
T
bvandeusen 55a4fac3e9 copy: flip visible wordmark → Roundtable
Updates nav brand, page <title> blocks across all templates, and the
read-only share view footer. Removes duplicate Roundtable heading from
login card now that the nav wordmark reads correctly.
2026-04-13 18:40:30 -04:00

33 lines
1.6 KiB
HTML

{% extends "base.html" %}
{% block title %}Share Link Created — Roundtable{% endblock %}
{% block content %}
<div style="max-width:640px;">
<h1 class="page-title">Share Link Created</h1>
<div class="card" style="border-color:var(--gold);margin-bottom:1rem;">
<div style="font-size:0.8rem;font-weight:600;color:var(--gold);text-transform:uppercase;letter-spacing:0.06em;margin-bottom:0.75rem;">
Copy this link now — it cannot be shown again
</div>
{% set share_url = request.host_url.rstrip('/') + '/share/' + raw_token %}
<div style="display:flex;gap:0.5rem;align-items:center;">
<input type="text" id="share-url" value="{{ share_url }}" readonly
style="flex:1;font-family:ui-monospace,monospace;font-size:0.8rem;background:var(--bg);color:var(--text);">
<button onclick="navigator.clipboard.writeText(document.getElementById('share-url').value).then(()=>this.textContent='Copied!')"
class="btn btn-ghost btn-sm" style="white-space:nowrap;">Copy</button>
</div>
<div style="margin-top:0.75rem;font-size:0.82rem;color:var(--text-muted);">
{% if label %}<strong>Label:</strong> {{ label }} &nbsp;·&nbsp;{% endif %}
{% if expires_at %}<strong>Expires:</strong> {{ expires_at.strftime("%Y-%m-%d") }}
{% else %}<strong>Expires:</strong> Never{% endif %}
</div>
</div>
<div style="display:flex;gap:0.75rem;">
<a href="/d/{{ dashboard.id }}/share" class="btn btn-ghost">Manage Share Links</a>
<a href="/d/{{ dashboard.id }}" class="btn btn-ghost">Back to Dashboard</a>
</div>
</div>
{% endblock %}