{% 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 %}
| Short Link | Destination | QR Code | Health | Tags | Analytics | Created | Action |
|---|---|---|---|---|---|---|---|
| No shortened URLs registered. Create one to get started! | |||||||
|
{{ base_url.replace("https://", "").replace("http://", "") }}/{{ url.code }}
{% if url.is_password_protected() %}
{% endif %}
{{ 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] }} | |