From a8d260a0ef20e92f5ddf8bcb945cdbd0de6c501a Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Wed, 27 Oct 2021 10:07:45 +0800 Subject: Split umbrellas.html into desktop and mobile view Because the difference is friggin massive --- jimbrella/templates/admin/umbrellas_desktop.html | 53 ++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 jimbrella/templates/admin/umbrellas_desktop.html (limited to 'jimbrella/templates/admin/umbrellas_desktop.html') diff --git a/jimbrella/templates/admin/umbrellas_desktop.html b/jimbrella/templates/admin/umbrellas_desktop.html new file mode 100644 index 0000000..c8b0044 --- /dev/null +++ b/jimbrella/templates/admin/umbrellas_desktop.html @@ -0,0 +1,53 @@ +{% extends "admin/umbrellas.html" %} +{% block table %} +
+ + + + + + + + + + + + + {% for umb in umbrellas %} + + {% if umb.serial == edit %} + + + + + + + + + + + + {% else %} + + + + + + + + + {% endif %} + + {% endfor %} + +
#StatusTenantIDPhoneLent at
{{ umb.serial }}{{ status_dropdown(umb) }}{{ umb.lent_time_ago_str }} + {% if umb.status in ["lent", "overdue"] %} ago {% endif %} + + + {{ umb.serial }}{{ umb.status }}{{ umb.tenant_name }}{{ umb.tenant_id }}{{ umb.tenant_phone }}{{ umb.lent_at_str }}{{ umb.lent_time_ago_str }} + {% if umb.status in ["lent", "overdue"] %} ago {% endif %} + + Edit +
+
+{% endblock %} -- cgit v1.2.3