From 82144b79375d5c2fcb62bbfd65afee596f0218a8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 13 Jul 2022 14:13:44 +0100 Subject: [PATCH] Reduce button headers for text-mode browsers --- webapp_headerbuttons.py | 394 ++++++++++++++++++++-------------------- webapp_timeline.py | 8 +- 2 files changed, 208 insertions(+), 194 deletions(-) diff --git a/webapp_headerbuttons.py b/webapp_headerbuttons.py index 14670319f..fea7aa53a 100644 --- a/webapp_headerbuttons.py +++ b/webapp_headerbuttons.py @@ -47,86 +47,23 @@ def header_buttons_timeline(default_timeline: str, calendar_image: str, follow_approvals: str, icons_as_buttons: bool, - access_keys: {}) -> str: + access_keys: {}, + is_text_browser: str) -> str: """Returns the header at the top of the timeline, containing buttons for inbox, outbox, search, calendar, etc """ # start of the button header with inbox, outbox, etc tl_str = '