From f78c58931ec4e8c10e6f085ee5bea9ff8d4ad58a Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Fri, 22 Oct 2021 00:03:24 +0800 Subject: Mobile view for overdue table This prevents banner and tile containers from overflowing to the left. --- jimbrella/web.py | 1 + 1 file changed, 1 insertion(+) (limited to 'jimbrella/web.py') diff --git a/jimbrella/web.py b/jimbrella/web.py index 0b32ce0..4237055 100644 --- a/jimbrella/web.py +++ b/jimbrella/web.py @@ -18,6 +18,7 @@ def admin_index(): available=statuses["available"], lent=statuses["lent"], overdue=statuses["overdue"], + mobile=user_agent(request.user_agent.string).is_mobile, ) -- cgit v1.2.3