{% extends "layout.html" %} {% block title %}Manage Short URLs - BZOD{% endblock %} {% block active_urls %}active{% endblock %} {% block header_title %}Short URL Registry{% endblock %} {% block content %} {% if let Some(err) = error %}
{{ err }}
{% endif %}

Shorten a New URL

Registered Links

{% if let Some(tag) = tag_filter %} Filtered by tag: {{ tag }} × {% endif %}
{% if urls.is_empty() %} {% else %} {% for url in urls %} {% let code = url.code.as_str() %} {% include "components/qr_preview.html" %} {% endfor %} {% endif %}
Short Link Destination QR Code Health Tags Analytics Created Action
No shortened URLs registered. Create one to get started!
{{ url.title.as_deref().unwrap_or("") }}
{{ url.destination }} {% if let Some(desc) = url.description.as_deref() %} {% if !desc.is_empty() %}
{{ desc }}
{% endif %} {% endif %} {% if let Some(expires_at) = url.expires_at.as_deref() %} {% if !expires_at.is_empty() %}
Expires: {{ expires_at[0..10] }} {{ expires_at[11..16] }} {% if url.expired %} Expired {% endif %}
{% endif %} {% endif %} {% if let Some(max) = url.max_access_count %}
Clicks: {{ url.access_count }} / {{ max }} {% if url.is_access_exhausted() %} Limit Reached {% endif %}
{% else %} {% if url.access_count > 0 %}
Clicks: {{ url.access_count }}
{% endif %} {% endif %}
{{ url.status }}
{% for t in url.tags %} {{ t }} {% endfor %}
📊 Analytics {{ url.created_at[0..10] }}
{% endblock %}