Fixed jinja formatting

This commit is contained in:
2025-05-02 15:06:19 +01:00
parent 1d5cd3501e
commit 35a17bde25
16 changed files with 205 additions and 203 deletions

View File

@@ -1,7 +1,7 @@
{# {#
Copyright (C) 2024 Graz University of Technology. Copyright (C) 2024 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}

View File

@@ -1,7 +1,7 @@
{# {#
Copyright (C) 2020-2021 Graz University of Technology. Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
@@ -46,7 +46,7 @@
{%- block header %}{% endblock header %} {%- block header %}{% endblock header %}
{%- block css %} {%- block css %}
{{ webpack['theme.css'] }} {{ webpack['theme.css'] }}
{{ webpack['invenio-theme-iform-theme.css'] }} {{ webpack['invenio-theme-tugraz-theme.css'] }}
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
@@ -56,10 +56,10 @@
{%- endblock head %} {%- endblock head %}
</head> </head>
<body ng-csp {% if body_css_classes %} class="{{ body_css_classes|join(' ') }}"{% endif %}{% if g.ln %} lang="{{ g.ln.split('_', 1)[0]|safe }}"{% if rtl_direction %} {{ rtl_direction|safe }}{% endif %}{% endif %} itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target=".scrollspy-target"> <body ng-csp {% if body_css_classes %} class="{{ body_css_classes|join(' ') }}"{% endif %}{% if g.ln %} lang="{{ g.ln.split('_', 1)[0]|safe }}"{% if rtl_direction %} {{ rtl_direction|safe }}{% endif %}{% endif %} itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target=".scrollspy-target">
{% if not config.THEME_IFORM_PRODUCTION %} {% if not config.THEME_TUGRAZ_PRODUCTION %}
<div class="ui sticky test-instance"> <div class="ui sticky test-instance">
<h4>{{_ ("Test Instance") }}</h4> <h4>{{_ ("Test Instance") }}</h4>
<p>{{_ ("This is the test instance of the I-Form Repository.") }}</p> <p>{{_ ("This is the test instance of the TU Graz Repository.") }}</p>
</div> </div>
{% endif %} {% endif %}
{%- block body %} {%- block body %}
@@ -71,7 +71,7 @@
{%- block body_inner %} {%- block body_inner %}
{%- block navbar_header %} {%- block navbar_header %}
{%- include "invenio_theme_IFORM/navbar.html" %} {%- include "invenio_theme_tugraz/navbar.html" %}
<!--Flask messages for accounts--> <!--Flask messages for accounts-->
{%- block flashmessages %} {%- block flashmessages %}
{%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%} {%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%}

View File

@@ -1,12 +1,12 @@
{# {#
Copyright (C) 2020-2021 Graz University of Technology. Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
{% extends config.INVENIO_THEME_IFORM_ACCOUNT_BASE %} {% extends config.INVENIO_THEME_TUGRAZ_ACCOUNT_BASE %}
{% from "invenio_accounts/_macros.html" import render_field, form_errors %} {% from "invenio_accounts/_macros.html" import render_field, form_errors %}
@@ -37,7 +37,7 @@
{{ {{
_('Log in with %(title)s', title=config.SSO_SAML_IDPS[name]['title']|default("SAML", true)) _('Log in with %(title)s', title=config.SSO_SAML_IDPS[name]['title']|default("SAML", true))
}} }}
<img src="{{ url_for('static', filename=config.INVENIO_THEME_IFORM_ICON)}}" height="20px" /> <img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
</a> </a>
</div> </div>
{% endfor %} {% endfor %}

View File

@@ -1,12 +1,12 @@
{# {#
Copyright (C) 2020 Graz University of Technology. Copyright (C) 2020 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
{% extends config.INVENIO_THEME_IFORM_ACCOUNT_BASE %} {% extends config.INVENIO_THEME_TUGRAZ_ACCOUNT_BASE %}
{% from "invenio_accounts/_macros.html" import render_field, form_errors %} {% from "invenio_accounts/_macros.html" import render_field, form_errors %}
@@ -38,11 +38,11 @@
<div class="column" id="switch_right"> <div class="column" id="switch_right">
{# Sigup with SSO #} {# Sigup with SSO #}
{%- if config.INVENIO_CONFIG_IFORM_SHIBBOLETH %} {%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
<div class="ui divider"></div> <div class="ui divider"></div>
<a href="{{ url_for("sso_saml.sso", idp="idp") }}" class="login-page-button ui fluid large button"> <a href="{{ url_for("sso_saml.sso", idp="idp") }}" class="login-page-button ui fluid large button">
<span style="font-size: 18px;">{{ _("Sign up with I-Form") }}</span> <span style="font-size: 18px;">{{ _("Sign up with TUGRAZ") }}</span>
<img src="{{ url_for("static", filename=config.INVENIO_THEME_IFORM_ICON) }}" height="20px" /> <img src="{{ url_for("static", filename=config.INVENIO_THEME_TUGRAZ_ICON) }}" height="20px" />
</a> </a>
<div class="ui inverted horizontal divider"><span class="text-color">{{_ ("Or") }}</span></div> <div class="ui inverted horizontal divider"><span class="text-color">{{_ ("Or") }}</span></div>
{%- endif %} {%- endif %}

View File

@@ -1,14 +1,13 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ current_i18n.locale.language|safe }}" dir="{{ current_i18n.locale.text_direction }}"> <html lang="{{ current_i18n.locale.language|safe }}" dir="{{ current_i18n.locale.text_direction }}">
<head> <head>
{%- block head %} {%- block head %}
{%- block head_meta %} {%- block head_meta %}
@@ -56,7 +55,7 @@ details.
{%- block css %} {%- block css %}
{{ webpack["theme.css"] }} {{ webpack["theme.css"] }}
{{ webpack["invenio-theme-iform-theme.css"] }} {{ webpack["invenio-theme-tugraz-theme.css"] }}
{%- endblock css %} {%- endblock css %}
{%- endblock head %} {%- endblock head %}
</head> </head>
@@ -92,5 +91,7 @@ details.
{%- endblock %} {%- endblock %}
{%- endblock body %} {%- endblock body %}
</body> </body>
</html> </html>

View File

@@ -1,27 +1,21 @@
{# {#
Copyright (C) 2020-2024 Graz University of Technology. Copyright (C) 2020-2024 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
<div class="ui segment" style="padding-bottom: 10px;"> <div class="ui segment" style="padding-bottom: 10px;">
<h4>{{ _("Good reasons to use the I-Form Repository") }}</h4> <h4>{{ _("Good reasons to use the Repository of the TU Graz") }}</h4>
<ul> <ul>
<li><strong>{{_("Safe") }}</strong> &mdash; {{_("Your research results are permanently available.") }}</li> <li><strong>{{_("Safe") }}</strong> &mdash; {{_("Your research results are permanently available.") }}</li>
<li><strong>{{_("Trusted") }}</strong> &mdash; {{_("A service from I-Form, developed in cooperation with CERN.") }} <li><strong>{{_("Trusted") }}</strong> &mdash; {{_("A service from TU Graz, developed in cooperation with CERN.") }}</li>
</li> <li><strong>{{_("Citeable") }}</strong> &mdash; {{_("Every upload is assigned a Digital Object Identifier (DOI).") }}</li>
<li><strong>{{_("Citeable") }}</strong> &mdash; {{_("Every upload is assigned a Digital Object Identifier (DOI).") <li><strong>{{_("No waiting time") }}</strong> &mdash; {{_("Uploads are made available online as soon as you hit publish. Your DOI is registered within seconds.") }}</li>
}}</li> <li><strong>{{_("Open or closed") }}</strong> &mdash; {{_("You determine the visibility of your uploads. A restricted access mode is possible.") }}</li>
<li><strong>{{_("No waiting time") }}</strong> &mdash; {{_("Uploads are made available online as soon as you hit <li><strong>{{_("Versioning") }}</strong> &mdash; {{_("Easily update your dataset with the versioning feature.") }}</li>
publish. Your DOI is registered within seconds.") }}</li> <li><strong>{{_("Usage statistics") }}</strong> &mdash; {{ _("All uploads display standards compliant usage statistics. ") }} <a href="help/statistics">({{ _("More") }})</a></li>
<li><strong>{{_("Open or closed") }}</strong> &mdash; {{_("You determine the visibility of your uploads. A
restricted access mode is possible.") }}</li>
<li><strong>{{_("Versioning") }}</strong> &mdash; {{_("Easily update your dataset with the versioning feature.") }}
</li>
<li><strong>{{_("Usage statistics") }}</strong> &mdash; {{ _("All uploads display standards compliant usage
statistics. ") }} <a href="help/statistics">({{ _("More") }})</a></li>
</ul> </ul>
</div> </div>

View File

@@ -1,7 +1,7 @@
{# {#
Copyright (C) 2020-2024 Graz University of Technology. Copyright (C) 2020-2024 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
@@ -9,7 +9,7 @@ details.
<div class="ui segment"> <div class="ui segment">
<h4>{{ _("Need help?") }}</h4> <h4>{{ _("Need help?") }}</h4>
{%- if config.THEME_IFORM_CONTACT_FORM %} {%- if config.THEME_TUGRAZ_CONTACT_FORM %}
<div style="padding-bottom: 10px;"> <div style="padding-bottom: 10px;">
<a id="feedback-form" class="fluid ui button"> <a id="feedback-form" class="fluid ui button">
{{ _("Contact us") }} {{ _("Contact us") }}

View File

@@ -1,7 +1,7 @@
{# {#
Copyright (C) 2024 Graz University of Technology. Copyright (C) 2024 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
@@ -14,7 +14,7 @@
{{ _( {{ _(
'Please contact <a href="mailto:{support_email}">our support</a> 'Please contact <a href="mailto:{support_email}">our support</a>
to let us know about this error.' to let us know about this error.'
).format(support_email=config.THEME_IFORM_SUPPORT_EMAIL) ).format(support_email=config.THEME_TUGRAZ_SUPPORT_EMAIL)
}} }}
</p> </p>
{# TODO: provide g.sentry_event_id here once sentry is configured, cf. invenio_theme/500.html #} {# TODO: provide g.sentry_event_id here once sentry is configured, cf. invenio_theme/500.html #}

View File

@@ -1,17 +1,17 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
{%- block css %} {%- block css %}
{{ webpack['invenio-theme-iform-theme.css'] }} {{ webpack['invenio-theme-tugraz-theme.css'] }}
{%- endblock %} {%- endblock %}
{%- block javascript %} {%- block javascript %}
{{ webpack['invenio-theme-iform-js.js'] }} {{ webpack['invenio-theme-tugraz-js.js'] }}
{%- endblock javascript %} {%- endblock javascript %}
<div class="spacer"></div> <div class="spacer"></div>
@@ -31,26 +31,29 @@ details.
</div> </div>
<div class="item"> <div class="item">
<a href="{{ url_for('invenio_config_iform.guide') }}" title="Quick guide" target="_blank"> <a href="{{ url_for('invenio_config_tugraz.guide') }}"
title="Quick guide" target="_blank">
{{ _("Reference Guide") }} <i class="download icon"></i> {{ _("Reference Guide") }} <i class="download icon"></i>
</a> </a>
</div> </div>
<div class="item"> <div class="item">
<a href="{{ url_for('invenio_app_rdm.help_search') }}" title="Search guide"> <a href="{{ url_for('invenio_app_rdm.help_search') }}"
title="Search guide">
{{ _("Search Guide") }}<i class="angle right icon"></i> {{ _("Search Guide") }}<i class="angle right icon"></i>
</a> </a>
</div> </div>
<div class="item"> <div class="item">
<a href="{{ url_for('invenio_config_iform.gdpr') }}" title="General Data Protection Rights" <a href="{{ url_for('invenio_config_tugraz.gdpr') }}"
target="_blank"> title="General Data Protection Rights" target="_blank">
{{ _("Data Protection") }} <i class="download icon"></i> {{ _("Data Protection") }} <i class="download icon"></i>
</a> </a>
</div> </div>
<div class="item"> <div class="item">
<a href="{{ url_for('invenio_config_iform.terms') }}" title="Terms and Conditions" target="_blank"> <a href="{{ url_for('invenio_config_tugraz.terms') }}"
title="Terms and Conditions" target="_blank">
{{ _("Terms and Conditions") }} <i class="download icon"></i> {{ _("Terms and Conditions") }} <i class="download icon"></i>
</a> </a>
</div> </div>
@@ -118,7 +121,8 @@ details.
<div class="logos"> <div class="logos">
<strong>Powered by</strong> <strong>Powered by</strong>
<a href="http://inveniosoftware.org/products/rdm" target="_blank" title="invenioRDM"> <a href="http://inveniosoftware.org/products/rdm" target="_blank" title="invenioRDM">
<img src="{{ url_for(" static", filename="images/inveniordm-tail.svg" )}}" alt="InvenioRDM logo" <img src="{{ url_for("static", filename="images/inveniordm-tail.svg")}}"
alt="InvenioRDM logo"
style="display: block; height: 90px; margin-top: 8px;"> style="display: block; height: 90px; margin-top: 8px;">
</a> </a>
</div> </div>
@@ -128,7 +132,8 @@ details.
<strong>Enabled by</strong> <strong>Enabled by</strong>
<a href="https://forschungsdaten.at/en/fair-data-austria/" target="_blank" title="Fair Data Austria"> <a href="https://forschungsdaten.at/en/fair-data-austria/" target="_blank" title="Fair Data Austria">
<img src="{{ url_for("static", filename="images/Fair_Data_Austria_orangerot.png")}}" <img src="{{ url_for("static", filename="images/Fair_Data_Austria_orangerot.png")}}"
alt="Fair Data Austria" style="display: block; height: auto; margin-top: 15px; width: 230px;"> alt="Fair Data Austria"
style="display: block; height: auto; margin-top: 15px; width: 230px;">
</a> </a>
</div> </div>
</div> </div>
@@ -137,7 +142,8 @@ details.
<div class="logos"> <div class="logos">
<strong>Supported by</strong> <strong>Supported by</strong>
<a href="https://www.openeducation.at" target="_blank" title="Open Education Austria"> <a href="https://www.openeducation.at" target="_blank" title="Open Education Austria">
<img src="{{ url_for(" static", filename="images/oea.svg" )}}" alt="Open Education Austria" <img src="{{ url_for("static", filename="images/oea.svg")}}"
alt="Open Education Austria"
style="display: block; height: auto; margin-top: 15px; width: 200px;"> style="display: block; height: auto; margin-top: 15px; width: 200px;">
</a> </a>
</div> </div>
@@ -150,10 +156,10 @@ details.
<div class="column"> <div class="column">
<div class="logos"> <div class="logos">
<strong>Listed on</strong> <strong>Listed on</strong>
<a href="https://www.re3data.org/repository/r3d100013565" target="_blank" <a href="https://www.re3data.org/repository/r3d100013565" target="_blank" title="Registry of Research Data Repositories">
title="Registry of Research Data Repositories">
<img src="{{ url_for("static", filename="images/re3data.svg")}}" <img src="{{ url_for("static", filename="images/re3data.svg")}}"
alt="Registry of Research Data Repositories" style="display: block; height: auto; width: 300px;"> alt="Registry of Research Data Repositories"
style="display: block; height: auto; width: 300px;">
</a> </a>
</div> </div>
</div> </div>

View File

@@ -1,7 +1,7 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}

View File

@@ -1,12 +1,12 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
{% if not config.THEME_IFORM_PRODUCTION %} {% if not config.THEME_TUGRAZ_PRODUCTION %}
<div class="ui sticky test-instance"> <div class="ui sticky test-instance">
<h4>{{ _("Test Instance") }}</h4> <h4>{{ _("Test Instance") }}</h4>
<p>{{ _("This is the test instance of the TU Graz Repository.") }}</p> <p>{{ _("This is the test instance of the TU Graz Repository.") }}</p>
@@ -23,14 +23,14 @@
{%- block navbar %} {%- block navbar %}
<nav> <nav>
{%- block navbar_header %} {%- block navbar_header %}
{%- include "invenio_theme_iform/navbar.html" %} {%- include "invenio_theme_tugraz/navbar.html" %}
{%- endblock navbar_header %} {%- endblock navbar_header %}
<div class="ui container"> <div class="ui container">
<div class="ui grid stackable container"> <div class="ui grid stackable container">
<div class="three column row centered" style="padding-bottom: 0;"> <div class="three column row centered" style="padding-bottom: 0;">
<div class="two wide column main-menu-entry"> <div class="two wide column main-menu-entry">
<a href="{{url_for('invenio_theme_iform.index')}}" title="Home" class="no-decoration"> <a href="{{url_for('invenio_theme_tugraz.index')}}" title="Home" class="no-decoration">
<span class="home-inline"> <span class="home-inline">
<svg shape-rendering="geometricPrecision" id="int-menu-q-home-icon" <svg shape-rendering="geometricPrecision" id="int-menu-q-home-icon"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg"

View File

@@ -1,15 +1,15 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
{%- extends config.INVENIO_THEME_IFORM_BASE_TEMPLATE %} {%- extends config.INVENIO_THEME_TUGRAZ_BASE_TEMPLATE %}
{%- block javascript %} {%- block javascript %}
{{ webpack['invenio-theme-iform-js.js'] }} {{ webpack['invenio-theme-tugraz-js.js'] }}
{%- endblock javascript %} {%- endblock javascript %}
{%- block page_body %} {%- block page_body %}
@@ -19,14 +19,14 @@
<div class="ui stackable grid"> <div class="ui stackable grid">
{% include "invenio_theme_iform/frontpage_overview.html" %} {% include "invenio_theme_tugraz/frontpage_overview.html" %}
{% include "invenio_theme_iform/recent_uploads.html" %} {% include "invenio_theme_tugraz/recent_uploads.html" %}
<!---segments--> <!---segments-->
<div class="six wide column"> <div class="six wide column">
{% include "invenio_theme_iform/contact_us.html" %} {% include "invenio_theme_tugraz/contact_us.html" %}
{% include "invenio_theme_iform/benefits.html" %} {% include "invenio_theme_tugraz/benefits.html" %}
</div> </div>
</div> </div>
</div> </div>

View File

@@ -2,7 +2,7 @@
Copyright (C) 2020 Zenodo Copyright (C) 2020 Zenodo
Copyright (C) 2020 TUGRAZ Copyright (C) 2020 TUGRAZ
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}

View File

@@ -1,7 +1,7 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
@@ -45,7 +45,8 @@ details.
<div class="short-menu-left-lang"> <div class="short-menu-left-lang">
{%- for l in current_i18n.get_locales() %} {%- for l in current_i18n.get_locales() %}
{%- if current_i18n.language != l.language %} {%- if current_i18n.language != l.language %}
<a href="{{ url_for(" invenio_i18n.set_lang", lang_code=l.language) }}" class="no-decoration"> <a href="{{ url_for("invenio_i18n.set_lang", lang_code=l.language) }}"
class="no-decoration">
{{ l.get_display_name().upper()[0:2] }} {{ l.get_display_name().upper()[0:2] }}
</a> </a>
{%- endif %} {%- endif %}
@@ -73,7 +74,7 @@ details.
<img height="51.862" src="{{ url_for("static", filename="images/library_logo.png")}}"> <img height="51.862" src="{{ url_for("static", filename="images/library_logo.png")}}">
</div> </div>
<div class="affiliation-text"> <div class="affiliation-text">
<a title="Home" href="{{url_for(" invenio_theme_iform.index")}}" class="no-decoration"> <a title="Home" href="{{url_for("invenio_theme_tugraz.index")}}" class="no-decoration">
{{ _("TU GRAZ") }} {{ _("TU GRAZ") }}
<br> <br>
{{ _("REPOSITORY") }} {{ _("REPOSITORY") }}
@@ -92,7 +93,7 @@ details.
<div class="affiliation-logo-claim-single">{{ _("PASSION") }}</div> <div class="affiliation-logo-claim-single">{{ _("PASSION") }}</div>
<div class="affiliation-logo-claim-single">{{ _("TECHNOLOGY") }}</div> <div class="affiliation-logo-claim-single">{{ _("TECHNOLOGY") }}</div>
</div> </div>
{%- include "invenio_theme_iform/iform_logo.svg" %} {%- include "invenio_theme_tugraz/tu_graz_logo.svg" %}
</a> </a>
</div> </div>
</div> </div>

View File

@@ -1,19 +1,19 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}
{%- extends config.INVENIO_THEME_IFORM_BASE_TEMPLATE %} {%- extends config.INVENIO_THEME_TUGRAZ_BASE_TEMPLATE %}
{%- set active_dashboard_menu_item = "overview" %} {%- set active_dashboard_menu_item = "overview" %}
{%- set title = _("Overview") %} {%- set title = _("Overview") %}
{% block javascript %} {% block javascript %}
{{ super() }} {{ super() }}
{{ webpack['invenio-theme-iform-unlock.js'] }} {{ webpack['invenio-theme-tugraz-unlock.js'] }}
{% endblock javascript %} {% endblock javascript %}
{%- block page_body %} {%- block page_body %}
@@ -25,7 +25,7 @@
<h2>Overview</h2> <h2>Overview</h2>
<div class="ui five column stackable grid overview"> <div class="ui five column stackable grid overview">
{% if is_iform_authenticated %} {% if is_tugraz_authenticated %}
{# 3 columns: Research-Uploads, Communities, and Requests #} {# 3 columns: Research-Uploads, Communities, and Requests #}
<div class="column"> <div class="column">
<div class="ui segment" style="height: 480px"> <div class="ui segment" style="height: 480px">
@@ -60,11 +60,11 @@
</div> </div>
</div> </div>
</div> </div>
{% else %} {# not is_iform_authenticated #} {% else %} {# not is_tugraz_authenticated #}
{# 1 column: greyed out Research-Uploads #} {# 1 column: greyed out Research-Uploads #}
<div class="column"> <div class="column">
{# a modal's HTML can be placed anywhere, so I placed it here, right before it's used #} {# a modal's HTML can be placed anywhere, so I placed it here, right before it's used #}
<div class="ui small modal" id="iform-unlock-modal"> <div class="ui small modal" id="tugraz-unlock-modal">
<div class="header">{{ _("On unlocking research uploads") }}</div> <div class="header">{{ _("On unlocking research uploads") }}</div>
<div class="content"> <div class="content">
<p> <p>
@@ -75,7 +75,7 @@
</p> </p>
<div id="anchor-unlock-form"> {# will be replaced with ZammadForm when generating it #} <div id="anchor-unlock-form"> {# will be replaced with ZammadForm when generating it #}
<button class="ui fluid button" onclick=" <button class="ui fluid button" onclick="
$('#iform-unlock-modal') $('#tugraz-unlock-modal')
.modal('hide')" .modal('hide')"
>Got it!</button> >Got it!</button>
<button id="generate-unlock-form" class="ui fluid button"> <button id="generate-unlock-form" class="ui fluid button">
@@ -89,7 +89,7 @@
<div class="ui disabled segment" style="height: 480px"> <div class="ui disabled segment" style="height: 480px">
<h2>{{ _("Research Results") }}</h2> <h2>{{ _("Research Results") }}</h2>
<div class="ui left floated image" style="cursor: pointer" onclick=" <div class="ui left floated image" style="cursor: pointer" onclick="
$('#iform-unlock-modal') $('#tugraz-unlock-modal')
.modal('show')" .modal('show')"
> >
<img width="400px" alt="Research Results" src="{{ url_for("static", filename="images/diamond.svg") }}"> <img width="400px" alt="Research Results" src="{{ url_for("static", filename="images/diamond.svg") }}">

View File

@@ -1,7 +1,7 @@
{# {#
Copyright (C) 2020-2023 Graz University of Technology. Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or invenio-theme-tugraz is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more modify it under the terms of the MIT License; see LICENSE file for more
details. details.
#} #}