Formatted jinja templates with djlint

This commit is contained in:
2025-05-02 15:06:54 +01:00
parent 35a17bde25
commit a4eae3cd87
17 changed files with 856 additions and 995 deletions

View File

@@ -5,10 +5,10 @@
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.THEME_ERROR_TEMPLATE %} {% extends config.THEME_ERROR_TEMPLATE %}
{% block message %} {% block message %}
<h1><i class="bolt icon"></i> {{_("Locked")}}</h1> <h1>
<p>{{_("The resource that is being accessed is locked.")}}</p> <i class="bolt icon"></i> {{ _("Locked") }}
</h1>
<p>{{ _("The resource that is being accessed is locked.") }}</p>
{% endblock message %} {% endblock message %}

View File

@@ -5,96 +5,98 @@
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{% if html_css_classes %} class="{{ html_css_classes|join(' ') }}"{% endif %} lang="{{ current_i18n.locale.language|safe }}" dir="{{ current_i18n.locale.text_direction }}"> <html {% if html_css_classes %}class="{{ html_css_classes|join(" ") }}"{% endif %}
<head> lang="{{ current_i18n.locale.language|safe }}"
{%- block head %} dir="{{ current_i18n.locale.text_direction }}">
{%- block head_meta %} <head>
<meta charset="utf-8"> {%- block head %}
<meta http-equiv="X-UA-Compatible" content="IE=edge"> {%- block head_meta %}
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta charset="utf-8">
{%- if description %}<meta name="description" content="{{ description }}" />{% endif %} <meta http-equiv="X-UA-Compatible" content="IE=edge">
{%- if keywords %}<meta name="keywords" content="{{ keywords }}" />{% endif %} <meta name="viewport" content="width=device-width, initial-scale=1">
{%- if config.get('THEME_GOOGLE_SITE_VERIFICATION', None) %} {%- if description %}<meta name="description" content="{{ description }}" />{% endif %}
{%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %} {%- if keywords %}<meta name="keywords" content="{{ keywords }}" />{% endif %}
<meta name="google-site-verification" content="{{google_id}}"/> {%- if config.get('THEME_GOOGLE_SITE_VERIFICATION', None) %}
{%- endfor %} {%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %}
{%- endif %} <meta name="google-site-verification" content="{{ google_id }}" />
{%- endblock head_meta %} {%- endfor %}
{%- block head_title %} {%- endif %}
{%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %} {%- endblock head_meta %}
<title>{{title}}</title> {%- block head_title %}
{%- endblock head_title %} {%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %}
{%- block head_links %} <title>{{ title }}</title>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}"/> {%- endblock head_title %}
{%- if keywords %}<link rel="canonical" href="{{ canonical_url }}"/>{% endif %} {%- block head_links %}
{%- block head_links_langs %} <link rel="shortcut icon"
{%- if alternate_urls %} href="{{ url_for('static', filename='favicon.ico') }}" />
{%- for alt_ln, alternate_url in alternate_urls.items() %} {%- if keywords %}<link rel="canonical" href="{{ canonical_url }}" />{% endif %}
<link rel="alternate" hreflang="{{ alt_ln }}" href="{{ alternate_url }}"/> {%- block head_links_langs %}
{%- endfor %} {%- if alternate_urls %}
{%- endif %} {%- for alt_ln, alternate_url in alternate_urls.items() %}
{%- endblock %} <link rel="alternate" hreflang="{{ alt_ln }}" href="{{ alternate_url }}" />
{%- block head_apple_icons %} {%- endfor %}
{%- for size in [144, 114, 72, 57] %} {%- endif %}
{%- set icon_name = 'apple-touch-icon-%d-precomposed.png' | format(size) %} {%- endblock %}
<link rel="apple-touch-icon-precomposed" sizes="{{ size }}x{{ size }}" href="{{ url_for('static', filename=icon_name) }}"/> {%- block head_apple_icons %}
{%- endfor %} {%- for size in [144, 114, 72, 57] %}
{%- endblock head_apple_icons %} {%- set icon_name = 'apple-touch-icon-%d-precomposed.png' | format(size) %}
{%- endblock head_links %} <link rel="apple-touch-icon-precomposed"
{%- block header %}{% endblock header %} sizes="{{ size }}x{{ size }}"
{%- block css %} href="{{ url_for('static', filename=icon_name) }}" />
{{ webpack['theme.css'] }} {%- endfor %}
{{ webpack['invenio-theme-tugraz-theme.css'] }} {%- endblock head_apple_icons %}
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> {%- endblock head_links %}
<!--[if lt IE 9]> {%- block header %}
{% endblock header %}
{%- block css %}
{{ webpack['theme.css'] }}
{{ webpack['invenio-theme-tugraz-theme.css'] }}
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[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>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]--> <![endif]-->
{%- endblock css %} {%- endblock css %}
{%- 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_TUGRAZ_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>
</div> </div>
{% endif %} {% endif %}
{%- block body %} {%- block body %}
{%- block browserupgrade %} {%- block browserupgrade %}
<!--[if lt IE 8]> <!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--> <![endif]-->
{%- endblock browserupgrade %} {%- endblock browserupgrade %}
{%- block body_inner %} {%- block body_inner %}
{%- block navbar_header %}
{%- block navbar_header %} {%- include "invenio_theme_tugraz/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 -%} {{ flashed_messages() }}
{{ flashed_messages() }} {%- endblock %}
{%- endblock navbar_header %}
{%- endblock %} {#
{%- endblock navbar_header %}
{#
{%- block page_header %} {%- block page_header %}
{% include config.THEME_HEADER_TEMPLATE %} {% include config.THEME_HEADER_TEMPLATE %}
{%- endblock page_header %} {%- endblock page_header %}
#} #}
{%- block page_body %}
{%- block page_body %} {% include "invenio_theme/body.html" %}
{% include "invenio_theme/body.html" %} {%- endblock page_body %}
{%- endblock page_body %} {%- endblock body_inner %}
{%- endblock body_inner %} {%- block javascript %}
{%- block javascript %} {% include config.THEME_JAVASCRIPT_TEMPLATE %}
{% include config.THEME_JAVASCRIPT_TEMPLATE %} {%- endblock javascript %}
{%- endblock javascript %} {%- block trackingcode %}
{%- block trackingcode %}{% include config.THEME_TRACKINGCODE_TEMPLATE %} {% include config.THEME_TRACKINGCODE_TEMPLATE %}
{%- endblock %} {%- endblock %}
{%- endblock body %} {%- endblock body %}
</body> </body>
</html> </html>

View File

@@ -1,36 +1,26 @@
{%- if config.ACCOUNTS %} {%- if config.ACCOUNTS %}
{%- if not current_user.is_authenticated %}
{%- if not current_user.is_authenticated %} {%- if config.SECURITY_REGISTERABLE %}
<div class="short-menu-right-button">
{%- if config.SECURITY_REGISTERABLE %} <a href="{{ url_for("security.register") }}" class="no-decoration">{{ _ ("Sign up") }}</a>
<div class="short-menu-right-button"> </div>
<a href="{{ url_for('security.register') }}" class="no-decoration"> {%- endif %}
{{_ ("Sign up")}} <div class="short-menu-right-button">
</a> <a href="{{ url_for_security('login', next=request.path) }}"
</div> class="no-decoration">{{ _ ("Log in") }}</a>
{%- endif %} </div>
{%- else %}
<div class="short-menu-right-button"> {%- if config.USERPROFILES %}
<a href="{{url_for_security('login', next=request.path)}}" class="no-decoration"> <div class="short-menu-right-button">
{{_ ("Log in")}} <a href="{{ url_for("invenio_userprofiles.profile") }}"
</a> class="no-decoration">
</div> <i class="user icon"></i> {{ current_user.email }}
</a>
</div>
{%- else %} <div class="short-menu-right-button">
{%- if config.USERPROFILES %} <a class="dropdown-item no-decoration"
href="{{ url_for_security("logout") }}">{{ _("Sign out") }}</a>
<div class="short-menu-right-button"> </div>
<a href="{{ url_for('invenio_userprofiles.profile') }}" class="no-decoration"> {%- endif %}
<i class="user icon"></i> {{ current_user.email }} {%- endif %}
</a>
</div>
<div class="short-menu-right-button">
<a class="dropdown-item no-decoration" href="{{url_for_security('logout')}}">
{{_('Sign out')}}
</a>
</div>
{%- endif %}
{%- endif %}
{%- endif %} {%- endif %}

View File

@@ -5,94 +5,87 @@
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_TUGRAZ_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 %}
{%- from "invenio_oauthclient/_macros.html" import oauth_button %} {%- from "invenio_oauthclient/_macros.html" import oauth_button %}
{% block page_body %} {% block page_body %}
<div class="spacer-long"></div> <div class="spacer-long"></div>
<div class="spacer-long"></div> <div class="spacer-long"></div>
<div class="ui container"> <div class="ui container">
<div class="ui centered grid padded"> <div class="ui centered grid padded">
<div class="ui padded segments large form">
<div class="ui padded segments large form"> <div class="ui login segment padded">
<div class="ui login segment padded"> <div class="divider hidden"></div>
<div class="divider hidden"></div> {%- block form_header %}
{%- block form_header %} <h3 class="ui login header">{{ _("Log in to Repository") }}</h3>
<h3 class="ui login header">{{ _('Log in to Repository') }}</h3> {%- endblock form_header %}
{%- endblock form_header %} <div class="ui divider"></div>
<div class="ui divider"></div> <!--Log in with SSO-->
<!--Log in with SSO--> {% if config.OAUTHCLIENT_REMOTE_APPS or config.SSO_SAML_IDPS %}
{% if config.OAUTHCLIENT_REMOTE_APPS or config.SSO_SAML_IDPS %} <div class="ui form">
<div class="ui form"> {% for name in config.OAUTHCLIENT_REMOTE_APPS.keys() %}
{% for name in config.OAUTHCLIENT_REMOTE_APPS.keys() %} {{ oauth_button(name, next=request.args.get('next') ) }}
{{ oauth_button(name, next=request.args.get('next')) }} {% endfor %}
{% endfor %} </div>
{% for name in config.SSO_SAML_IDPS.keys() %}
<div class="field">
<a class="login-page-button ui fluid large button"
href="{{ url_for('sso_saml.sso', idp=name) }}">
{{ _('Log in with %(title)s', title=config.SSO_SAML_IDPS[name]['title']|default("SAML", true) )
}}
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON) }}"
height="20px" />
</a>
</div>
{% endfor %}
{%- if config.ACCOUNTS_LOCAL_LOGIN_ENABLED %}<div class="ui horizontal divider">{{ _("Or") }}</div>{%- endif %}
{% endif %}
{%- block form_outer %}
{%- if config.ACCOUNTS_LOCAL_LOGIN_ENABLED %}
{%- with form = login_user_form %}
{%- set accordion_active = "active" if form.errors else "" %}
<div class="ui styled accordion">
<div class="title trigger {{ accordion_active }}">
{{ _("Log in with repository credentials") }}
<i class="user icon button"></i>
</div>
<div class="content {{ accordion_active }}">
<form action="{{ url_for_security("login") }}"
method="POST"
name="login_user_form"
class="ui large form">
{{ form.hidden_tag() }}
{{ form_errors(form) }}
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }}
{{ render_field(form.password, icon="lock icon", errormsg=False) }}
<button type="submit" class="ui fluid large submit button">
<i class="ui sign-in icon"></i>{{ _("Log In") }}
</button>
</form>
</div>
</div>
{%- endwith %}
{%- endif %}
{%- endblock form_outer %}
<div class="divider hidden"></div>
</div>
{%- block registerable %}
{%- if security.registerable %}
<div class="ui primary segment padded text-muted">
{% trans sitename=config.ACCOUNTS_SITENAME %}New to {{ sitename }}?{% endtrans %}
<a href="{{ url_for_security('register', next=request.args.get('next') ) }}">{{ _("Sign up") }}</a>
</div>
{%- endif %}
{%- endblock registerable %}
{%- block recoverable %}
{%- if security.recoverable %}
<div class="ui basic segment padded">
<a class="ui inverted header tiny"
href="{{ url_for_security("forgot_password") }}">{{ _("Forgot password?") }}</a>
</div>
{%- endif %}
{%- endblock recoverable %}
</div>
</div> </div>
{% for name in config.SSO_SAML_IDPS.keys() %}
<div class="field">
<a class="login-page-button ui fluid large button" href="{{ url_for('sso_saml.sso', idp=name) }}">
{{
_('Log in with %(title)s', title=config.SSO_SAML_IDPS[name]['title']|default("SAML", true))
}}
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
</a>
</div>
{% endfor %}
{%- if config.ACCOUNTS_LOCAL_LOGIN_ENABLED %}
<div class="ui horizontal divider">
{{ _("Or") }}
</div>
{%- endif %}
{% endif %}
{%- block form_outer %}
{%- if config.ACCOUNTS_LOCAL_LOGIN_ENABLED %}
{%- with form = login_user_form %}
{%- set accordion_active = "active" if form.errors else "" %}
<div class="ui styled accordion">
<div class="title trigger {{ accordion_active }}">
{{ _('Log in with repository credentials') }}
<i class="user icon button"></i>
</div>
<div class="content {{ accordion_active }}">
<form action="{{ url_for_security('login') }}" method="POST" name="login_user_form" class="ui large form">
{{ form.hidden_tag() }}
{{ form_errors(form) }}
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }}
{{ render_field(form.password, icon="lock icon", errormsg=False) }}
<button type="submit" class="ui fluid large submit button">
<i class="ui sign-in icon"></i>{{ _('Log In') }}
</button>
</form>
</div>
</div>
{%- endwith %}
{%- endif %}
{%- endblock form_outer %}
<div class="divider hidden"></div>
</div>
{%- block registerable %}
{%- if security.registerable %}
<div class="ui primary segment padded text-muted">
{% trans sitename=config.ACCOUNTS_SITENAME %}New to {{ sitename }}?{% endtrans %}
<a href="{{ url_for_security('register', next=request.args.get('next')) }}">{{ _('Sign up') }}</a>
</div>
{%- endif %}
{%- endblock registerable %}
{%- block recoverable %}
{%- if security.recoverable %}
<div class="ui basic segment padded">
<a class="ui inverted header tiny"
href="{{ url_for_security('forgot_password') }}">{{ _('Forgot password?') }}</a>
</div>
{%- endif %}
{%- endblock recoverable %}
</div> </div>
</div>
</div>
{% endblock page_body %} {% endblock page_body %}

View File

@@ -5,92 +5,83 @@
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_TUGRAZ_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 %}
{% block page_body %} {% block page_body %}
<div class="spacer-long"></div> <div class="spacer-long"></div>
<div class="ui container">
<div class="ui container"> <div class="ui stackable two column grid">
<div class="centered row">
<div class="ui stackable two column grid"> <h1 class="ui header">{{ _("Create an Account") }}</h1>
<div class="centered row">
<h1 class="ui header">{{ _("Create an Account") }}</h1>
</div>
<div class="column" id="switch_left">
<div class="ui basic segment">
<h4 class="ui header">{{ _("Citeable. Discoverable.") }}</h4>
<p class="bodytext">
{{ _("Uploads get a Digital Object Identifier (DOI) to make them easily and uniquely citeable.")}}</h5>
<h4 class="ui header">{{ _("Communities.") }}</h4>
<p class="bodytext">
{{ _("Accept or reject uploads to your own community (e.g workshops, EU projects, institutions or entire disciplines).") }}
</h5>
<h4 class="ui header">{{ _("Trusted Research Data Management") }}</h4>
<p class="bodytext">
{{ _("Built on top of TU Graz expertise in managing of the research data from the Graz University of Technology.") }}
</h5>
</div>
</div>
<div class="column" id="switch_right">
{# Sigup with SSO #}
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
<div class="ui divider"></div>
<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 TUGRAZ") }}</span>
<img src="{{ url_for("static", filename=config.INVENIO_THEME_TUGRAZ_ICON) }}" height="20px" />
</a>
<div class="ui inverted horizontal divider"><span class="text-color">{{_ ("Or") }}</span></div>
{%- endif %}
{%- block form_header %}
{# can add a header img #}
{%- block form_outer %}
{%- endblock form_outer %}
{%- endblock form_header %}
{%- with form = register_user_form %}
{%- set accordion_active = "active" if form.errors else "" %}
<div class="ui padded centered large form">
<div class="ui styled accordion">
<div class="title trigger {{ accordion_active }}">
{{ _("Sign up with repository credentials") }}
<i class="user icon button"></i>
</div> </div>
<div class="content {{ accordion_active }}"> <div class="column" id="switch_left">
<form class="ui large form" action="{{ url_for_security("register") }}" method="POST" name="register_user_form"> <div class="ui basic segment">
{{ form_errors(form) }} <h4 class="ui header">{{ _("Citeable. Discoverable.") }}</h4>
{{ form.hidden_tag() }} <p class="bodytext">
{%- block registration_form_fields scoped %} {{ _("Uploads get a Digital Object Identifier (DOI) to make them easily and uniquely citeable.") }}
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }} </h5>
{{ render_field(form.password, icon="lock icon", errormsg=False) }} <h4 class="ui header">{{ _("Communities.") }}</h4>
{%- if form.password_confirm %} <p class="bodytext">
{{ render_field(form.password_confirm, icon="lock icon", errormsg=False) }} {{ _("Accept or reject uploads to your own community (e.g workshops, EU projects, institutions or entire disciplines).") }}
{%- endif %} </h5>
{%- endblock registration_form_fields %} <h4 class="ui header">{{ _("Trusted Research Data Management") }}</h4>
<p class="bodytext">
{%- if form.recaptcha %} {{ _("Built on top of TU Graz expertise in managing of the research data from the Graz University of Technology.") }}
<div class="grouped fields">{{ form.recaptcha() }}</div> </h5>
{%- endif %}
<div class="centered row">
<button type="submit" class="ui fluid large submit button">
<i class="ui edit outline icon"></i>{{ _("Sign up") }}
</button>
</div> </div>
</form>
</div> </div>
</div> <div class="column" id="switch_right">
{# Sigup with SSO #}
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
<div class="ui divider"></div>
<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 TUGRAZ") }}</span>
<img src="{{ url_for("static", filename=config.INVENIO_THEME_TUGRAZ_ICON) }}"
height="20px" />
</a>
<div class="ui inverted horizontal divider">
<span class="text-color">{{ _ ("Or") }}</span>
</div>
{%- endif %}
{%- block form_header %}
{# can add a header img #}
{%- block form_outer %}
{%- endblock form_outer %}
{%- endblock form_header %}
{%- with form = register_user_form %}
{%- set accordion_active = "active" if form.errors else "" %}
<div class="ui padded centered large form">
<div class="ui styled accordion">
<div class="title trigger {{ accordion_active }}">
{{ _("Sign up with repository credentials") }}
<i class="user icon button"></i>
</div>
<div class="content {{ accordion_active }}">
<form class="ui large form"
action="{{ url_for_security("register") }}"
method="POST"
name="register_user_form">
{{ form_errors(form) }}
{{ form.hidden_tag() }}
{%- block registration_form_fields scoped %}
{{ render_field(form.email, icon="user icon", autofocus=True, errormsg=False) }}
{{ render_field(form.password, icon="lock icon", errormsg=False) }}
{%- if form.password_confirm %}{{ render_field(form.password_confirm, icon="lock icon", errormsg=False) }}{%- endif %}
{%- endblock registration_form_fields %}
{%- if form.recaptcha %}<div class="grouped fields">{{ form.recaptcha() }}</div>{%- endif %}
<div class="centered row">
<button type="submit" class="ui fluid large submit button">
<i class="ui edit outline icon"></i>{{ _("Sign up") }}
</button>
</div>
</form>
</div>
</div>
</div>
{%- endwith %}
<div class="ui divider"></div>
</div>
</div> </div>
{%- endwith %}
<div class="ui divider"></div>
</div> </div>
</div>
</div>
{% endblock page_body %} {% endblock page_body %}

View File

@@ -5,93 +5,74 @@
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 }}"
<head> dir="{{ current_i18n.locale.text_direction }}">
{%- block head %} <head>
{%- block head_meta %} {%- block head %}
<meta charset="utf-8"> {%- block head_meta %}
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- if description %} {%- if description %}<meta name="description" content="{{ description }}" />{% endif %}
<meta name="description" content="{{ description }}" /> {%- if keywords %}<meta name="keywords" content="{{ keywords }}" />{% endif %}
{% endif %} {%- if config.get("THEME_GOOGLE_SITE_VERIFICATION", None) %}
{%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %}
{%- if keywords %} <meta name="google-site-verification" content="{{ google_id }}" />
<meta name="keywords" content="{{ keywords }}" /> {%- endfor %}
{% endif %} {%- endif %}
{%- endblock head_meta %}
{%- if config.get("THEME_GOOGLE_SITE_VERIFICATION", None) %} {%- block head_title %}
{%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %} {%- set title = title or _(config.THEME_SITENAME) or _("Invenio") %}
<meta name="google-site-verification" content="{{google_id}}"/> <title>{{ title }}</title>
{%- endfor %} {%- endblock head_title %}
{%- endif %} {%- block head_links %}
{%- endblock head_meta %} <link rel="shortcut icon"
href="{{ url_for("static", filename="favicon.ico") }}" />
{%- block head_title %} {%- if keywords %}<link rel="canonical" href="{{ canonical_url }}" />{% endif %}
{%- set title = title or _(config.THEME_SITENAME) or _("Invenio") %} {%- block head_links_langs %}
<title>{{title}}</title> {%- if alternate_urls %}
{%- endblock head_title %} {%- for alt_ln, alternate_url in alternate_urls.items() %}
<link rel="alternate" hreflang="{{ alt_ln }}" href="{{ alternate_url }}" />
{%- block head_links %} {%- endfor %}
<link rel="shortcut icon" href="{{ url_for("static", filename="favicon.ico") }}"/> {%- endif %}
{%- endblock %}
{%- if keywords %} {%- endblock head_links %}
<link rel="canonical" href="{{ canonical_url }}"/> {%- block header %}
{% endif %} {% endblock header %}
{%- block css %}
{%- block head_links_langs %} {{ webpack["theme.css"] }}
{%- if alternate_urls %} {{ webpack["invenio-theme-tugraz-theme.css"] }}
{%- for alt_ln, alternate_url in alternate_urls.items() %} {%- endblock css %}
<link rel="alternate" hreflang="{{ alt_ln }}" href="{{ alternate_url }}"/> {%- endblock head %}
{%- endfor %} </head>
{%- endif %} <body itemscope
{%- endblock %} itemtype="http://schema.org/WebPage"
{%- endblock head_links %} data-spy="scroll"
data-target=".scrollspy-target">
{%- block header %}{% endblock header %} {%- block body %}
{%- block browserupgrade %}
{%- block css %} <!--[if lt IE 10]>
{{ webpack["theme.css"] }}
{{ webpack["invenio-theme-tugraz-theme.css"] }}
{%- endblock css %}
{%- endblock head %}
</head>
<body itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target=".scrollspy-target">
{%- block body %}
{%- block browserupgrade %}
<!--[if lt IE 10]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--> <![endif]-->
{%- endblock browserupgrade %} {%- endblock browserupgrade %}
{%- block body_inner %}
{%- block body_inner %} {%- block page_header %}
{%- block page_header %} {% include config.THEME_HEADER_TEMPLATE %}
{% include config.THEME_HEADER_TEMPLATE %} {%- endblock page_header %}
{%- endblock page_header %} {%- block page_body %}
{% include "invenio_theme/body.html" %}
{%- block page_body %} {%- endblock page_body %}
{% include "invenio_theme/body.html" %} {%- block page_footer %}
{%- endblock page_body %} {% include config.THEME_FOOTER_TEMPLATE %}
{%- endblock page_footer %}
{%- block page_footer %} {%- endblock body_inner %}
{% include config.THEME_FOOTER_TEMPLATE %} {%- block javascript %}
{%- endblock page_footer %} {% include config.THEME_JAVASCRIPT_TEMPLATE %}
{%- endblock body_inner %} {%- endblock javascript %}
{%- block trackingcode %}
{%- block javascript %} {% include config.THEME_TRACKINGCODE_TEMPLATE %}
{% include config.THEME_JAVASCRIPT_TEMPLATE %} {%- endblock %}
{%- endblock javascript %} {%- endblock body %}
</body>
{%- block trackingcode %}
{% include config.THEME_TRACKINGCODE_TEMPLATE %}
{%- endblock %}
{%- endblock body %}
</body>
</html> </html>

View File

@@ -5,17 +5,29 @@
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 Repository of the TU Graz") }}</h4> <h4>{{ _("Good reasons to use the Repository of the TU Graz") }}</h4>
<ul>
<ul> <li>
<li><strong>{{_("Safe") }}</strong> &mdash; {{_("Your research results are permanently available.") }}</li> <strong>{{ _("Safe") }}</strong> &mdash; {{ _("Your research results are permanently available.") }}
<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>
<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> <strong>{{ _("Trusted") }}</strong> &mdash; {{ _("A service from TU Graz, developed in cooperation with CERN.") }}
<li><strong>{{_("Open or closed") }}</strong> &mdash; {{_("You determine the visibility of your uploads. A restricted access mode is possible.") }}</li> </li>
<li><strong>{{_("Versioning") }}</strong> &mdash; {{_("Easily update your dataset with the versioning feature.") }}</li> <li>
<li><strong>{{_("Usage statistics") }}</strong> &mdash; {{ _("All uploads display standards compliant usage statistics. ") }} <a href="help/statistics">({{ _("More") }})</a></li> <strong>{{ _("Citeable") }}</strong> &mdash; {{ _("Every upload is assigned a Digital Object Identifier (DOI).") }}
</ul> </li>
<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>
<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>
</div> </div>

View File

@@ -5,25 +5,18 @@
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"> <div class="ui segment">
<h4>{{ _("Need help?") }}</h4> <h4>{{ _("Need help?") }}</h4>
{%- if config.THEME_TUGRAZ_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">{{ _("Contact us") }}</a>
<a id="feedback-form" class="fluid ui button"> </div>
{{ _("Contact us") }} {%- endif %}
</a> <p>{{ _("We can help with:") }}</p>
</div> <ul>
{%- endif %} <li>{{ _("Upload your research results, software, preprints, etc.") }}</li>
<p> <li>{{ _("Increase upload limit beyond our default policy of 10GB.") }}</li>
{{ _("We can help with:") }} <li>{{ _("Establish contact with data stewards.") }}</li>
</p> <li>{{ _("Find individual solutions.") }}</li>
</ul>
<ul>
<li>{{ _("Upload your research results, software, preprints, etc.") }}</li>
<li>{{ _("Increase upload limit beyond our default policy of 10GB.") }}</li>
<li>{{ _("Establish contact with data stewards.") }}</li>
<li>{{ _("Find individual solutions.") }}</li>
</ul>
</div> </div>

View File

@@ -4,18 +4,14 @@
invenio-theme-tugraz 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.THEME_ERROR_TEMPLATE %}
{% extends config.THEME_ERROR_TEMPLATE %} {% block message %}
<h1>{{ _("Internal server error") }}</h1>
{% block message %}
<h1> {{ _('Internal server error') }} </h1>
<p> <p>
{{ _( {{ _('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.').format(support_email=config.THEME_TUGRAZ_SUPPORT_EMAIL)
to let us know about this error.' }}
).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 #}
{% endblock message %} {% endblock message %}

View File

@@ -5,165 +5,143 @@
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 %}{{ webpack['invenio-theme-tugraz-theme.css'] }}{%- endblock %}
{%- block css %}
{{ webpack['invenio-theme-tugraz-theme.css'] }}
{%- endblock %}
{%- block javascript %} {%- block javascript %}
{{ webpack['invenio-theme-tugraz-js.js'] }} {{ webpack['invenio-theme-tugraz-js.js'] }}
{%- endblock javascript %} {%- endblock javascript %}
<div class="spacer"></div> <div class="spacer"></div>
<footer id="footer" class="footer-bottom"> <footer id="footer" class="footer-bottom">
<div class="ui container"> <div class="ui container">
<div class="ui grid"> <div class="ui grid">
<div class="doubling four column row"> <div class="doubling four column row">
<div class="column"> <div class="column">
<h2>{{ _("Repository") }}</h2> <h2>{{ _("Repository") }}</h2>
<div class="ui list"> <div class="ui list">
<div class="item"> <div class="item">
<a href="https://tu-graz-library.github.io/docs-repository" title="Repository documentation" <a href="https://tu-graz-library.github.io/docs-repository"
target="_blank"> title="Repository documentation"
{{ _("Documentation") }} <i class="external alternate icon"></i> target="_blank">
</a> {{ _("Documentation") }} <i class="external alternate icon"></i>
</a>
</div>
<div class="item">
<a href="{{ url_for("invenio_config_tugraz.guide") }}"
title="Quick guide"
target="_blank">
{{ _("Reference Guide") }} <i class="download icon"></i>
</a>
</div>
<div class="item">
<a href="{{ url_for("invenio_app_rdm.help_search") }}"
title="Search guide">
{{ _("Search Guide") }}<i class="angle right icon"></i>
</a>
</div>
<div class="item">
<a href="{{ url_for("invenio_config_tugraz.gdpr") }}"
title="General Data Protection Rights"
target="_blank">
{{ _("Data Protection") }} <i class="download icon"></i>
</a>
</div>
<div class="item">
<a href="{{ url_for("invenio_config_tugraz.terms") }}"
title="Terms and Conditions"
target="_blank">
{{ _("Terms and Conditions") }} <i class="download icon"></i>
</a>
</div>
</div>
</div>
<div class="column">
<h2>{{ _("Features") }}</h2>
<div class="ui list">
<div class="item">{{ _("Scalability") }}</div>
<div class="item">{{ _("Institutional integration") }}</div>
<div class="item">{{ _("Next Generation Repository") }}</div>
<div class="item">{{ _("Repository Profiles") }}</div>
<div class="item">{{ _("Resilient") }}</div>
</div>
</div>
<div class="column">
<h2>{{ _("Connected Services") }}</h2>
<div class="ui list">
<div class="item">
<a href="https://pure.tugraz.at" title="PURE" target="_blank">
{{ _("PURE") }} <i class="external alternate icon"></i>
</a>
</div>
<div class="item">
<a href="http://campusonline.tugraz.at"
title="CAMPUS online"
target="_blank">
{{ _("CampusOnline") }} <i class="external alternate icon"></i>
</a>
</div>
<div class="item">
<a href="https://rdm.tugraz.at"
title="Research Data Management"
target="_blank">
{{ _("Research Data Management") }} <i class="external alternate icon"></i>
</a>
</div>
</div>
</div>
<div class="column">
<h2>{{ _("Accessibility") }}</h2>
<div class="ui list">
<div class="item">{{ _("Tipp:") }}</div>
<div class="item">{{ _("Use Ctrl + and Crtl -") }}</div>
<div class="item">{{ _("to change the font size.") }}</div>
</div>
</div>
</div> </div>
<div class="ui divider"></div>
<div class="item"> <div class="doubling four column row">
<a href="{{ url_for('invenio_config_tugraz.guide') }}" <div class="column">
title="Quick guide" target="_blank"> <div class="logos">
{{ _("Reference Guide") }} <i class="download icon"></i> <strong>Powered by</strong>
</a> <a href="http://inveniosoftware.org/products/rdm"
target="_blank"
title="invenioRDM">
<img src="{{ url_for("static", filename="images/inveniordm-tail.svg") }}" alt="InvenioRDM logo" style="display: block; height: 90px; margin-top: 8px;">
</a>
</div>
</div>
<div class="column">
<div class="logos">
<strong>Enabled by</strong>
<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") }}" alt="Fair Data Austria" style="display: block; height: auto; margin-top: 15px; width: 230px;">
</a>
</div>
</div>
<div class="column">
<div class="logos">
<strong>Supported by</strong>
<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" style="display: block; height: auto; margin-top: 15px; width: 200px;">
</a>
</div>
</div>
</div> </div>
<div class="ui divider"></div>
<div class="item"> <div class="doubling four column row">
<a href="{{ url_for('invenio_app_rdm.help_search') }}" <div class="column">
title="Search guide"> <div class="logos">
{{ _("Search Guide") }}<i class="angle right icon"></i> <strong>Listed on</strong>
</a> <a href="https://www.re3data.org/repository/r3d100013565"
target="_blank"
title="Registry of Research Data Repositories">
<img src="{{ url_for("static", filename="images/re3data.svg") }}" alt="Registry of Research Data Repositories" style="display: block; height: auto; width: 300px;">
</a>
</div>
</div>
</div> </div>
<div class="item">
<a href="{{ url_for('invenio_config_tugraz.gdpr') }}"
title="General Data Protection Rights" target="_blank">
{{ _("Data Protection") }} <i class="download icon"></i>
</a>
</div>
<div class="item">
<a href="{{ url_for('invenio_config_tugraz.terms') }}"
title="Terms and Conditions" target="_blank">
{{ _("Terms and Conditions") }} <i class="download icon"></i>
</a>
</div>
</div>
</div> </div>
<div class="column">
<h2>{{ _("Features") }}</h2>
<div class="ui list">
<div class="item">{{ _("Scalability") }}</div>
<div class="item">{{ _("Institutional integration") }}</div>
<div class="item">{{ _("Next Generation Repository") }}</div>
<div class="item">{{ _("Repository Profiles") }}</div>
<div class="item">{{ _("Resilient") }}</div>
</div>
</div>
<div class="column">
<h2>{{ _("Connected Services") }}</h2>
<div class="ui list">
<div class="item">
<a href="https://pure.tugraz.at" title="PURE" target="_blank">
{{ _("PURE") }} <i class="external alternate icon"></i>
</a>
</div>
<div class="item">
<a href="http://campusonline.tugraz.at" title="CAMPUS online" target="_blank">
{{ _("CampusOnline") }} <i class="external alternate icon"></i>
</a>
</div>
<div class="item">
<a href="https://rdm.tugraz.at" title="Research Data Management" target="_blank">
{{ _("Research Data Management") }} <i class="external alternate icon"></i>
</a>
</div>
</div>
</div>
<div class="column">
<h2>{{ _("Accessibility") }}</h2>
<div class="ui list">
<div class="item">
{{ _("Tipp:") }}
</div>
<div class="item">
{{ _("Use Ctrl + and Crtl -") }}
</div>
<div class="item">
{{ _("to change the font size.") }}
</div>
</div>
</div>
</div>
<div class="ui divider"></div>
<div class="doubling four column row">
<div class="column">
<div class="logos">
<strong>Powered by</strong>
<a href="http://inveniosoftware.org/products/rdm" target="_blank" title="invenioRDM">
<img src="{{ url_for("static", filename="images/inveniordm-tail.svg")}}"
alt="InvenioRDM logo"
style="display: block; height: 90px; margin-top: 8px;">
</a>
</div>
</div>
<div class="column">
<div class="logos">
<strong>Enabled by</strong>
<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")}}"
alt="Fair Data Austria"
style="display: block; height: auto; margin-top: 15px; width: 230px;">
</a>
</div>
</div>
<div class="column">
<div class="logos">
<strong>Supported by</strong>
<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"
style="display: block; height: auto; margin-top: 15px; width: 200px;">
</a>
</div>
</div>
</div>
<div class="ui divider"></div>
<div class="doubling four column row">
<div class="column">
<div class="logos">
<strong>Listed on</strong>
<a href="https://www.re3data.org/repository/r3d100013565" target="_blank" title="Registry of Research Data Repositories">
<img src="{{ url_for("static", filename="images/re3data.svg")}}"
alt="Registry of Research Data Repositories"
style="display: block; height: auto; width: 300px;">
</a>
</div>
</div>
</div>
</div> </div>
</div>
</footer> </footer>

View File

@@ -5,74 +5,61 @@
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="sixteen wide column random-records-frontpage"> <div class="sixteen wide column random-records-frontpage">
<div class="center aligned ui equal height grid"> <div class="center aligned ui equal height grid">
<div class="left aligned column"> <div class="left aligned column">
<div class="ui segment image"> <div class="ui segment image">
<h2>{{ _("Research Results") }}</h2> <h2>{{ _("Research Results") }}</h2>
<div>{{ _("Frontpage: Description for research results") }}</div>
<div> <ul>
{{ _("Frontpage: Description for research results") }} {#
</div>
<ul>
{#
<li> <li>
<a href="research-results/browse">{{ _("Browse") }}</a> <a href="research-results/browse">{{ _("Browse") }}</a>
</li> </li>
#} #}
<li> <li>
<a href="records/search">{{ _("Search for research results") }}</a> <a href="records/search">{{ _("Search for research results") }}</a>
</li> </li>
<li> <li>
<a href="me/uploads">{{ _("Upload research results") }}</a> <a href="me/uploads">{{ _("Upload research results") }}</a>
</li> </li>
</ul> </ul>
</div> </div>
</div>
<div class="left aligned column">
<div class="ui segment image">
<h2>{{ _("Publications") }}</h2>
<div>
{{ _("Frontpage: Description for publications") }}
</div> </div>
<div class="left aligned column">
<ul> <div class="ui segment image">
{# <h2>{{ _("Publications") }}</h2>
<div>{{ _("Frontpage: Description for publications") }}</div>
<ul>
{#
<li> <li>
<a href="publications/browse">Browse</a> <a href="publications/browse">Browse</a>
</li> </li>
#} #}
<li> <li>
<a href="publications/search">{{ _("Search for publications") }}</a> <a href="publications/search">{{ _("Search for publications") }}</a>
</li> </li>
</ul> </ul>
</div> </div>
</div>
<div class="left aligned column">
<div class="ui segment image">
<h2>{{ _("Educational Resources") }}</h2>
<div>
{{ _("Frontpage: Description for open educational resources") }}
</div> </div>
<div class="left aligned column">
<ul> <div class="ui segment image">
{# <h2>{{ _("Educational Resources") }}</h2>
<div>{{ _("Frontpage: Description for open educational resources") }}</div>
<ul>
{#
<li> <li>
<a href="oer/browse">{{ _("Browse") }}</a> <a href="oer/browse">{{ _("Browse") }}</a>
</li> </li>
#} #}
<li> <li>
<a href="oer/search">{{ _("Search for educational resourses") }}</a> <a href="oer/search">{{ _("Search for educational resourses") }}</a>
</li> </li>
<li> <li>
<a href="oer/uploads">{{ _("Upload educational resources") }}</a> <a href="oer/uploads">{{ _("Upload educational resources") }}</a>
</li> </li>
</ul> </ul>
</div> </div>
</div>
</div> </div>
</div>
</div> </div>

View File

@@ -5,70 +5,68 @@
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_TUGRAZ_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>
</div> </div>
{% endif %} {% endif %}
<div> <div>
<header> <header>
{%- block site_banner %} {%- block site_banner %}
{% from 'invenio_banners/banner.html' import banner %} {% from 'invenio_banners/banner.html' import banner %}
{{ banner() }} {{ banner() }}
{%- endblock site_banner %} {%- endblock site_banner %}
{%- block navbar %}
{%- block navbar %} <nav>
<nav> {%- block navbar_header %}
{%- block navbar_header %} {%- include "invenio_theme_tugraz/navbar.html" %}
{%- include "invenio_theme_tugraz/navbar.html" %} {%- endblock navbar_header %}
{%- endblock navbar_header %} <div class="ui container">
<div class="ui grid stackable container">
<div class="ui container"> <div class="three column row centered" style="padding-bottom: 0;">
<div class="ui grid stackable container"> <div class="two wide column main-menu-entry">
<div class="three column row centered" style="padding-bottom: 0;"> <a href="{{ url_for("invenio_theme_tugraz.index") }}"
<div class="two wide column main-menu-entry"> title="Home"
<a href="{{url_for('invenio_theme_tugraz.index')}}" title="Home" class="no-decoration"> 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"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" id="int-menu-q-home-icon"
version="1.1" xml:space="preserve" height="36.997" width="35.969" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
enable-background="new 0 0 595.28 841.89" y="0px" x="0px" xmlns:cc="http://creativecommons.org/ns#" xmlns="http://www.w3.org/2000/svg"
xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 35.969 36.997451"> version="1.1"
<polyline style="stroke:#E4154B;stroke-linecap:square;stroke-width:4;fill:none" xml:space="preserve"
points="282.72 437.28 282.72 414.77 297.71 406.69 312.69 414.77 312.69 437.28" height="36.997"
transform="translate(-279.72 -403.28)"> width="35.969"
</polyline> enable-background="new 0 0 595.28 841.89"
</svg> y="0px"
{{ _("Home") }} x="0px"
</span> xmlns:cc="http://creativecommons.org/ns#"
</a> xmlns:dc="http://purl.org/dc/elements/1.1/"
</div> viewBox="0 0 35.969 36.997451">
<polyline style="stroke:#E4154B;stroke-linecap:square;stroke-width:4;fill:none" points="282.72 437.28 282.72 414.77 297.71 406.69 312.69 414.77 312.69 437.28" transform="translate(-279.72 -403.28)">
<div class="two wide column main-menu-entry"> </polyline>
<a role="menuitem" href="/communities" class="no-decoration">{{ _("Communities") }}</a> </svg>
</div> {{ _("Home") }}
<div class="two wide column main-menu-entry"> </span>
<a role="menuitem" href="/me/overview" class="no-decoration">{{ _("Dashboard") }}</a> </a>
</div> </div>
</div> <div class="two wide column main-menu-entry">
<a role="menuitem" href="/communities" class="no-decoration">{{ _("Communities") }}</a>
<div id="margin-divider" class="ui divider main-menu-underline-line"> </div>
<div class="two wide column main-menu-entry">
</div> <a role="menuitem" href="/me/overview" class="no-decoration">{{ _("Dashboard") }}</a>
</div> </div>
</div>
<div class="spacer"></div> <div id="margin-divider" class="ui divider main-menu-underline-line"></div>
</div> </div>
<div class="spacer"></div>
</nav> </div>
{%- endblock navbar %} </nav>
{%- endblock navbar %}
{%- 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 -%}
{{ flashed_messages() }} {{ flashed_messages() }}
{%- endblock %} {%- endblock %}
</header> </header>
</div> </div>

View File

@@ -5,31 +5,21 @@
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_TUGRAZ_BASE_TEMPLATE %} {%- extends config.INVENIO_THEME_TUGRAZ_BASE_TEMPLATE %}
{%- block javascript %} {%- block javascript %}
{{ webpack['invenio-theme-tugraz-js.js'] }} {{ webpack['invenio-theme-tugraz-js.js'] }}
{%- endblock javascript %} {%- endblock javascript %}
{%- block page_body %} {%- block page_body %}
<div class="ui container">
<div class="ui container"> <div class="ui divider hidden"></div>
<div class="ui divider hidden"></div> <div class="ui stackable grid">
{% include "invenio_theme_tugraz/frontpage_overview.html" %}
<div class="ui stackable grid"> {% include "invenio_theme_tugraz/recent_uploads.html" %}
<!---segments-->
{% include "invenio_theme_tugraz/frontpage_overview.html" %} <div class="six wide column">
{% include "invenio_theme_tugraz/contact_us.html" %}
{% include "invenio_theme_tugraz/recent_uploads.html" %} {% include "invenio_theme_tugraz/benefits.html" %}
</div>
<!---segments--> </div>
<div class="six wide column">
{% include "invenio_theme_tugraz/contact_us.html" %}
{% include "invenio_theme_tugraz/benefits.html" %}
</div> </div>
</div>
</div>
{%- endblock %} {%- endblock %}

View File

@@ -5,26 +5,25 @@
invenio-theme-tugraz 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.
#} #}
{%- macro creators (authors_list) %} {%- macro creators (authors_list) %}
{%- for creators in authors_list %}
{%- for creators in authors_list %} {%- if creators.identifiers and creators.identifiers.orcid %}
<a href="{{ creators.identifiers.orcid|pid_url("orcid") }}"
{%- if creators.identifiers and creators.identifiers.orcid %} target="_blank">
<a href="{{creators.identifiers.orcid|pid_url('orcid')}}" target="_blank" ><img class="inline-orcid" src="{{ url_for('static', filename='extra/orcid.png')}}" /></a> <img class="inline-orcid"
{%- endif %} src="{{ url_for('static', filename='extra/orcid.png') }}" />
</a>
<span class="text-muted" {% if creators.affiliations %} {% for affiliation in creators.affiliations %} data-tooltip="{{affiliation.name}}" data-inverted="" {%- endfor %} {% endif %}>{{creators.person_or_org.name}}</span> {%- endif %}
{% if not loop.last %}; {% endif %} <span class="text-muted"
{% if creators.affiliations %} {% for affiliation in creators.affiliations %}data-tooltip="{{ affiliation.name }}" data-inverted=""{%- endfor %} {% endif %}>{{ creators.person_or_org.name }}</span>
{%- endfor %} {% if not loop.last %};{% endif %}
{%- endfor %}
{%- endmacro %} {%- endmacro %}
<!--TODO: contributers--> <!--TODO: contributers-->
{%- macro contributors(contributors_list) %} {%- macro contributors(contributors_list) %}
{%- for group in contributors_list|groupby('type')%} {%- for group in contributors_list|groupby('type') %}
<h5>{{group.grouper}}(s)</h5> <h5>{{ group.grouper }}(s)</h5>
{{authors(group.list)}} {{ authors(group.list) }}
{%- endfor %} {%- endfor %}
{%- endmacro %} {%- endmacro %}

View File

@@ -5,97 +5,92 @@
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.
#} #}
{% set options = [ {% set options = [
{ {
"key": "records", "key": "records",
"text": _("All"), "text": _("All"),
"value": url_for("invenio_search_ui.search"), "value": url_for("invenio_search_ui.search"),
"title": "repo", "title": "repo",
},{ },{
"key": "rdm", "key": "rdm",
"text": _("Research Results"), "text": _("Research Results"),
"value": "/records/search", "value": "/records/search",
"title": "Research Data", "title": "Research Data",
},{ },{
"key": "marc21", "key": "marc21",
"text": _("Publications"), "text": _("Publications"),
"value": url_for("invenio_records_marc21.search"), "value": url_for("invenio_records_marc21.search"),
"title": "publication", "title": "publication",
},{ },{
"key": "lom", "key": "lom",
"text": _("Educational Resources"), "text": _("Educational Resources"),
"value": url_for("invenio_records_lom.search"), "value": url_for("invenio_records_lom.search"),
"title": "oer", "title": "oer",
} }
] ] %}
%}
<div class="ui container"> <div class="ui container">
<div class="short-menu" id="all-menu-top-table"> <div class="short-menu" id="all-menu-top-table">
<div class="short-menu-left"> <div class="short-menu-left">
<div id="all-menu-top-left-item"> <div id="all-menu-top-left-item">
<div class="short-menu-left-search"> <div class="short-menu-left-search">
<div style="display: inline-block;"> <div style="display: inline-block;">
<div class="item p-0 search-bar rel-mr-1"> <div class="item p-0 search-bar rel-mr-1">
<div id="header-search-bar" data-options='{{ options | tojson }}'></div> <div id="header-search-bar" data-options='{{ options | tojson }}'></div>
</div>
</div>
<div class="short-menu-left-lang">
{%- for l in current_i18n.get_locales() %}
{%- if current_i18n.language != l.language %}
<a href="{{ url_for("invenio_i18n.set_lang", lang_code=l.language) }}"
class="no-decoration">{{ l.get_display_name().upper()[0:2] }}</a>
{%- endif %}
{%- endfor %}
</div>
</div>
</div> </div>
</div> </div>
<div class="short-menu-right">
<div class="short-menu-left-lang"> {%- block navbar_right %}
{%- for l in current_i18n.get_locales() %} {%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
{%- if current_i18n.language != l.language %} {%- endblock navbar_right %}
<a href="{{ url_for("invenio_i18n.set_lang", lang_code=l.language) }}" </div>
</div>
<!----END MENU------------------------------------------------------------->
<div class="ui grid" id="main-logo">
<!-- Left -->
<div class="left floated left aligned six wide column" id="repo-logo">
<div class="inline-elements">
<div class="repo-img">
<img height="51.862" src="{{ url_for("static", filename="images/library_logo.png") }}">
</div>
<div class="affiliation-text">
<a title="Home"
href="{{ url_for("invenio_theme_tugraz.index") }}"
class="no-decoration">
{{ _("TU GRAZ") }}
<br>
{{ _("REPOSITORY") }}
<br>
{{ _("LIBRARY & ARCHIVES") }}
</a>
</div>
</div>
</div>
<!-- Right -->
<div class="right floated right aligned six wide column">
<div class="affiliation-logo" id="int-header-logo">
<a href="https://www.tugraz.at"
title="TU Graz Home"
target="_blank"
class="no-decoration"> class="no-decoration">
{{ l.get_display_name().upper()[0:2] }} <div class="affiliation-logo-claim">
<div class="affiliation-logo-claim-single">{{ _("SCIENCE") }}</div>
<div class="affiliation-logo-claim-single">{{ _("PASSION") }}</div>
<div class="affiliation-logo-claim-single">{{ _("TECHNOLOGY") }}</div>
</div>
{%- include "invenio_theme_tugraz/tu_graz_logo.svg" %}
</a> </a>
{%- endif %} </div>
{%- endfor %}
</div>
</div> </div>
</div>
</div> </div>
<div class="short-menu-right">
{%- block navbar_right %}
{%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
{%- endblock navbar_right %}
</div>
</div>
<!----END MENU------------------------------------------------------------->
<div class="ui grid" id="main-logo">
<!-- Left -->
<div class="left floated left aligned six wide column" id="repo-logo">
<div class="inline-elements">
<div class="repo-img">
<img height="51.862" src="{{ url_for("static", filename="images/library_logo.png")}}">
</div>
<div class="affiliation-text">
<a title="Home" href="{{url_for("invenio_theme_tugraz.index")}}" class="no-decoration">
{{ _("TU GRAZ") }}
<br>
{{ _("REPOSITORY") }}
<br>
{{ _("LIBRARY & ARCHIVES") }}
</a>
</div>
</div>
</div>
<!-- Right -->
<div class="right floated right aligned six wide column">
<div class="affiliation-logo" id="int-header-logo">
<a href="https://www.tugraz.at" title="TU Graz Home" target="_blank" class="no-decoration">
<div class="affiliation-logo-claim">
<div class="affiliation-logo-claim-single">{{ _("SCIENCE") }}</div>
<div class="affiliation-logo-claim-single">{{ _("PASSION") }}</div>
<div class="affiliation-logo-claim-single">{{ _("TECHNOLOGY") }}</div>
</div>
{%- include "invenio_theme_tugraz/tu_graz_logo.svg" %}
</a>
</div>
</div>
</div>
</div> </div>

View File

@@ -5,126 +5,103 @@
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_TUGRAZ_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-tugraz-unlock.js'] }} {{ webpack['invenio-theme-tugraz-unlock.js'] }}
{% endblock javascript %} {% endblock javascript %}
{%- block page_body %} {%- block page_body %}
{%- block user_dashboard_header %} {%- block user_dashboard_header %}
{% include "invenio_app_rdm/users/header.html" %} {% include "invenio_app_rdm/users/header.html" %}
{%- endblock user_dashboard_header %} {%- endblock user_dashboard_header %}
<div class="ui container rel-mt-2">
<div class="ui container rel-mt-2"> <h2>Overview</h2>
<h2>Overview</h2> <div class="ui five column stackable grid overview">
{% if is_tugraz_authenticated %}
<div class="ui five column stackable grid overview"> {# 3 columns: Research-Uploads, Communities, and Requests #}
{% if is_tugraz_authenticated %} <div class="column">
{# 3 columns: Research-Uploads, Communities, and Requests #} <div class="ui segment" style="height: 480px">
<div class="column"> <h2>{{ _("Research Results") }}</h2>
<div class="ui segment" style="height: 480px"> <a class="ui left floated image" href="/me/uploads">
<h2>{{ _("Research Results") }}</h2> <img width="400px" alt="Research Results" src="{{ url_for("static", filename="images/diamond.svg") }}">
<a class="ui left floated image" href="/me/uploads"> </a>
<img width="400px" alt="Research Results" src="{{ url_for("static", filename="images/diamond.svg") }}"> <div class="ui right floated text">{{ _("Overview: Description for research results") }}</div>
</a> </div>
<div class="ui right floated text"> </div>
{{ _("Overview: Description for research results") }} <div class="column">
</div> <div class="ui segment" style="height: 480px">
</div> <h2>{{ _("Communities") }}</h2>
</div> <a class="ui left floated image" href="/me/communities">
<div class="column"> <img width="400px" alt="Communities" src="{{ url_for("static", filename="images/group-discussion.svg") }}">
<div class="ui segment" style="height: 480px"> </a>
<h2>{{ _("Communities") }}</h2> <div>{{ _("Overview: Description of Communities") }}</div>
<a class="ui left floated image" href="/me/communities"> </div>
<img width="400px" alt="Communities" src="{{ url_for("static", filename="images/group-discussion.svg") }}"> </div>
</a> <div class="column">
<div> <div class="ui segment" style="height: 480px">
{{ _("Overview: Description of Communities") }} <h2>{{ _("Requests") }}</h2>
</div> <a class="ui left floated image" href="/me/requests">
</div> <img width="400px" alt="Requests" src="{{ url_for("static", filename="images/umbrella.svg") }}">
</div> </a>
<div class="column"> <div>{{ _("Overview: Description of Requests") }}</div>
<div class="ui segment" style="height: 480px"> </div>
<h2>{{ _("Requests") }}</h2> </div>
<a class="ui left floated image" href="/me/requests"> {% else %}
<img width="400px" alt="Requests" src="{{ url_for("static", filename="images/umbrella.svg") }}"> {# not is_tugraz_authenticated #}
</a> {# 1 column: greyed out Research-Uploads #}
<div> <div class="column">
{{ _("Overview: Description of Requests") }} {# a modal's HTML can be placed anywhere, so I placed it here, right before it's used #}
</div> <div class="ui small modal" id="tugraz-unlock-modal">
</div> <div class="header">{{ _("On unlocking research uploads") }}</div>
</div> <div class="content">
{% else %} {# not is_tugraz_authenticated #} <p>
{# 1 column: greyed out Research-Uploads #} {{ _('To ensure a well-curated repository, new users need to get unlocked
<div class="column"> before being allowed to upload. Once unlocked, you can upload your research,
{# a modal's HTML can be placed anywhere, so I placed it here, right before it's used #} request its inclusion in a community, generate a DOI for it, and publish it.') }}
<div class="ui small modal" id="tugraz-unlock-modal"> {# TODO: extra lines on policy about who gets accepted how for Research-Uploads #}
<div class="header">{{ _("On unlocking research uploads") }}</div> </p>
<div class="content"> <div id="anchor-unlock-form">
<p> {# will be replaced with ZammadForm when generating it #}
{{ _('To ensure a well-curated repository, new users need to get unlocked <button class="ui fluid button"
before being allowed to upload. Once unlocked, you can upload your research, onclick=" $('#tugraz-unlock-modal') .modal('hide')">Got it!</button>
request its inclusion in a community, generate a DOI for it, and publish it.') }} <button id="generate-unlock-form" class="ui fluid button">{{ _("Request unlocking") }}</button>
{# TODO: extra lines on policy about who gets accepted how for Research-Uploads #} </div>
</p> </div>
<div id="anchor-unlock-form"> {# will be replaced with ZammadForm when generating it #} </div>
<button class="ui fluid button" onclick=" {# actual column contents start here #}
$('#tugraz-unlock-modal') <div class="ui disabled segment" style="height: 480px">
.modal('hide')" <h2>{{ _("Research Results") }}</h2>
>Got it!</button> <div class="ui left floated image"
<button id="generate-unlock-form" class="ui fluid button"> style="cursor: pointer"
{{ _("Request unlocking") }} onclick=" $('#tugraz-unlock-modal') .modal('show')">
</button> <img width="400px" alt="Research Results" src="{{ url_for("static", filename="images/diamond.svg") }}">
</div>
<div class="ui right floated text">{{ _("Overview: Description for research results") }}</div>
</div>
</div>
{% endif %}
{% if can_view_marc21 %}
<div class="column">
<div class="ui segment" style="height: 480px">
<h2>{{ _("Publications") }}</h2>
<a class="ui left floated image" href="/publications/uploads">
<img width="400px" alt="Publications" src="{{ url_for("static", filename="images/library-book-svgrepo-com.svg") }}">
</a>
<div>{{ _("Overview: Description for publications") }}</div>
</div>
</div>
{% endif %}
<div class="column">
<div class="ui segment" style="height: 480px">
<h2>{{ _("Educational Resources") }}</h2>
<a class="ui left floated image" href="/oer/uploads">
<img width="400px" alt="Open Educational Resources" src="{{ url_for("static", filename="images/play.svg") }}">
</a>
<div>{{ _("Overview: Description for open educational resources") }}</div>
</div>
</div> </div>
</div>
</div> </div>
{# actual column contents start here #}
<div class="ui disabled segment" style="height: 480px">
<h2>{{ _("Research Results") }}</h2>
<div class="ui left floated image" style="cursor: pointer" onclick="
$('#tugraz-unlock-modal')
.modal('show')"
>
<img width="400px" alt="Research Results" src="{{ url_for("static", filename="images/diamond.svg") }}">
</div>
<div class="ui right floated text">
{{ _("Overview: Description for research results") }}
</div>
</div>
</div>
{% endif %}
{% if can_view_marc21 %}
<div class="column">
<div class="ui segment" style="height: 480px">
<h2>{{ _("Publications") }}</h2>
<a class="ui left floated image" href="/publications/uploads">
<img width="400px" alt="Publications" src="{{ url_for("static", filename="images/library-book-svgrepo-com.svg") }}">
</a>
<div>
{{ _("Overview: Description for publications") }}
</div>
</div>
</div>
{% endif %}
<div class="column">
<div class="ui segment" style="height: 480px">
<h2>{{ _("Educational Resources") }}</h2>
<a class="ui left floated image" href="/oer/uploads">
<img width="400px" alt="Open Educational Resources" src="{{ url_for("static", filename="images/play.svg") }}">
</a>
<div>
{{ _("Overview: Description for open educational resources") }}
</div>
</div>
</div>
</div> </div>
</div>
{%- endblock %} {%- endblock %}

View File

@@ -5,87 +5,66 @@
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.
#} #}
<!---Recent uploads--> <!---Recent uploads-->
<div class="ten wide column random-records-frontpage"> <div class="ten wide column random-records-frontpage">
<h2>{{ _("Recent uploads") }}</h2> <h2>{{ _("Recent uploads") }}</h2>
{% if not records %}
{% if not records %} <div class="ui centered grid">
<div class="ui centered grid"> <p style="font-size: medium;">{{ _("There are no public records to show.") }}</p>
<p style="font-size: medium;"> </div>
{{ _("There are no public records to show.") }} {% endif %}
</p> {%- for r in records %}
</div> {%- set creation_date = r.created | from_isodatetime -%}
{% endif %} {%- set record_url = r.original.view %}
<article>
{%- for r in records %} <div class="badges">
{%- set creation_date = r.created | from_isodatetime -%} {# Publication date/Version badge #}
{%- set record_url = r.original.view %} <span class="ui label blue"
data-tooltip="{{ _("Publication date") }}"
<article> data-inverted="">{{ r.created_date_l10n_long }}</span>
<div class="badges"> {# Resource type badge #}
{# Publication date/Version badge #} {% if r.metadata.types | length > 0 %}
<span class="ui label blue" data-tooltip="{{ _("Publication date") }}" data-inverted=""> <span class="ui label grey"
{{ r.created_date_l10n_long }} data-tooltip="{{ _("Resource type") }}"
</span> data-inverted="">{{ r.metadata.types[0] }}</span>
{% endif %}
{# Resource type badge #} <span class="ui label access-status {{ r.access_status.id }}"
{% if r.metadata.types | length > 0%} data-tooltip="{{ r.access_status.description_l10n }}"
<span class="ui label grey" data-tooltip="{{ _("Resource type") }}" data-inverted=""> data-inverted="">
{{ r.metadata.types[0] }} <i class="icon {{ r.access_status.icon }}"></i>
</span> {{ r.access_status.title_l10n }}
{% endif %} </span>
<span class="ui label schema" data-tooltip="Schema Type" data-inverted="">{{ r.original.schema_l10n }}</span>
<span class="ui label access-status {{ r.access_status.id }}" </div>
data-tooltip="{{ r.access_status.description_l10n }}" <h4>
data-inverted=""> <a href="{{ record_url }}" class="no-decoration">{{ r.metadata.titles[0] }}</a>
<i class="icon {{ r.access_status.icon }}"></i> </h4>
{{ r.access_status.title_l10n }} <p>
</span> {%- for creator in r.metadata.creators %}<span>{{ creator }}</span>{%- endfor %}
</p>
<span class="ui label schema" data-tooltip="Schema Type" data-inverted=""> <p class="hidden-xs">
{{ r.original.schema_l10n }} <a href="{{ record_url }}" class="no-decoration">
</span> {{ r.metadata.descriptions | join(" ") | striptags | truncate(300) }}
</div> </a>
</p>
<h4> <div class="ui">
<a href="{{ record_url }}" class="no-decoration"> {%- for subject in r.metadata.subjects %}<span class="ui tiny label">{{ subject }}</span>{%- endfor %}
{{ r.metadata.titles[0] }} <div>
</a> <small>
</h4> {#
<p>
{%- for creator in r.metadata.creators %}
<span>{{ creator }}</span>
{%- endfor %}
</p>
<p class="hidden-xs">
<a href="{{record_url}}" class="no-decoration">
{{ r.metadata.descriptions | join(" ") | striptags | truncate(300) }}
</a>
</p>
<div class="ui">
{%- for subject in r.metadata.subjects %}
<span class="ui tiny label">{{ subject }}</span>
{%- endfor %}
<div>
<small>
{#
{% trans user=userprofile, date=creation_date | dateformat("long")%} {% trans user=userprofile, date=creation_date | dateformat("long")%}
Uploaded on {{date}} Uploaded on {{date}}
{% endtrans %} {% endtrans %}
#} #}
</small> </small>
</div>
</div>
</article>
{%- endfor %}
{% if records %}
<div class="ui centered grid">
<a class="ui button more"
href="{{ url_for("invenio_search_ui.search") }}">{{ _("More") }}</a>
</div> </div>
</div> {%- endif %}
</article>
{%- endfor %}
{% if records %}
<div class="ui centered grid">
<a class="ui button more" href="{{ url_for("invenio_search_ui.search") }}">{{ _("More") }}</a>
</div>
{%- endif %}
</div> </div>