From 30d047e9dac4d8deadb853035168e2ac5d55e554 Mon Sep 17 00:00:00 2001 From: Maximilian Moser <maximilian.moser@tuwien.ac.at> Date: Tue, 26 Nov 2024 12:06:41 +0100 Subject: [PATCH 1/3] Prevent the local login segment from being hidden on small screens --- .../less/invenio_theme_tuw/theme/collections/menu.overrides | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides b/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides index 69e2683..834122f 100644 --- a/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides +++ b/invenio_theme_tuw/theme/assets/semantic-ui/less/invenio_theme_tuw/theme/collections/menu.overrides @@ -70,6 +70,11 @@ header .ui.menu { align-items: center; display: none !important; + + /* fix the login segment for local login not being shown on small screens */ + &.segment { + display: flex !important; + } } .login:hover { -- GitLab From 7b5476a45a18078180086654178603cff984284c Mon Sep 17 00:00:00 2001 From: Maximilian Moser <maximilian.moser@tuwien.ac.at> Date: Tue, 26 Nov 2024 12:15:13 +0100 Subject: [PATCH 2/3] Address various SonarQube issues * remove redundant alt text on Florian's photo * remove marking as info icons as buttons in the statistics box --- .../semantic-ui/invenio_theme_tuw/overrides/metrics.html | 5 ----- .../invenio_theme_tuw/tuwstones/florian_woerister.html | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html index 477a91d..7e265f7 100644 --- a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html +++ b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/overrides/metrics.html @@ -48,7 +48,6 @@ <div class="title"> <i class="caret right icon" aria-hidden="true"></i> <span - tabindex="0" class="trigger" data-open-text="{{ _('Show more details') }}" data-close-text="{{ _('Show less details') }}" @@ -71,8 +70,6 @@ <td> {{ _("Views") }} <i - tabindex="0" - role="button" style="position:relative" class="popup-trigger question circle small icon" aria-expanded="false" @@ -91,8 +88,6 @@ <td> {{ _("Downloads") }} <i - tabindex="0" - role="button" style="position:relative" class="popup-trigger question circle small icon" aria-expanded="false" diff --git a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html index a51e794..3509bbd 100644 --- a/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html +++ b/invenio_theme_tuw/theme/templates/semantic-ui/invenio_theme_tuw/tuwstones/florian_woerister.html @@ -16,7 +16,7 @@ {%- block page_body %} <article class="tuwstone"> <h1>Florian Wörister</h1> - <img src="{{ url_for('static', filename='images/tuwstones/fwoerister.png') }}" alt="Photo of Florian Woerister" /> + <img src="{{ url_for('static', filename='images/tuwstones/fwoerister.png') }}" alt="Florian Woerister" /> <section> <h2> Ex Almost TU:RD Manager -- GitLab From ef4163f5b50f7626f63a9dfd301a8f71d438ee59 Mon Sep 17 00:00:00 2001 From: Maximilian Moser <maximilian.moser@tuwien.ac.at> Date: Tue, 26 Nov 2024 12:08:04 +0100 Subject: [PATCH 3/3] Bump version to v2024.3.3 --- CHANGES.rst | 3 ++- invenio_theme_tuw/__init__.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index cfaa07a..0c3967f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -8,7 +8,7 @@ Changes ======= -Version 2024.3 (released 2024-10-01, updated 2024-10-29) +Version 2024.3 (released 2024-10-01, updated 2024-11-26) - Replace `setuptools` with `hatchling` as build system - Clean up old built-up cruft @@ -16,6 +16,7 @@ Version 2024.3 (released 2024-10-01, updated 2024-10-29) - Fix frontpage override - Fix some new SonarQube complaints - Register admin menu entry for TUW users administration page +- Prevent the local login segment from being hidden on small screens Version 2024.2 (released 2024-06-24, updated 2024-09-17) diff --git a/invenio_theme_tuw/__init__.py b/invenio_theme_tuw/__init__.py index 8565c77..d87e781 100644 --- a/invenio_theme_tuw/__init__.py +++ b/invenio_theme_tuw/__init__.py @@ -9,7 +9,7 @@ from .ext import InvenioThemeTUW -__version__ = "2024.3.2" +__version__ = "2024.3.3" __all__ = ( "__version__", -- GitLab