diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/footer.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/footer.less index 1ff8159..0e260f2 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/footer.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/footer.less @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020-2021 Graz University of Technology. + * Copyright (C) 2020-2023 Graz University of Technology. * * 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 details. @@ -7,18 +7,8 @@ #footer { color: @footerGrey; - - /*background-image: url("/static/images/footer.jpg");*/ - -webkit-background-size: 100% 100%; - -moz-background-size: 100% 100%; - -o-background-size: 100% 100%; - background-size: 100% 100%; min-height: 100%; - /* the following 2 lines are a hack for IE6 */ - height: auto !important; - height: 100%; width: 100%; - background-attachment: fixed; &.footer-bottom { background-color: @footerBottomBackground; @@ -39,7 +29,7 @@ color: @tugrazRed; } } - + // remove blue focus outline if clicked with mouse &:focus:not(:focus-visible) { outline-style: none; diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/search.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/search.less index ca4b847..cd894e2 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/search.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/search.less @@ -1,5 +1,5 @@ /* - * Copyright (C) 2020 Graz University of Technology + * Copyright (C) 2020-2023 Graz University of Technology * * 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 details. @@ -26,14 +26,3 @@ .identifiers { display: inline; } - -// // align badges to the right -// .ui.items > .item .extra.labels-actions { -// float: right; -// width: auto; - -// // remove action buttons from search results -// .ui.small.compact.right.floated.button { -// display: none; -// } -// } diff --git a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less index 006af3b..1378ec4 100644 --- a/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less +++ b/invenio_theme_tugraz/assets/semantic-ui/less/invenio_theme_tugraz/theme.less @@ -41,3 +41,10 @@ .ui.label.schema { border: 1px solid #bfb5b5; } + +.random-records-frontpage {} + +.random-records-frontpage .grid .column { + width: 380px !important; + padding: 14px !important; +} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html index 3c9222c..6103b49 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html @@ -1,5 +1,5 @@ {# - Copyright (C) 2020-2021 Graz University of Technology. + Copyright (C) 2020-2023 Graz University of Technology. 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 @@ -7,79 +7,88 @@ #} - + {%- block head %} - {%- block head_meta %} - - - - {%- if description %}{% endif %} - {%- if keywords %}{% endif %} - {%- if config.get('THEME_GOOGLE_SITE_VERIFICATION', None) %} - {%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %} - - {%- endfor %} - {%- endif %} - {%- endblock head_meta %} - {%- block head_title %} - {%- set title = title or _(config.THEME_SITENAME) or _('Invenio') %} - {{title}} - {%- endblock head_title %} - {%- block head_links %} - - {%- if keywords %}{% endif %} - {%- block head_links_langs %} - {%- if alternate_urls %} - {%- for alt_ln, alternate_url in alternate_urls.items() %} - - {%- endfor %} - {%- endif %} - {%- endblock %} - {%- block head_apple_icons %} - {%- for size in [144, 114, 72, 57] %} - {%- set icon_name = 'apple-touch-icon-%d-precomposed.png' | format(size) %} - - {%- endfor %} - {%- endblock head_apple_icons %} - {%- endblock head_links %} - {%- block header %}{% endblock header %} - {%- block css %} - {{ webpack['theme.css'] }} - {{ webpack['invenio-theme-tugraz-theme.css'] }} - - - {%- endblock css %} + {%- block head_meta %} + + + + + {%- if description %} + + {% endif %} + + {%- if keywords %} + + {% endif %} + + {%- if config.get("THEME_GOOGLE_SITE_VERIFICATION", None) %} + {%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %} + + {%- endfor %} + {%- endif %} + {%- endblock head_meta %} + + {%- block head_title %} + {%- set title = title or _(config.THEME_SITENAME) or _("Invenio") %} + {{title}} + {%- endblock head_title %} + + {%- block head_links %} + + + {%- if keywords %} + + {% endif %} + + {%- block head_links_langs %} + {%- if alternate_urls %} + {%- for alt_ln, alternate_url in alternate_urls.items() %} + + {%- endfor %} + {%- endif %} + {%- endblock %} + {%- endblock head_links %} + + {%- block header %}{% endblock header %} + + {%- block css %} + {{ webpack["theme.css"] }} + {{ webpack["invenio-theme-tugraz-theme.css"] }} + {%- endblock css %} {%- endblock head %} - - {%- block body %} - {%- block browserupgrade %} - - {%- endblock browserupgrade %} - {%- block body_inner %} - {%- block page_header %} -{% include config.THEME_HEADER_TEMPLATE %} - {%- endblock page_header %} - {%- block page_body %} -{% include "invenio_theme/body.html" %} - {%- endblock page_body %} - {%- block page_footer %} -{% include config.THEME_FOOTER_TEMPLATE %} - {%- endblock page_footer %} - - {%- endblock body_inner %} - {%- block javascript %} -{% include config.THEME_JAVASCRIPT_TEMPLATE %} - {%- endblock javascript %} - {%- block trackingcode %}{% include config.THEME_TRACKINGCODE_TEMPLATE %} - {%- endblock %} + + {%- block body %} + {%- block browserupgrade %} + + {%- endblock browserupgrade %} + + {%- block body_inner %} + {%- block page_header %} + {% include config.THEME_HEADER_TEMPLATE %} + {%- endblock page_header %} + + {%- block page_body %} + {% include "invenio_theme/body.html" %} + {%- endblock page_body %} + + {%- block page_footer %} + {% include config.THEME_FOOTER_TEMPLATE %} + {%- endblock page_footer %} + {%- endblock body_inner %} + + {%- block javascript %} + {% include config.THEME_JAVASCRIPT_TEMPLATE %} + {%- endblock javascript %} + + {%- block trackingcode %} + {% include config.THEME_TRACKINGCODE_TEMPLATE %} + {%- endblock %} {%- endblock body %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html index 1449baf..3271a7b 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html @@ -1,10 +1,17 @@ +{# + Copyright (C) 2020-2023 Graz University of Technology. + + 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 + details. +#} \ No newline at end of file +
  • {{_("Safe") }} — {{_("your research is stored safely for the future in TU Graz library for as long as TU Graz library exists.") }}
  • +
  • {{_("Trusted") }} — {{_("built and operated by CERN and OpenAIRE to ensure that everyone can join in Open Science.") }}
  • +
  • {{_("Citeable") }} — {{_("every upload is assigned a Digital Object Identifier (DOI), to make them citable and trackable.") }}
  • +
  • {{_("No waiting time") }} — {{_("Uploads are made available online as soon as you hit publish, and your DOI is registered within seconds.") }}
  • +
  • {{_("Open or closed") }} — {{_("Share e.g. anonymized clinical trial data with only medical professionals via our restricted access mode.") }}
  • +
  • {{_("Versioning") }} — {{_("Easily update your dataset with our versioning feature.") }}
  • +
  • {{_("Usage statisics") }} — {{ _("All uploads display standards compliant usage statistics") }}
  • + diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/comingsoon.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/comingsoon.html index c2e7020..115b1ab 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/comingsoon.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/comingsoon.html @@ -1,7 +1,15 @@ +{# + Copyright (C) 2020-2023 Graz University of Technology. + + 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 + details. +#} + {%- extends config.INVENIO_THEME_TUGRAZ_BASE_TEMPLATE %} {%- block page_body %} -
    -

    comingsoon

    -
    +
    +

    comingsoon

    +
    {%- endblock %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html index 8579238..f6ae2b9 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html @@ -1,168 +1,169 @@ {# -Copyright (C) 2020-2021 Graz University of Technology. + Copyright (C) 2020-2023 Graz University of Technology. -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 -details. + 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 + details. #} {%- block css %} - -{{ webpack['invenio-theme-tugraz-theme.css'] }} + {{ webpack['invenio-theme-tugraz-theme.css'] }} {%- endblock %} {%- block javascript %} -{{ webpack['invenio-theme-tugraz-js.js'] }} + {{ webpack['invenio-theme-tugraz-js.js'] }} {%- endblock javascript %}
    diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html index acad57f..3cc2e3c 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html @@ -7,8 +7,8 @@ #}
    -
    -
    +
    +

    {{ _("Research Result") }}

    @@ -30,32 +30,9 @@ Upload -
    -
    -
    -

    {{ _("Communities") }}

    -
    - this short description shows what communities represents in the repository. there are three links. one will - lead to the browsing feature, one to the search functionality and the last to the creation side. -
    - - - -
    -
    -
    +

    {{ _("Publications") }}

    @@ -73,10 +50,9 @@ Search -
    -
    +

    {{ _("OER") }}

    @@ -97,7 +73,6 @@ Upload -
    diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html index 3f37126..9573359 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html @@ -7,58 +7,58 @@ #} {% if not config.THEME_TUGRAZ_PRODUCTION %} -
    -

    {{_ ("Test Instance") }}

    -

    {{_ ("This is the test instance of the TU Graz Repository.") }}

    -
    +
    +

    {{ _("Test Instance") }}

    +

    {{ _("This is the test instance of the TU Graz Repository.") }}

    +
    {% endif %}
    {%- block navbar %} - {%- endblock navbar %} {%- block flashmessages %} diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html index 3960fdf..541bb80 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html @@ -25,37 +25,6 @@
    - {# -
    -

    {{ _("You can upload different types of records:") }}

    - -
    -
    - - {{ _("Visibility of uploaded content is maximized through synchronization with data hubs (DataCite).") }} - -
    - -
    - - {{ _("Open Educational Resources (OER) will be visible on various discovery tools like the OERhub.") }} - -
    - -
    -
    - #} -

    {{ _("Need help?") }}

    @@ -82,7 +51,7 @@
    -

    {{ _("Why use") }} {{ config.THEME_SITENAME }}?

    +

    {{ _("Why use") }} {{ config.THEME_SITENAME }}

    {% include "invenio_theme_tugraz/benefits.html" %}
    diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html index 9eac9d6..03f8e75 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html @@ -44,88 +44,56 @@
    {%- for l in current_i18n.get_locales() %} - {%- if current_i18n.language != l.language %} - {{ l.get_display_name().upper() [0:2]}} - {%- endif %} + {%- if current_i18n.language != l.language %} + + {{ l.get_display_name().upper()[0:2] }} + + {%- endif %} {%- endfor %}
    -
    {%- block navbar_right %} - {%- include config.THEME_HEADER_LOGIN_TEMPLATE %} + {%- include config.THEME_HEADER_LOGIN_TEMPLATE %} {%- endblock navbar_right %}
    - -