diff --git a/app/templates/base.html b/app/templates/base.html index a641309..79cdd3f 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -73,6 +73,22 @@ .sidebar-collapsed #sidebar { width: 4rem !important; overflow-x: hidden; } /* Shared bulk menu */ .bulk-menu { z-index: 50; max-height: 16rem; overflow-y: auto; } + /* Layout fixes */ + #mainContent { + display: flex !important; + flex-direction: column !important; + overflow-x: hidden; + width: 100%; + } + #mainContentAnchor { + flex: 1 0 auto; + min-height: 0; + width: 100%; + overflow-x: auto; + } + /* Ensure body and html don't cause horizontal overflow */ + html, body { overflow-x: hidden; } + #appShell { overflow-x: hidden; width: 100%; } diff --git a/app/templates/main/dashboard.html b/app/templates/main/dashboard.html index 3eb71b2..026ead8 100644 --- a/app/templates/main/dashboard.html +++ b/app/templates/main/dashboard.html @@ -239,6 +239,29 @@ {% endif %} + + +
+
+
+

+ + {{ _('Support TimeTracker') }} +

+

+ {{ _('Enjoying TimeTracker? Consider buying me a coffee to support continued development!') }} +

+
+
+ + + {{ _('Buy me a coffee') }} + + +
{% for entry in recent_entries %} diff --git a/translations/en/LC_MESSAGES/messages.po b/translations/en/LC_MESSAGES/messages.po index 9bc8043..bdf738b 100644 --- a/translations/en/LC_MESSAGES/messages.po +++ b/translations/en/LC_MESSAGES/messages.po @@ -1433,6 +1433,42 @@ msgstr "Help" msgid "Buy me a coffee" msgstr "Buy me a coffee" +#: app/templates/main/dashboard.html:249 +msgid "Support TimeTracker" +msgstr "Support TimeTracker" + +#: app/templates/main/dashboard.html:252 +msgid "Enjoying TimeTracker? Consider buying me a coffee to support continued development!" +msgstr "Enjoying TimeTracker? Consider buying me a coffee to support continued development!" + +#: app/templates/base.html:577 +msgid "Made with" +msgstr "Made with" + +#: app/templates/base.html:577 +msgid "by" +msgstr "by" + +#: app/templates/base.html:509 +msgid "Support TimeTracker development" +msgstr "Support TimeTracker development" + +#: app/templates/base.html:511 +msgid "Support" +msgstr "Support" + +#: app/templates/base.html:594 +msgid "Enjoying TimeTracker?" +msgstr "Enjoying TimeTracker?" + +#: app/templates/base.html:597 +msgid "Support continued development with a coffee" +msgstr "Support continued development with a coffee" + +#: app/templates/base.html:610 +msgid "Dismiss" +msgstr "Dismiss" + #: app/templates/base.html:438 app/templates/base.html:439 #: app/templates/tasks/my_tasks.html:115 msgid "Search"