Renames for new fork

This commit is contained in:
2025-04-25 12:30:14 +01:00
parent 8866b87459
commit 88a3aff0c2
110 changed files with 2268 additions and 2210 deletions

View File

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

View File

@@ -5,5 +5,5 @@ on:
jobs:
build-n-publish:
uses: tu-graz-library/.github/.github/workflows/pypi-publish.yml@main
uses: Cian-H/.github/.github/workflows/pypi-publish.yml@main
secrets: inherit

View File

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

View File

@@ -2,7 +2,7 @@
#
# Copyright (C) 2020-2021 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# invenio-theme-iform is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more
# details.
#
@@ -14,8 +14,8 @@
[main]
host = https://www.transifex.com
[invenio.invenio-theme-tugraz-messages]
file_filter = invenio_theme_tugraz/translations/<lang>/LC_MESSAGES/messages.po
source_file = invenio_theme_tugraz/translations/messages.pot
[invenio.invenio-theme-iform-messages]
file_filter = invenio_theme_iform/translations/<lang>/LC_MESSAGES/messages.po
source_file = invenio_theme_iform/translations/messages.pot
source_lang = en
type = PO

View File

@@ -1,13 +1,15 @@
..
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
Authors
=======
invenio module for TUGRAZ theme.
Invenio module for iform theme.
- mojib wali <mojib.wali@tugraz.at>
- cian hughes <cian.hughes@dcu.ie>
Forked from https://github.com/tu-graz-library/invenio-theme-tugraz

View File

@@ -1,7 +1,7 @@
..
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
@@ -154,7 +154,7 @@ Version 3.9.1 (released 2022-06-02)
Version 3.9.0 (released 2022-05-27)
- global: migrate setup.py to setup.cfg #260
- global: migrate setup.py to setup.cfg #260
Version 3.8.0 (released 2022-03-03)

View File

@@ -10,7 +10,7 @@ Types of Contributions
Report Bugs
~~~~~~~~~~~
Report bugs at https://github.com/tu-graz-library/invenio-theme-tugraz/issues.
Report bugs at https://github.com/Cian-H/invenio-theme-iform/issues.
If you are reporting a bug, please include:
@@ -33,15 +33,15 @@ is open to whoever wants to implement it.
Write Documentation
~~~~~~~~~~~~~~~~~~~
invenio-theme-tugraz could always use more documentation, whether as part of the
official invenio-theme-tugraz docs, in docstrings, or even on the web in blog posts,
invenio-theme-iform could always use more documentation, whether as part of the
official invenio-theme-iform docs, in docstrings, or even on the web in blog posts,
articles, and such.
Submit Feedback
~~~~~~~~~~~~~~~
The best way to send feedback is to file an issue at
https://github.com/tu-graz-library/invenio-theme-tugraz/issues.
https://github.com/Cian-H/invenio-theme-iform/issues.
If you are proposing a feature:
@@ -53,14 +53,14 @@ If you are proposing a feature:
Get Started!
------------
Ready to contribute? Here's how to set up `invenio-theme-tugraz` for local development.
Ready to contribute? Here's how to set up `invenio-theme-iform` for local development.
1. Fork the `https://github.com/tu-graz-library/invenio-theme-tugraz.git` repo on GitHub.
1. Fork the `https://github.com/Cian-H/invenio-theme-iform.git` repo on GitHub.
2. Clone your fork locally:
.. code-block:: console
$ git clone git@github.com:your_name_here/invenio-theme-tugraz.git
$ git clone git@github.com:your_name_here/invenio-theme-iform.git
3. Install your local copy into a virtualenv. Assuming you have
virtualenvwrapper installed, this is how you set up your fork for local
@@ -68,8 +68,8 @@ Ready to contribute? Here's how to set up `invenio-theme-tugraz` for local devel
.. code-block:: console
$ mkvirtualenv invenio-theme-tugraz
$ cd invenio-theme-tugraz/
$ mkvirtualenv invenio-theme-iform
$ cd invenio-theme-iform/
$ pip install -e .[all]
4. Create a branch for local development:
@@ -114,5 +114,5 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring.
3. The pull request should work for Python 2.7, 3.5 and 3.6. Check
https://github.com/tu-graz-library/invenio-theme-tugraz/actions?query=event%3Apull_request
https://github.com/Cian-H/invenio-theme-iform/actions?query=event%3Apull_request
and make sure that the tests pass for all supported Python versions.

View File

@@ -1,8 +1,8 @@
Installation
============
invenio-theme-tugraz is on PyPI so all you need is:
invenio-theme-iform is on PyPI so all you need is:
.. code-block:: console
$ pip install invenio-theme-tugraz
$ pip install invenio-theme-iform

View File

@@ -1,6 +1,7 @@
MIT License
Copyright (C) 2020 Graz University of Technology.
Copyright (C) 2025 I-Form Advanced Research Manufacturing Research Centre.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

View File

@@ -2,7 +2,7 @@
#
# Copyright (C) 2020-2021 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# invenio-theme-iform is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more
# details.
@@ -10,7 +10,7 @@ include .dockerignore
include .editorconfig
include .tx/config
prune docs/_build
recursive-include invenio_theme_tugraz/translations *.po *.pot *.mo
recursive-include invenio_theme_iform/translations *.po *.pot *.mo
# added by check_manifest.py
include *.md
@@ -26,19 +26,19 @@ recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs *.txt
recursive-include docs Makefile
recursive-include invenio_theme_tugraz *.html
recursive-include invenio_theme_tugraz *.js
recursive-include invenio_theme_tugraz *.png
recursive-include invenio_theme_tugraz *.scss
recursive-include invenio_theme_tugraz *.svg
recursive-include invenio_theme_tugraz *.less
recursive-include invenio_theme_tugraz *.ico
recursive-include invenio_theme_tugraz *.pdf
recursive-include invenio_theme_tugraz *.ttf
recursive-include invenio_theme_tugraz *.txt
recursive-include invenio_theme_iform *.html
recursive-include invenio_theme_iform *.js
recursive-include invenio_theme_iform *.png
recursive-include invenio_theme_iform *.scss
recursive-include invenio_theme_iform *.svg
recursive-include invenio_theme_iform *.less
recursive-include invenio_theme_iform *.ico
recursive-include invenio_theme_iform *.pdf
recursive-include invenio_theme_iform *.ttf
recursive-include invenio_theme_iform *.txt
recursive-include tests *.py
recursive-include invenio_theme_tugraz *.jpg
recursive-include invenio_theme_tugraz *.gitkeep
recursive-include invenio_theme_iform *.jpg
recursive-include invenio_theme_iform *.gitkeep
recursive-include .github/workflows *.yml
include .git-blame-ignore-revs

View File

@@ -1,45 +1,45 @@
..
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform 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
invenio-theme-iform
======================
.. image:: https://github.com/tu-graz-library/invenio-theme-tugraz/workflows/CI/badge.svg
:target: https://github.com/tu-graz-library/invenio-theme-tugraz/actions
.. image:: https://github.com/Cian-H/invenio-theme-iform/workflows/CI/badge.svg
:target: https://github.com/Cian-H/invenio-theme-iform/actions
.. image:: https://img.shields.io/pypi/dm/invenio-theme-tugraz.svg
:target: https://pypi.python.org/pypi/invenio-theme-tugraz
.. image:: https://img.shields.io/pypi/dm/invenio-theme-iform.svg
:target: https://pypi.python.org/pypi/invenio-theme-iform
.. image:: https://img.shields.io/github/tag/tu-graz-library/invenio-theme-tugraz.svg
:target: https://github.com/tu-graz-library/invenio-theme-tugraz/releases
.. image:: https://img.shields.io/github/tag/tu-graz-library/invenio-theme-iform.svg
:target: https://github.com/Cian-H/invenio-theme-iform/releases
.. image:: https://img.shields.io/github/license/tu-graz-library/invenio-theme-tugraz.svg
:target: https://github.com/tu-graz-library/invenio-theme-tugraz/blob/master/LICENSE
.. image:: https://img.shields.io/github/license/tu-graz-library/invenio-theme-iform.svg
:target: https://github.com/Cian-H/invenio-theme-iform/blob/master/LICENSE
.. image:: https://readthedocs.org/projects/invenio-theme-iform/badge/?version=latest
:target: https://invenio-theme-iform.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/coveralls/mb-wali/invenio-theme-iform.svg
:target: https://coveralls.io/r/mb-wali/invenio-theme-iform
.. image:: https://readthedocs.org/projects/invenio-theme-tugraz/badge/?version=latest
:target: https://invenio-theme-tugraz.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/coveralls/mb-wali/invenio-theme-tugraz.svg
:target: https://coveralls.io/r/mb-wali/invenio-theme-tugraz
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
TU Graz standard theme.
I-Form standard theme.
Features:
* TU Graz custom header template.
* TU Graz custom footer template.
* TU Graz custom login/signup templates.
* TU Graz custom frontpage template.
* TU Graz custom contact template.
* TU Graz overriden theme.
* I-Form custom header template.
* I-Form custom footer template.
* I-Form custom login/signup templates.
* I-Form custom frontpage template.
* I-Form custom contact template.
* I-Form overriden theme.
Further documentation is available on
https://invenio-theme-tugraz.readthedocs.io/
https://invenio-theme-iform.readthedocs.io/

View File

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

View File

@@ -87,9 +87,9 @@ qthelp:
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/invenio-theme-tugraz.qhcp"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/invenio-theme-iform.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/invenio-theme-tugraz.qhc"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/invenio-theme-iform.qhc"
applehelp:
$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
@@ -104,8 +104,8 @@ devhelp:
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/invenio-theme-tugraz"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/invenio-theme-tugraz"
@echo "# mkdir -p $$HOME/.local/share/devhelp/invenio-theme-iform"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/invenio-theme-iform"
@echo "# devhelp"
epub:

View File

@@ -1,7 +1,7 @@
..
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
@@ -9,11 +9,11 @@
API Docs
========
.. automodule:: invenio_theme_tugraz.ext
.. automodule:: invenio_theme_iform.ext
:members:
Views
-----
.. automodule:: invenio_theme_tugraz.views
.. automodule:: invenio_theme_iform.views
:members:

View File

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

View File

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

View File

@@ -2,13 +2,13 @@
#
# Copyright (C) 2020-2021 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# invenio-theme-iform is free software; you can redistribute it and/or
# modify it under the terms of the MIT License; see LICENSE file for more
# details.
"""Sphinx configuration."""
from invenio_theme_tugraz import __version__
from invenio_theme_iform import __version__
# -- General configuration ------------------------------------------------
@@ -44,7 +44,7 @@ source_suffix = ".rst"
master_doc = "index"
# General information about the project.
project = "invenio-theme-tugraz"
project = "invenio-theme-iform"
copyright = "2020, Graz University of Technology"
author = "Graz University of Technology"
@@ -106,15 +106,15 @@ todo_include_todos = False
html_theme = "alabaster"
html_theme_options = {
"description": "invenio module for TUGRAZ theme.",
"github_user": "TU Graz",
"github_repo": "invenio-theme-tugraz",
"description": "invenio module for I-Form theme.",
"github_user": "Cian-H",
"github_repo": "invenio-theme-iform",
"github_button": False,
"github_banner": True,
"show_powered_by": False,
"extra_nav_links": {
"invenio-theme-tugraz@GitHub": "https://github.com/tu-graz-library/invenio-theme-tugraz",
"invenio-theme-tugraz@PyPI": "https://pypi.python.org/pypi/invenio-theme-tugraz/",
"invenio-theme-iform@GitHub": "https://github.com/Cian-H/invenio-theme-iform",
"invenio-theme-iform@PyPI": "https://pypi.python.org/pypi/invenio-theme-iform/",
},
}
@@ -219,7 +219,7 @@ html_sidebars = {
# html_search_scorer = 'scorer.js'
# Output file base name for HTML help builder.
htmlhelp_basename = "invenio-theme-tugraz_namedoc"
htmlhelp_basename = "invenio-theme-iform_namedoc"
# -- Options for LaTeX output ---------------------------------------------
@@ -240,8 +240,8 @@ latex_elements = {
latex_documents = [
(
master_doc,
"invenio-theme-tugraz.tex",
"invenio-theme-tugraz Documentation",
"invenio-theme-iform.tex",
"invenio-theme-iform Documentation",
"Graz University of Technology",
"manual",
),
@@ -275,8 +275,8 @@ latex_documents = [
man_pages = [
(
master_doc,
"invenio-theme-tugraz",
"invenio-theme-tugraz Documentation",
"invenio-theme-iform",
"invenio-theme-iform Documentation",
[author],
1,
)
@@ -294,11 +294,11 @@ man_pages = [
texinfo_documents = [
(
master_doc,
"invenio-theme-tugraz",
"invenio-theme-tugraz Documentation",
"invenio-theme-iform",
"invenio-theme-iform Documentation",
author,
"invenio-theme-tugraz",
"invenio module for TUGRAZ theme.",
"invenio-theme-iform",
"invenio module for I-Form theme.",
"Miscellaneous",
),
]

View File

@@ -1,7 +1,7 @@
..
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
@@ -9,5 +9,5 @@
Configuration
=============
.. automodule:: invenio_theme_tugraz.config
.. automodule:: invenio_theme_iform.config
:members:

View File

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

View File

@@ -1,7 +1,7 @@
..
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
@@ -12,7 +12,7 @@ User's Guide
------------
This part of the documentation will show you how to get started in using
invenio-theme-tugraz.
invenio-theme-iform.
.. toctree::
:maxdepth: 2

View File

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

View File

@@ -127,9 +127,9 @@ if "%1" == "qthelp" (
echo.
echo.Build finished; now you can run "qcollectiongenerator" with the ^
.qhcp project file in %BUILDDIR%/qthelp, like this:
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\invenio-theme-tugraz.qhcp
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\invenio-theme-iform.qhcp
echo.To view the help file:
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\invenio-theme-tugraz.ghc
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\invenio-theme-iform.ghc
goto end
)

View File

@@ -1,7 +1,7 @@
..
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
@@ -9,4 +9,4 @@
Usage
=====
.. automodule:: invenio_theme_tugraz
.. automodule:: invenio_theme_iform

View File

@@ -2,14 +2,14 @@
#
# Copyright (C) 2020-2022 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# invenio-theme-iform 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 module for TUGRAZ theme."""
"""invenio module for I-Form theme."""
from .ext import InvenioThemeTugraz
from .ext import InvenioThemeIform
__version__ = "4.13.0"
__all__ = ("__version__", "InvenioThemeTugraz")
__all__ = ("__version__", "InvenioThemeIform")

View File

@@ -6,7 +6,7 @@ import ReactDOM from "react-dom";
import React from "react";
// called on document ready
$(function () {
$(function() {
importZammadScript();
});

View File

@@ -1,6 +1,6 @@
// Copyright (C) 2024 Graz University of Technology.
//
// invenio-theme-tugraz is free software; you can redistribute it and/or modify it
// invenio-theme-iform is free software; you can redistribute it and/or modify it
// under the terms of the MIT License; see LICENSE file for more details.
import $ from "jquery";
@@ -33,7 +33,7 @@ async function generateForm() {
});
}
$(function () {
$(function() {
// called when DOM is ready
const generateFormElement = document.getElementById("generate-unlock-form");
if (generateFormElement) {

View File

@@ -0,0 +1,165 @@
/*
* Copyright (C) 2020 TUGRAZ.
* Copyright (C) 2020 Nikita Lvov.
*
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
.cover-page {
//text-align: center;
background-color: #ffffff;
}
#login-tug-logo {
& g {
fill: @tugrazRed;
}
}
#login-tug-logo:hover {
& g {
fill: @tugrazBlack;
}
}
.accounts-link {
margin: 5%;
color: @primaryLink;
border: 1px solid @primaryLink;
background-color: transparent;
}
.accounts-link :hover {
font-size: smaller !important;
color: @primaryLink;
background-color: @primaryLinkHoverBackground !important;
}
.tu-button-style button {
cursor: pointer;
border: 1px solid @primaryButton;
background-color: transparent;
height: 29px;
color: @primaryButton;
font-family: "Source Sans Pro";
font-weight: 300;
font-size: 16px;
}
.tu-button-style button:hover {
cursor: pointer;
color: @primaryButton;
background-color: @primaryButtonHoverBackground !important;
}
.form-accounts {
margin: 15%;
text-align: left !important;
& i {
color: @primaryFormAccounts !important;
}
& label {
display: flex !important;
font-weight: 300 !important;
color: @primaryFormAccounts !important;
}
& input {
border: 0px none !important;
padding: 0px !important;
border-bottom: 1px solid @primaryFormAccounts !important;
background-color: transparent !important;
color: @primaryFormAccounts !important;
border-radius: 0 !important;
width: 100% !important;
}
& input::placeholder {
opacity: 1 !important;
color: @formAccountsInputPlaceholder !important;
}
& th {
display: block;
}
& td {
display: inline-block;
}
}
.field>input::selection {
background: @fieldInputSelectionBackground;
}
.accounts-header {
font-weight: 300 !important;
}
/***
login and sign-up pages form background color
*/
.sign-form {
background-color: @signInBackground !important;
padding: 0 !important;
height: 100%;
}
.tug-button-login {
display: flex;
align-items: center;
fill: @tugrazRed;
}
.tug-button-login :hover {
fill: @primaryButtonHoverBackground;
}
.login-page-button {
margin: 5%;
text-align: center !important;
& a {
padding: 5px;
text-decoration: underline !important;
cursor: pointer;
}
& a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink !important;
text-decoration: none;
}
}
.login-page-button-white {
color: @primaryButton !important;
font-family: "Source Sans Pro";
font-size: initial;
}
.login-page-button-black {
color: @primaryButtonInverted !important;
font-family: "Source Sans Pro";
font-size: initial;
}
/***
allowing to switch columns on the sign-up page on the small screen
*/
.switch-grid {
display: flex;
}
@media (max-width: 767px) {
#switch_left {
order: 2;
}
#switch_right {
order: 1;
}
}

View File

@@ -1,14 +1,14 @@
/*
* Copyright (C) 2022 Graz University of Technology.
*
* invenio-theme-tugraz is free software; you can redistribute it and/or modify it
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
.ui.container.page-subheader-outer {
background-color: unset;
background-color: unset;
}
.ui.fluid.container {
width: fit-content;
width: fit-content;
}

View File

@@ -0,0 +1,16 @@
/*
* Copyright (C) 2021 Graz University of Technology.
*
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
// deposit form segment styling
.ui.inverted.brand.segment {
background-color: @greyLight !important;
color: @tugrazBlack !important;
label {
color: @tugrazBlack;
}
}

View File

@@ -0,0 +1,56 @@
/*
* Copyright (C) 2020-2023 Graz University of Technology.
*
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
#footer {
color: @footerGrey;
min-height: 100%;
width: 100%;
&.footer-bottom {
background-color: @footerBottomBackground;
padding-top: 15px;
padding-bottom: 15px;
font-size: 16px;
a {
text-decoration: none;
color: @footerGrey;
// :focus-visible activates on keyboard only
&:hover,
&:focus:focus-visible {
color: @primaryLink;
background-color: @primaryLinkHoverBackground;
i.icon.download {
color: @tugrazRed;
}
}
// remove blue focus outline if clicked with mouse
&:focus:not(:focus-visible) {
outline-style: none;
}
}
}
div .logos a:hover {
background-color: transparent !important;
}
}
.bodytext {
font-size: 16px;
}
.spacer {
margin-top: 10px;
}
.spacer-long {
margin-top: 30px;
}

View File

@@ -0,0 +1,97 @@
/*
* Copyright (C) 2020-2021 Graz University of Technology.
*
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
h4 {
display: block;
margin-block-start: 0.33em;
margin-block-end: 0.33em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
h2 {
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
.ui.blue.labels .label,
.ui.blue.label {
color: @greyDark !important;
background-color: @recordVersionBackground !important;
border-color: @recordVersionBackground !important;
}
.random-records-frontpage article {
border-bottom: 1px solid @randomRecordsFrontpageArticle;
margin-bottom: 1rem;
padding-bottom: 1rem;
}
.random-records-frontpage .more {
margin-top: 20px !important;
margin-bottom: 35px !important;
}
.random-records-frontpage h2 {
text-align: center;
}
.badges {
float: right;
}
/*Zammad form**/
.zammad-form {
h2 {
text-align: center;
}
.form-group {
label {
color: @tugrazBlack;
}
input.form-control {
height: 30px;
// width: auto;
border-radius: 0;
font-family: "Source Sans Pro";
background: @primaryLinkBackgroundInverted;
border: 1px solid rgba(34, 36, 38, 0.15);
}
textarea {
border: 1px solid rgba(34, 36, 38, 0.15);
}
}
.btn {
width: 100% !important;
cursor: pointer;
font-family: "Source Sans Pro";
min-height: 1em;
line-height: 1em;
padding: 0.78571429em 1.5em 0.78571429em;
background: @greyLight none;
border: 0;
}
.btn:hover {
background: @primaryLinkHoverBackground;
color: @primaryButton;
font-size: 1rem;
font-weight: bold;
}
}
:focus {
outline: thin;
outline-style: solid;
outline-color: @outlineColor;
}

View File

@@ -0,0 +1,278 @@
/*
* Copyright (C) 2020-2021 Graz University of Technology.
*
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
#int-menu-q-home-icon {
width: 18px;
height: 18px;
vertical-align: top;
fill: @tugrazRed;
}
/*****logo section******/
.affiliation-logo {
vertical-align: middle;
white-space: nowrap;
& a {
fill: @tugrazRed;
}
}
.affiliation-logo :hover {
text-decoration: none;
fill: @primaryLinkHoverBackground;
color: @primaryLinkHoverBackground;
}
.affiliation {
background-color: @primaryLink;
display: table;
margin: 0 auto 80px;
max-width: 1060px;
width: 100%;
text-decoration: none;
}
.affiliation-text {
display: table-cell;
font-size: 12px;
line-height: 17px;
letter-spacing: 2px;
white-space: nowrap;
}
.affiliation-logo-claim {
display: inline-block;
font-size: 12px;
letter-spacing: 2px;
line-height: 17px;
padding: 0 17px 0 0;
text-align: right;
vertical-align: top;
}
/*****END logo section******/
.short-menu {
display: table;
height: 49px;
width: 100%;
}
.short-menu-left {
border-right: 1px solid black;
display: table-cell;
text-align: right;
width: 50%;
}
.short-menu-right {
display: table-cell;
width: 50%;
color: @primaryLinkInverted;
}
.short-menu-right :hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
}
.short-menu-right-button {
cursor: pointer;
display: inline-block;
margin: 12px 0 6px 9px;
padding: 5px;
}
.short-menu-right-button a:hover {
text-decoration: none;
}
.short-menu-left-lang {
display: inline-block;
margin-right: 10px;
font-size: 17px !important;
font-weight: 300;
& a {
padding: 5px;
background-color: transparent;
color: @primaryLinkInverted;
text-decoration: none;
}
}
.short-menu-left-lang:hover {
& a {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
text-decoration: none;
}
}
.search-icon-header {
display: inline-block;
& a {
background-color: transparent;
padding: 5px;
text-decoration: none;
& svg {
& g {
stroke-linejoin: round;
stroke: @primaryLinkInverted;
stroke-miterlimit: 10;
stroke-width: 2;
fill: none;
}
}
}
}
.search-icon-header:hover {
& a {
background-color: @primaryLinkHoverBackground;
text-decoration: none;
& svg {
& g {
stroke: @primaryLink;
}
}
}
}
.short-menu-left-search {
display: inline-block;
margin: 12px 9px 6px 0;
color: @primaryLinkInverted;
}
.short-menu-right-main-menu {
display: inline-block;
margin-right: 3px;
vertical-align: top;
width: 21px;
}
.short-menu-icon {
vertical-align: top;
width: 20px;
height: 19px;
}
svg:not(:root) {
overflow: hidden;
}
/***********MAIN menu*************/
.main-menu-entry {
text-align: center !important;
& a {
font-size: 1.2rem;
padding: 5px 8px;
}
}
.main-menu-entry a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
text-decoration: none;
}
.main-menu-entry-svg {
padding-left: 0 !important;
}
.main-menu-underline-line {
border: 2px solid @greyLight !important;
border-radius: 0;
background-color: @greyLight;
}
#margin-divider {
margin-left: 155px;
margin-right: 155px;
}
.affiliation-text a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
text-decoration: none;
}
.main-menu {
border-bottom: 1px solid @primaryLinkInverted;
box-sizing: border-box;
height: 39px;
margin-top: -1px;
overflow: hidden;
transition: height 0.3s linear 0s;
}
.int-menu-q-open-icon {
width: 14px;
vertical-align: middle;
margin-left: 5px;
}
/*********************Custom overrides**********************/
/** Login with SAML**/
.col a {
cursor: pointer;
}
@media screen and (max-width: 767.9px) {
#int-header-logo-img {
width: 200px;
height: 75px;
}
#main-logo {
padding: 30px 0;
text-align: center;
display: block;
}
#repo-logo {
display: none;
}
.affiliation-logo-claim {
display: none;
}
}
.repo-img {
margin-right: 5px;
}
.inline-elements {
display: flex;
}
span.home-inline {
white-space: nowrap;
}
.test-instance {
text-align: center;
background-color: @notificationBackground;
border: solid @notificationBorder 1px;
z-index: 100000;
}
#skip-to-main {
background-color: @primaryButton;
&:focus {
background-color: @primaryButtonInverted;
}
}

View File

@@ -0,0 +1,40 @@
/*
* Copyright (C) 2020-2021 Graz University of Technology.
*
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
.ui.inverted.header {
color: @primaryLinkInverted;
}
.login-page-button {
margin: 5%;
text-align: center !important;
& a {
padding: 5px;
cursor: pointer;
}
& a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink !important;
text-decoration: none;
}
}
.text-color {
color: @primaryLinkInverted;
}
@media (max-width: 767px) {
#switch_left {
order: 2;
}
#switch_right {
order: 1;
}
}

View File

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

View File

@@ -1,7 +1,7 @@
/*
* Copyright (C) 2020-2021 Graz University of Technology.
*
* invenio-theme-tugraz is free software; you can redistribute it and/or modify it
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
@@ -11,7 +11,7 @@
* to #ffffff
***/
.section-content-light-bg {
background-color: @primaryBackground;
background-color: @primaryBackground;
}
/***
@@ -20,7 +20,7 @@
* to #000000
***/
.section-title {
color: @primaryText;
color: @primaryText;
}
@@ -30,8 +30,8 @@
* To #ffffff
***/
.cover-page {
//text-align: center;
background-color: @primaryBackground;
//text-align: center;
background-color: @primaryBackground;
}
@@ -41,7 +41,7 @@
* To #000000
***/
.panel-free-title {
color: @primaryText;
color: @primaryText;
}
@@ -49,23 +49,29 @@
* force: the font changes
***/
*,
html, body,
h1, h2, h3, h4, h5, h6,
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
.ui.button,
.ui.items,
.ui.accordion .title:not(.ui),
.ui.items > .item > .content > .header,
.ui.modal > .header,
.ui.items>.item>.content>.header,
.ui.modal>.header,
.ui.menu,
.ui.header,
.ui.form input[type],
.ui.form input[type]:focus {
font-family: "Source Sans Pro";
font-family: "Source Sans Pro";
}
pre {
font-size: 14px;
font-size: 14px;
}
@@ -74,18 +80,19 @@ pre {
***/
/*.ui.button,*/
.ui.search.button {
background-color: @tugrazRed;
background-color: @tugrazRed;
}
/***
* accordion title
***/
.ui.accordion.styled {
.title,
.title.active {
background-color: @greyLight;
color: rgba(0, 0, 0, 0.6);
}
.title,
.title.active {
background-color: @greyLight;
color: rgba(0, 0, 0, 0.6);
}
}
/***
@@ -95,8 +102,8 @@ pre {
.ui.search.button:hover,
.ui.accordion.styled .title:hover,
.ui.accordion.styled .accordion .title:hover {
background-color: @primaryButtonHoverBackground;
color: @primaryButton;
background-color: @primaryButtonHoverBackground;
color: @primaryButton;
}
/***
@@ -107,63 +114,66 @@ pre {
.ui.button,
.ui.rdm-sidebar,
.ui.menu,
.ui.input > input, /* it seams redundant but it is not */
.ui.input>input,
/* it seams redundant but it is not */
.ui.segment,
.ui.selection.dropdown,
.ui.accordion.styled,
.ui.card,
.ui.cards > .card,
.ui.basic.button, .ui.basic.buttons .button,
.ui.action.input:not([class*="left action"]) > .button:last-child,
.ui.action.input:not([class*="left action"]) > .buttons:last-child > .button,
.ui.action.input:not([class*="left action"]) > .dropdown:last-child,
.ui.cards>.card,
.ui.basic.button,
.ui.basic.buttons .button,
.ui.action.input:not([class*="left action"])>.button:last-child,
.ui.action.input:not([class*="left action"])>.buttons:last-child>.button,
.ui.action.input:not([class*="left action"])>.dropdown:last-child,
.ui.form input[type],
.ui.form input[type]:focus {
border-radius: 0;
border-radius: 0;
}
/***
* force: rdm-side-bar same empty box as on the frontpage
***/
.ui.rdm-sidebar {
background-color: unset;
box-shadow: unset;
background-color: unset;
box-shadow: unset;
}
/***
* force: font weight: normal
***/
.ui.label {
font-weight: 400;
font-weight: 400;
}
// override access badges color
.ui.label.access-status {
&.open {
background-color: @accessRightOpen;
}
&.open {
background-color: @accessRightOpen;
}
&.embargoed {
background-color: @accessRightEmbargoed;;
}
&.embargoed {
background-color: @accessRightEmbargoed;
;
}
&.metadata-only {
background-color: @accessRightMetadata;
}
&.metadata-only {
background-color: @accessRightMetadata;
}
}
@font-face {
font-family: "Source Sans Pro";
src: url('./fonts/SourceSansPro/SourceSansPro-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-family: "Source Sans Pro";
src: url('./fonts/SourceSansPro/SourceSansPro-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Source Sans Pro";
src: url('./fonts/SourceSansPro/SourceSansPro-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
font-family: "Source Sans Pro";
src: url('./fonts/SourceSansPro/SourceSansPro-Italic.ttf') format('truetype');
font-weight: 400;
font-style: italic;
}
/**
@@ -171,13 +181,13 @@ pre {
* only for the overview use case.
*/
.ui.segment:first-child {
margin-top: 1em;
margin-top: 1em;
}
.ui.equal.height .ui.segment {
height: 100%;
height: 100%;
}
.ui.flashed.message.manage {
text-align: center;
text-align: center;
}

View File

@@ -0,0 +1,17 @@
/*
* Copyright (C) 2020 Graz University of Technology
*
* invenio-theme-iform is free software; you can redistribute it and/or modify
* it under the terms of the MIT License; see LICENSE file for more details.
*/
.top-bottom-padded {
margin: unset;
}
.label.label-keyword {
font-size: 0.71428571rem;
font-weight: 400;
background-color: @labelKeywordBackground;
border: unset;
}

View File

@@ -1,28 +1,28 @@
/*
* Copyright (C) 2020-2023 Graz University of Technology
*
* invenio-theme-tugraz is free software; you can redistribute it and/or modify
* invenio-theme-iform is free software; you can redistribute it and/or modify
* it under the terms of the MIT License; see LICENSE file for more details.
*/
.creators {
margin: 0 0 1em;
margin: 0 0 1em;
}
.creators span {
margin-left: 2px;
margin-left: 2px;
}
.creator:not(:last-child):after {
color: @greyDark;
content: ';';
color: @greyDark;
content: ';';
}
.creator {
display: inline-block;
margin-right: 5px;
display: inline-block;
margin-right: 5px;
}
.identifiers {
display: inline;
display: inline;
}

View File

@@ -1,7 +1,7 @@
/*
* Copyright (C) 2020-2022 Graz University of Technology.
*
* invenio-theme-tugraz is free software; you can redistribute it and/or modify it
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
@@ -27,24 +27,24 @@
// used in various templates
// add no hyperlink decoration
.no-decoration{
color: inherit;
text-decoration: none;
transition: background-color 0.15s ease 0s, color 0.15s ease 0s;
outline: none;
.no-decoration {
color: inherit;
text-decoration: none;
transition: background-color 0.15s ease 0s, color 0.15s ease 0s;
outline: none;
}
.nowrap-link {
white-space: nowrap;
white-space: nowrap;
}
.ui.label.schema {
border: 1px solid #bfb5b5;
border: 1px solid #bfb5b5;
}
.random-records-frontpage {}
.random-records-frontpage .grid .column {
width: 380px !important;
padding: 14px !important;
width: 380px !important;
padding: 14px !important;
}

View File

@@ -1,7 +1,7 @@
/*
* Copyright (C) 2020-2021 Graz University of Technology.
*
* invenio-theme-tugraz is free software; you can redistribute it and/or modify it
* invenio-theme-iform is free software; you can redistribute it and/or modify it
* under the terms of the MIT License; see LICENSE file for more details.
*/
@@ -16,51 +16,51 @@
// badge colors, accessibility
@accessRight : #e9711c;
@accessRightOpen : @accessRight;
@accessRight : #e9711c;
@accessRightOpen : @accessRight;
@accessRightRestricted: #fbbd08;
@accessRightEmbargoed : #db2828;
@accessRightClosed : @accessRightEmbargoed;
@accessRightMetadata : #2185D0;
@accessRightClosed : @accessRightEmbargoed;
@accessRightMetadata : #2185D0;
@schema: #17b3f3;
// primary colors TU Graz
@tugrazBlack: #231f20;
@tugrazRed : #e4154b;
@tugrazRed : #e4154b;
// general
@primaryBackground: #fff;
@primaryText : #000;
@primaryText : #000;
// accent colors
@greyDark : #777;
@greyLight : #E0E1E2;
@greyDark : #777;
@greyLight : #E0E1E2;
@labelKeywordBackground: #E8E8E8;
// link and button colors
@primaryLinkInverted : @primaryText;
@primaryLinkInverted : @primaryText;
@primaryLinkBackgroundInverted: @primaryBackground;
@primaryLink : @primaryBackground;
@primaryLinkHoverBackground : @primaryText;
@primaryButton : @primaryBackground;
@primaryLink : @primaryBackground;
@primaryLinkHoverBackground : @primaryText;
@primaryButton : @primaryBackground;
@primaryButtonHoverBackground : @primaryText;
@primaryButtonInverted : @primaryText;
@primaryButtonInverted : @primaryText;
// account (signin, signup) specific
@primaryFormAccounts : @primaryBackground;
@primaryFormAccounts : @primaryBackground;
@formAccountsInputPlaceholder : silver;
@fieldInputSelectionBackground: #50a2ce;
@signInBackground : #245b78;
@signInBackground : #245b78;
// footer specific
@footerGrey : #5E5E5E;
@footerGrey : #5E5E5E;
@footerBottomBackground: #f2f2f2;
// record specific

View File

@@ -2,65 +2,65 @@
#
# Copyright (C) 2020-2023 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# invenio-theme-iform 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 module for TUGRAZ theme."""
"""invenio module for I-Form theme."""
from invenio_i18n import gettext as _
INVENIO_THEME_TUGRAZ_DEFAULT_VALUE = _("TU Graz Repository")
INVENIO_THEME_IFORM_DEFAULT_VALUE = _("I-Form Repository")
"""Default value for the application."""
INVENIO_THEME_TUGRAZ_BASE_TEMPLATE = "invenio_theme_tugraz/base.html"
"""TU Graz Default base template"""
INVENIO_THEME_IFORM_BASE_TEMPLATE = "invenio_theme_iform/base.html"
"""I-Form Default base template"""
INVENIO_THEME_TUGRAZ_ACCOUNT_BASE = "invenio_theme_tugraz/accounts/accounts_base.html"
"""TU Graz Default account base template"""
INVENIO_THEME_IFORM_ACCOUNT_BASE = "invenio_theme_iform/accounts/accounts_base.html"
"""I-Form Default account base template"""
INVENIO_THEME_TUGRAZ_ICON = "images/icon_use.png"
INVENIO_THEME_IFORM_ICON = "images/icon_use.png"
"""icon used in login page"""
INVENIO_THEME_TUGRAZ_LOGIN_IMG = "images/login_logo.png"
"""TU Logo for forms"""
INVENIO_THEME_IFORM_LOGIN_IMG = "images/login_logo.png"
"""I-Form Logo for forms"""
THEME_TUGRAZ_CONTACT_FORM = False
THEME_IFORM_CONTACT_FORM = False
"""Enable/Disable Contact form."""
THEME_TUGRAZ_PRODUCTION = False
THEME_IFORM_PRODUCTION = False
"""Production environment.
Can also be set as an environment variable in a .env file. Then the name
has to be 'INVENIO_THEME_TUGRAZ_PRODUCTION'.
has to be 'INVENIO_THEME_IFORM_PRODUCTION'.
"""
THEME_TUGRAZ_SUPPORT_EMAIL = ""
THEME_IFORM_SUPPORT_EMAIL = ""
"""Shown as contact-info on default error-page."""
# Invenio-theme
# ============
# See https://invenio-theme.readthedocs.io/en/latest/configuration.html
#
THEME_500_TEMPLATE = "invenio_theme_tugraz/default_error.html"
THEME_500_TEMPLATE = "invenio_theme_iform/default_error.html"
"""Used for any internal server errors and uncaught exceptions."""
THEME_LOGO = "images/tug_logo.png"
"""TU Graz logo"""
"""I-Form logo"""
THEME_SEARCHBAR = False
"""Enable or disable the header search bar."""
THEME_HEADER_TEMPLATE = "invenio_theme_tugraz/header.html"
"""TU Graz header template"""
THEME_HEADER_TEMPLATE = "invenio_theme_iform/header.html"
"""I-Form header template"""
THEME_FRONTPAGE = False
"""Use default frontpage."""
THEME_HEADER_LOGIN_TEMPLATE = "invenio_theme_tugraz/accounts/header_login.html"
THEME_HEADER_LOGIN_TEMPLATE = "invenio_theme_iform/accounts/header_login.html"
"""login page header"""
THEME_FOOTER_TEMPLATE = "invenio_theme_tugraz/footer.html"
THEME_FOOTER_TEMPLATE = "invenio_theme_iform/footer.html"
"""footer template"""
THEME_FRONTPAGE_TITLE = _("TU Graz Repository")
@@ -73,22 +73,22 @@ THEME_SITENAME = _("Repository")
# ============
# See https://invenio-accounts.readthedocs.io/en/latest/configuration.html
# COVER_TEMPLATE = 'invenio_theme_tugraz/accounts/accounts_base.html'
# COVER_TEMPLATE = 'invenio_theme_iform/accounts/accounts_base.html'
"""Cover page template for login and sign up pages."""
SECURITY_LOGIN_USER_TEMPLATE = "invenio_theme_tugraz/accounts/login_user.html"
SECURITY_LOGIN_USER_TEMPLATE = "invenio_theme_iform/accounts/login_user.html"
"""Login template"""
SECURITY_REGISTER_USER_TEMPLATE = "invenio_theme_tugraz/accounts/register_user.html"
SECURITY_REGISTER_USER_TEMPLATE = "invenio_theme_iform/accounts/register_user.html"
"""Sigup template"""
# Invenio-app-rdm
# =============
# See https://invenio-app-rdm.readthedocs.io/en/latest/configuration.html
SEARCH_UI_HEADER_TEMPLATE = "invenio_theme_tugraz/header.html"
SEARCH_UI_HEADER_TEMPLATE = "invenio_theme_iform/header.html"
"""Search page's header template."""
DEPOSITS_HEADER_TEMPLATE = "invenio_theme_tugraz/header.html"
DEPOSITS_HEADER_TEMPLATE = "invenio_theme_iform/header.html"
"""Deposits header page's template."""
@@ -98,14 +98,14 @@ DEPOSITS_HEADER_TEMPLATE = "invenio_theme_tugraz/header.html"
# Uncomment below to override records landingpage.
# from invenio_rdm_records.config import RECORDS_UI_ENDPOINTS
# RECORDS_UI_ENDPOINTS["recid"].update(
# template="invenio_theme_tugraz/record_landing_page.html"
# template="invenio_theme_iform/record_landing_page.html"
# )
"""override the default record landing page"""
# Invenio-search-ui
# =============
# See https://invenio-search-ui.readthedocs.io/en/latest/configuration.html
# SEARCH_UI_SEARCH_TEMPLATE = "invenio_theme_tugraz/search.html"
# SEARCH_UI_SEARCH_TEMPLATE = "invenio_theme_iform/search.html"
# """override the default search page"""
TUG_ROUTES = {

View File

@@ -2,22 +2,22 @@
#
# Copyright (C) 2020-2024 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# invenio-theme-iform 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 module for TUGRAZ theme."""
"""invenio module for I-Form theme."""
from flask_login import login_required
from invenio_i18n import lazy_gettext as _
from invenio_records_marc21.ui.theme import current_identity_can_view
from . import config
from .views import index, locked, require_tugraz_authenticated
from .views import index, locked, require_iform_authenticated
class InvenioThemeTugraz(object):
"""invenio-theme-tugraz extension."""
class InvenioThemeIform(object):
"""invenio-theme-iform extension."""
def __init__(self, app=None):
"""Extension initialization."""
@@ -37,12 +37,12 @@ class InvenioThemeTugraz(object):
def inject_visibility():
return {"can_view_marc21": current_identity_can_view()}
app.extensions["invenio-theme-tugraz"] = self
app.extensions["invenio-theme-iform"] = self
def init_config(self, app):
"""Initialize configuration."""
for k in dir(config):
if k.startswith("INVENIO_THEME_TUGRAZ_") or k.startswith("THEME_TUGRAZ_"):
if k.startswith("INVENIO_THEME_IFORM_") or k.startswith("THEME_IFORM_"):
app.config.setdefault(k, getattr(config, k))
@@ -58,13 +58,13 @@ def modify_user_dashboard(app):
user_dashboard_menu = root_menu.submenu("dashboard")
user_dashboard_menu.submenu("overview").register(
"invenio_theme_tugraz.overview",
"invenio_theme_iform.overview",
text=_("Overview"),
order=0,
)
root_menu.submenu("actions.deposit").register(
"invenio_theme_tugraz.overview",
"invenio_theme_iform.overview",
_("My dashboard"),
order=1,
)
@@ -86,9 +86,9 @@ def guard_view_functions(app):
# decorate view-func
# same as if view-func were defined with:
# @login_required
# @require_tugraz_authenticated_user
# @require_iform_authenticated_user
view_func = login_required(
require_tugraz_authenticated(
require_iform_authenticated(
view_func,
),
)

View File

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

View File

Before

Width:  |  Height:  |  Size: 566 B

After

Width:  |  Height:  |  Size: 566 B

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 583 B

View File

Before

Width:  |  Height:  |  Size: 220 KiB

After

Width:  |  Height:  |  Size: 220 KiB

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 256 B

After

Width:  |  Height:  |  Size: 256 B

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

Before

Width:  |  Height:  |  Size: 510 B

After

Width:  |  Height:  |  Size: 510 B

View File

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

View File

@@ -1,7 +1,7 @@
{#
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
#}
@@ -46,7 +46,7 @@
{%- block header %}{% endblock header %}
{%- block css %}
{{ webpack['theme.css'] }}
{{ webpack['invenio-theme-tugraz-theme.css'] }}
{{ webpack['invenio-theme-iform-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>
@@ -56,10 +56,10 @@
{%- endblock 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">
{% if not config.THEME_TUGRAZ_PRODUCTION %}
{% if not config.THEME_IFORM_PRODUCTION %}
<div class="ui sticky test-instance">
<h4>{{_ ("Test Instance") }}</h4>
<p>{{_ ("This is the test instance of the TU Graz Repository.") }}</p>
<p>{{_ ("This is the test instance of the I-Form Repository.") }}</p>
</div>
{% endif %}
{%- block body %}
@@ -71,7 +71,7 @@
{%- block body_inner %}
{%- block navbar_header %}
{%- include "invenio_theme_tugraz/navbar.html" %}
{%- include "invenio_theme_IFORM/navbar.html" %}
<!--Flask messages for accounts-->
{%- block flashmessages %}
{%- from "invenio_theme/macros/messages.html" import flashed_messages with context -%}
@@ -79,7 +79,7 @@
{%- endblock %}
{%- endblock navbar_header %}
{#
{%- block page_header %}
{% include config.THEME_HEADER_TEMPLATE %}

View File

@@ -1,12 +1,12 @@
{#
Copyright (C) 2020-2021 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform 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_ACCOUNT_BASE %}
{% extends config.INVENIO_THEME_IFORM_ACCOUNT_BASE %}
{% 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))
}}
<img src="{{ url_for('static', filename=config.INVENIO_THEME_TUGRAZ_ICON)}}" height="20px" />
<img src="{{ url_for('static', filename=config.INVENIO_THEME_IFORM_ICON)}}" height="20px" />
</a>
</div>
{% endfor %}

View File

@@ -1,12 +1,12 @@
{#
Copyright (C) 2020 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform 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_ACCOUNT_BASE %}
{% extends config.INVENIO_THEME_IFORM_ACCOUNT_BASE %}
{% from "invenio_accounts/_macros.html" import render_field, form_errors %}
@@ -38,11 +38,11 @@
<div class="column" id="switch_right">
{# Sigup with SSO #}
{%- if config.INVENIO_CONFIG_TUGRAZ_SHIBBOLETH %}
{%- if config.INVENIO_CONFIG_IFORM_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" />
<span style="font-size: 18px;">{{ _("Sign up with I-Form") }}</span>
<img src="{{ url_for("static", filename=config.INVENIO_THEME_IFORM_ICON) }}" height="20px" />
</a>
<div class="ui inverted horizontal divider"><span class="text-color">{{_ ("Or") }}</span></div>
{%- endif %}

View File

@@ -0,0 +1,96 @@
{#
Copyright (C) 2020-2023 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
#}
<!DOCTYPE html>
<html lang="{{ current_i18n.locale.language|safe }}" dir="{{ current_i18n.locale.text_direction }}">
<head>
{%- block head %}
{%- block head_meta %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- if description %}
<meta name="description" content="{{ description }}" />
{% endif %}
{%- if keywords %}
<meta name="keywords" content="{{ keywords }}" />
{% endif %}
{%- if config.get("THEME_GOOGLE_SITE_VERIFICATION", None) %}
{%- for google_id in config.THEME_GOOGLE_SITE_VERIFICATION %}
<meta name="google-site-verification" content="{{google_id}}" />
{%- endfor %}
{%- endif %}
{%- endblock head_meta %}
{%- block head_title %}
{%- set title = title or _(config.THEME_SITENAME) or _("Invenio") %}
<title>{{title}}</title>
{%- endblock head_title %}
{%- block head_links %}
<link rel="shortcut icon" href="{{ url_for(" static", filename="favicon.ico" ) }}" />
{%- if keywords %}
<link rel="canonical" href="{{ canonical_url }}" />
{% endif %}
{%- block head_links_langs %}
{%- if alternate_urls %}
{%- for alt_ln, alternate_url in alternate_urls.items() %}
<link rel="alternate" hreflang="{{ alt_ln }}" href="{{ alternate_url }}" />
{%- endfor %}
{%- endif %}
{%- endblock %}
{%- endblock head_links %}
{%- block header %}{% endblock header %}
{%- block css %}
{{ webpack["theme.css"] }}
{{ webpack["invenio-theme-iform-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>
<![endif]-->
{%- 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 %}
</body>
</html>

View File

@@ -0,0 +1,27 @@
{#
Copyright (C) 2020-2024 Graz University of Technology.
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
#}
<div class="ui segment" style="padding-bottom: 10px;">
<h4>{{ _("Good reasons to use the I-Form Repository") }}</h4>
<ul>
<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>
<li><strong>{{_("Citeable") }}</strong> &mdash; {{_("Every upload is assigned a Digital Object Identifier (DOI).")
}}</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>

View File

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

View File

@@ -1,7 +1,7 @@
{#
Copyright (C) 2024 Graz University of Technology.
invenio-theme-tugraz is free software; you can redistribute it and/or
invenio-theme-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
#}
@@ -14,7 +14,7 @@
{{ _(
'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)
).format(support_email=config.THEME_IFORM_SUPPORT_EMAIL)
}}
</p>
{# 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-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-iform 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-iform-theme.css'] }}
{%- endblock %}
{%- block javascript %}
{{ webpack['invenio-theme-tugraz-js.js'] }}
{{ webpack['invenio-theme-iform-js.js'] }}
{%- endblock javascript %}
<div class="spacer"></div>
@@ -25,36 +25,33 @@
<div class="ui list">
<div class="item">
<a href="https://tu-graz-library.github.io/docs-repository" title="Repository documentation"
target="_blank">
{{ _("Documentation") }} <i class="external alternate icon"></i>
target="_blank">
{{ _("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 href="{{ url_for('invenio_config_iform.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 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 href="{{ url_for('invenio_config_iform.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 href="{{ url_for('invenio_config_iform.terms') }}" title="Terms and Conditions" target="_blank">
{{ _("Terms and Conditions") }} <i class="download icon"></i>
</a>
</div>
</div>
@@ -121,9 +118,8 @@
<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;">
<img src="{{ url_for(" static", filename="images/inveniordm-tail.svg" )}}" alt="InvenioRDM logo"
style="display: block; height: 90px; margin-top: 8px;">
</a>
</div>
</div>
@@ -131,9 +127,8 @@
<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;">
<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>
@@ -142,9 +137,8 @@
<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;">
<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>
@@ -156,10 +150,10 @@
<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 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>

View File

@@ -1,9 +1,9 @@
{#
Copyright (C) 2020-2023 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-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
#}
<div class="sixteen wide column random-records-frontpage">

View File

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

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

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

View File

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

View File

@@ -1,33 +1,33 @@
{#
Copyright (C) 2020-2023 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-iform is free software; you can redistribute it and/or
modify it under the terms of the MIT License; see LICENSE file for more
details.
#}
{% set options = [
{
"key": "records",
"text": _("All"),
"value": url_for("invenio_search_ui.search"),
"title": "repo",
},{
"key": "rdm",
"text": _("Research Results"),
"value": "/records/search",
"title": "Research Data",
},{
"key": "marc21",
"text": _("Publications"),
"value": url_for("invenio_records_marc21.search"),
"title": "publication",
},{
"key": "lom",
"text": _("Educational Resources"),
"value": url_for("invenio_records_lom.search"),
"title": "oer",
}
{
"key": "records",
"text": _("All"),
"value": url_for("invenio_search_ui.search"),
"title": "repo",
},{
"key": "rdm",
"text": _("Research Results"),
"value": "/records/search",
"title": "Research Data",
},{
"key": "marc21",
"text": _("Publications"),
"value": url_for("invenio_records_marc21.search"),
"title": "publication",
},{
"key": "lom",
"text": _("Educational Resources"),
"value": url_for("invenio_records_lom.search"),
"title": "oer",
}
]
%}
@@ -44,12 +44,11 @@
<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 %}
{%- 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>
@@ -58,7 +57,7 @@
<div class="short-menu-right">
{%- block navbar_right %}
{%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
{%- include config.THEME_HEADER_LOGIN_TEMPLATE %}
{%- endblock navbar_right %}
</div>
</div>
@@ -71,10 +70,10 @@
<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")}}">
<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">
<a title="Home" href="{{url_for(" invenio_theme_iform.index")}}" class="no-decoration">
{{ _("TU GRAZ") }}
<br>
{{ _("REPOSITORY") }}
@@ -93,7 +92,7 @@
<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" %}
{%- include "invenio_theme_iform/iform_logo.svg" %}
</a>
</div>
</div>

View File

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

View File

@@ -1,12 +1,12 @@
# German translations for invenio-theme-tugraz.
# German translations for invenio-theme-iform.
# Copyright (C) 2020-2021 Graz University of Technology
# This file is distributed under the same license as the
# invenio-theme-tugraz project.
# invenio-theme-iform project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-tugraz 1.0.4\n"
"Project-Id-Version: invenio-theme-iform 1.0.4\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2024-02-02 10:08+0100\n"
"PO-Revision-Date: 2024-02-09 22:25+0100\n"
@@ -20,70 +20,70 @@ msgstr ""
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 2.3.1\n"
#: invenio_theme_tugraz/config.py:13 invenio_theme_tugraz/config.py:60
#: invenio_theme_iform/config.py:13 invenio_theme_iform/config.py:60
msgid "TU Graz Repository"
msgstr "TU Graz Repository"
#: invenio_theme_tugraz/config.py:63
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:24
#: invenio_theme_iform/config.py:63
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:24
msgid "Repository"
msgstr "Repository"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:12
#: invenio_theme_tugraz/views.py:70
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:12
#: invenio_theme_iform/views.py:70
msgid "Overview"
msgstr "Übersicht"
#: invenio_theme_tugraz/views.py:76
#: invenio_theme_iform/views.py:76
msgid "My dashboard"
msgstr "Meine Übersicht"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:12
#: invenio_theme_iform/templates/invenio_theme_iform/423.html:12
msgid "Locked"
msgstr "Locked"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/423.html:13
#: invenio_theme_iform/templates/invenio_theme_iform/423.html:13
msgid "The resource that is being accessed is locked."
msgstr "Die angeforderte Ressource ist zurzeit gesperrt."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html:26
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/base.html:34
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:26
#: invenio_theme_iform/templates/invenio_theme_iform/base.html:34
msgid "Invenio"
msgstr "Invenio"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:10
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:10
msgid "Good reasons to use the Repository of the TU Graz"
msgstr "Gute Gründe, das Repository der TU Graz zu nutzen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:13
msgid "Safe"
msgstr "Sicher"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:13
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:13
msgid "Your research results are permanently available."
msgstr "Ihre Forschungsergebnisse sind dauerhaft verfügbar."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:14
msgid "Trusted"
msgstr "Vertrauenswürdig"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:14
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:14
msgid "A service from TU Graz, developed in cooperation with CERN."
msgstr "Ein Service der TU Graz, entwickelt in Kooperation mit CERN."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:15
msgid "Citeable"
msgstr "Zitierfähig"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:15
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:15
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr "Jedem Upload wird ein Digital Object Identifier (DOI) zugewiesen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:16
msgid "No waiting time"
msgstr "Keine Wartezeit"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:16
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:16
msgid ""
"Uploads are made available online as soon as you hit publish. Your DOI is "
"registered within seconds."
@@ -91,11 +91,11 @@ msgstr ""
"Uploads sind online verfügbar, sobald Sie auf \"Veröffentlichen\" klicken. "
"Ihre DOI wird innerhalb von Sekunden registriert."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:17
msgid "Open or closed"
msgstr "Offen oder geschlossen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:17
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:17
msgid ""
"You determine the visibility of your uploads. A restricted access mode is "
"possible."
@@ -103,146 +103,146 @@ msgstr ""
"Sie bestimmen die Sichtbarkeit Ihrer Uploads. Ein eingeschränkter "
"Zugriffsmodus ist möglich."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:18
msgid "Versioning"
msgstr "Versionierung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:18
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:18
msgid "Easily update your dataset with the versioning feature."
msgstr ""
"Aktualisieren Sie Ihren Datensatz ganz einfach mit der "
"Versionierungsfunktion."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
#, fuzzy
#| msgid "Usage statisics"
msgid "Usage statistics"
msgstr "Nutzungsstatistiken"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
#, fuzzy
#| msgid "All uploads display standards compliant usage statistics."
msgid "All uploads display standards compliant usage statistics. "
msgstr "Alle Uploads zeigen standardkonforme Nutzungsstatistiken an."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/benefits.html:19
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:88
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:88
msgid "More"
msgstr "Mehr"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:10
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:10
msgid "Need help?"
msgstr "Brauchen Sie Hilfe?"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:15
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:15
msgid "Contact us"
msgstr "Kontaktieren Sie uns"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:20
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:20
msgid "We can help with:"
msgstr "Dabei können wir helfen:"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:24
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:24
msgid "Upload your research results, software, preprints, etc."
msgstr "Hochladen Ihrer Forschungsergebnisse, Software, Preprints usw."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:25
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:25
msgid "Increase upload limit beyond our default policy of 10GB."
msgstr "Upload-Limit Erhöhung über unsere Standardrichtlinie von 10 GB hinaus."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:26
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:26
#, fuzzy
#| msgid "Create contact with data stewards."
msgid "Establish contact with data stewards."
msgstr "Kontakt mit den Data Stewards herstellen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/contact_us.html:27
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:27
msgid "Find individual solutions."
msgstr "Individuelle Lösungen finden."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:29
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:29
msgid "Documentation"
msgstr "Dokumentation"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:36
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:36
msgid "Reference Guide"
msgstr "Handbuch"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:43
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:43
msgid "Search Guide"
msgstr "Suchanleitung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:50
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:50
msgid "Data Protection"
msgstr "Datenschutzerklärung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:57
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:57
msgid "Terms and Conditions"
msgstr "Nutzungsbedingungen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:65
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:65
msgid "Features"
msgstr "Features"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:68
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:68
msgid "Scalability"
msgstr "Skalierbarkeit"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:69
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:69
msgid "Institutional integration"
msgstr "Institutionelle Einbindung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:70
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:70
msgid "Next Generation Repository"
msgstr "Repositorium der nächsten Generation"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:71
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:71
msgid "Repository Profiles"
msgstr "Repositorienprofile"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:72
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:72
msgid "Resilient"
msgstr "Resilient, widerstandsfähig"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:78
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:78
msgid "Connected Services"
msgstr "Verbundene Services"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:82
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:82
msgid "PURE"
msgstr "PURE"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:88
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:88
msgid "CampusOnline"
msgstr "CampusOnline"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:94
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:94
msgid "Research Data Management"
msgstr "Forschungsdatenmanagement"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:101
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:101
msgid "Accessibility"
msgstr "Barrierefreiheit"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:104
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:104
msgid "Tipp:"
msgstr "Tipp:"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:107
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:107
msgid "Use Ctrl + and Crtl -"
msgstr "Verwenden Sie Strg+ und Strg-"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/footer.html:110
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:110
msgid "to change the font size."
msgstr "Um die Schriftgröße zu ändern."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:13
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:17
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:26
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:13
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:17
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:26
msgid "Research Results"
msgstr "Forschungsergebnisse"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:16
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:16
#, fuzzy
#| msgid "Frontpage: Description for research result"
msgid "Frontpage: Description for research results"
@@ -255,21 +255,21 @@ msgstr ""
"Möglichkeit, Forschungsergebnisse zum Repository hinzuzufügen, aber auch "
"nach den Ergebnissen anderer Personen zu suchen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:26
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:26
msgid "Search for research results"
msgstr "Suchen Sie nach Forschungsergebnissen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:29
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:29
msgid "Upload research results"
msgstr "Erstellen Sie Forschungsergebnisse"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:36
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:22
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:59
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:36
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:22
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:59
msgid "Publications"
msgstr "Publikationen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:39
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:39
msgid "Frontpage: Description for publications"
msgstr ""
"Der Bereich Publikationen umfasst Zitate aus verschiedenen Bereichen. Open-"
@@ -279,17 +279,17 @@ msgstr ""
"gemacht. Der folgende Link bietet die Möglichkeit, unter den Publikationen "
"zu suchen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:49
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:49
msgid "Search for publications"
msgstr "Suchen Sie nach Publikationen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:56
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:27
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:70
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:56
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:27
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:70
msgid "Educational Resources"
msgstr "Bildungsinhalte"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:59
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:59
msgid "Frontpage: Description for open educational resources"
msgstr ""
"In diesem Bereich können Sie Ihre offen lizenzierten Bildungsinhalte (OER, "
@@ -299,72 +299,72 @@ msgstr ""
"at</a> übertragen. Um etwas in diesem Bereich hochzuladen, ist ein OER-"
"Zertifikat und die Aktivierung Ihres Accounts erforderlich."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:69
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:69
msgid "Search for educational resourses"
msgstr "Suchen Sie nach Bildungsinhalten"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/frontpage_overview.html:72
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:72
msgid "Upload educational resources"
msgstr "Erstellen Sie neue Bildungsinhalte"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html:61
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:11
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:61
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:11
msgid "Test Instance"
msgstr "Testumgebung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/accounts_base.html:62
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:12
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:62
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:12
msgid "This is the test instance of the TU Graz Repository."
msgstr "Dies ist die Testumgebung des TU Graz Repositorys."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:40
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:40
msgid "Home"
msgstr "Startseite"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:46
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:37
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:46
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:37
msgid "Communities"
msgstr "Communities"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/header.html:49
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:49
msgid "Dashboard"
msgstr "Übersicht"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:12
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:12
msgid "All"
msgstr "Alle"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:78
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:78
msgid "TU GRAZ"
msgstr ""
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:80
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:80
msgid "REPOSITORY"
msgstr "Repository"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:82
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:82
msgid "LIBRARY & ARCHIVES"
msgstr "Bibliothek und Archiv"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:92
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:92
msgid "SCIENCE"
msgstr "WISSEN"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:93
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:93
msgid "PASSION"
msgstr "TECHNIK"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/navbar.html:94
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:94
msgid "TECHNOLOGY"
msgstr "LEIDENSCHAFT"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:31
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:31
#, fuzzy
#| msgid "Overview: Description for research result"
msgid "Overview: Description for research results"
msgstr "Die Forschungsergebnisse bilden die Grundlage für Veröffentlichungen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:42
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:42
msgid "Overview: Description of Communities"
msgstr ""
"Bauen Sie eine Gemeinschaft von Einzelpersonen auf, um die Plattform "
@@ -372,108 +372,108 @@ msgstr ""
"Thema oder Ihre Veranstaltung zu organisieren, zu kuratieren und gemeinsam "
"zu bearbeiten."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:48
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:48
msgid "Requests"
msgstr "Anfragen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:53
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:53
msgid "Overview: Description of Requests"
msgstr ""
"Prüfen Sie auf eingehende Benachrichtigungen und Gemeinschaftsaufgaben oder -"
"anfragen."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:64
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:64
msgid "Overview: Description for publications"
msgstr ""
"Die Veröffentlichungen sind das zusammengefasste Ergebnis der Forschung."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/overview.html:75
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:75
msgid "Overview: Description for open educational resources"
msgstr ""
"Veröffentlichen Sie hier Ihre offen lizenzierten Bildungsmaterialien (OER), "
"damit andere sie finden und weiternutzen können."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:11
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:11
msgid "Recent uploads"
msgstr "Kürzlich hochgeladene Dateien"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:16
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:16
msgid "There are no public records to show."
msgstr "Es sind keine öffentlich zugänglichen Datensätze vorhanden."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:28
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:28
msgid "Publication date"
msgstr "Datum der Veröffentlichung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/recent_uploads.html:34
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:34
msgid "Resource type"
msgstr "Art der Veröffentlichung"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:8
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:82
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:82
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:8
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:82
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:82
msgid "Sign up"
msgstr "Registrieren"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:15
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:15
msgid "Log in"
msgstr "Einloggen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/header_login.html:30
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:30
msgid "Sign out"
msgstr "Ausloggen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:24
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:24
msgid "Log in to Repository"
msgstr "Anmelden"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:38
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:38
#, python-format
msgid "Log in with %(title)s"
msgstr "Einloggen mit %(title)s"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:46
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:47
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:46
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:47
msgid "Or"
msgstr "Oder"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:57
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:57
msgid "Log in with repository credentials"
msgstr "Loggen Sie sich mit Ihrem Repository-Account ein"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:67
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:67
msgid "Log In"
msgstr "Einloggen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:81
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:81
#, python-format
msgid "New to %(sitename)s?"
msgstr "Neu im %(sitename)s?"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/login_user.html:91
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:91
msgid "Forgot password?"
msgstr "Passwort vergessen?"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:20
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:20
msgid "Create an Account"
msgstr "Einen Account erstellen"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:25
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:25
msgid "Citeable. Discoverable."
msgstr "Zitierfähig. Auffindbar."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:27
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:27
msgid ""
"Uploads get a Digital Object Identifier (DOI) to make them easily and "
"uniquely citeable."
msgstr ""
"Uploads erhalten eine DOI und werden damit leichtauffindbar und zitierfähig."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:28
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:28
msgid "Communities."
msgstr "Communities."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:30
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:30
msgid ""
"Accept or reject uploads to your own community (e.g workshops, EU projects, "
"institutions or entire disciplines)."
@@ -481,21 +481,21 @@ msgstr ""
"Annehmen oder Ablehnen von Uploads in Ihrer eigenen Community (z.B. "
"workshop, EU-Projekt, Forschungseinrichtung, Disziplin)"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:32
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:32
msgid "Trusted Research Data Management"
msgstr "Vertrauenswürdiges Forschungsdatenmanagement"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:34
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:34
msgid ""
"Built on top of TU Graz expertise in managing of the research data from the "
"Graz University of Technology."
msgstr "Gebaut basierend auf Expertise der TU Graz im Bereich Data Management."
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:44
msgid "Sign up with TUGRAZ"
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:44
msgid "Sign up with I-Form"
msgstr "Mit Ihrem TUGonline-Account registrieren"
#: invenio_theme_tugraz/templates/invenio_theme_tugraz/accounts/register_user.html:61
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:61
msgid "Sign up with repository credentials"
msgstr "Mit Ihren Repository Daten registrieren"

View File

@@ -0,0 +1,480 @@
# English translations for invenio-theme-iform.
# Copyright (C) 2023 Graz University of Technology
# This file is distributed under the same license as the
# invenio-theme-iform project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-iform 4.12.0\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2024-02-02 10:08+0100\n"
"PO-Revision-Date: 2024-02-02 10:09+0100\n"
"Last-Translator: \n"
"Language-Team: en <LL@li.org>\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Generated-By: Babel 2.13.1\n"
"X-Generator: Poedit 2.3.1\n"
#: invenio_theme_iform/config.py:13 invenio_theme_iform/config.py:60
msgid "TU Graz Repository"
msgstr ""
#: invenio_theme_iform/config.py:63
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:24
msgid "Repository"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:12
#: invenio_theme_iform/views.py:70
msgid "Overview"
msgstr ""
#: invenio_theme_iform/views.py:76
msgid "My dashboard"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/423.html:12
msgid "Locked"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/423.html:13
msgid "The resource that is being accessed is locked."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:26
#: invenio_theme_iform/templates/invenio_theme_iform/base.html:34
msgid "Invenio"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:10
msgid "Good reasons to use the Repository of the TU Graz"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:13
msgid "Safe"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:13
msgid "Your research results are permanently available."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:14
msgid "Trusted"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:14
msgid "A service from TU Graz, developed in cooperation with CERN."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:15
msgid "Citeable"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:15
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:16
msgid "No waiting time"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:16
msgid ""
"Uploads are made available online as soon as you hit publish. Your DOI is "
"registered within seconds."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:17
msgid "Open or closed"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:17
msgid ""
"You determine the visibility of your uploads. A restricted access mode is "
"possible."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:18
msgid "Versioning"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:18
msgid "Easily update your dataset with the versioning feature."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
msgid "Usage statistics"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
msgid "All uploads display standards compliant usage statistics. "
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:88
msgid "More"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:10
msgid "Need help?"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:15
msgid "Contact us"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:20
msgid "We can help with:"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:24
msgid "Upload your research results, software, preprints, etc."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:25
msgid "Increase upload limit beyond our default policy of 10GB."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:26
msgid "Establish contact with data stewards."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:27
msgid "Find individual solutions."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:29
msgid "Documentation"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:36
msgid "Reference Guide"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:43
msgid "Search Guide"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:50
msgid "Data Protection"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:57
msgid "Terms and Conditions"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:65
msgid "Features"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:68
msgid "Scalability"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:69
msgid "Institutional integration"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:70
msgid "Next Generation Repository"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:71
msgid "Repository Profiles"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:72
msgid "Resilient"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:78
msgid "Connected Services"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:82
msgid "PURE"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:88
msgid "CampusOnline"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:94
msgid "Research Data Management"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:101
msgid "Accessibility"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:104
msgid "Tipp:"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:107
msgid "Use Ctrl + and Crtl -"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:110
msgid "to change the font size."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:13
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:17
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:26
msgid "Research Results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:16
#, fuzzy
#| msgid "Frontpage: Description for research result"
msgid "Frontpage: Description for research results"
msgstr ""
"Research results is the collective term for all the results of a research "
"project. They describe the data, source code and all digital objects on "
"which publication results are based. These include the tools used to collect "
"and process the research data. The following links offer the possibility to "
"add research results to the repository, but also to search for the results "
"of other people."
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:26
msgid "Search for research results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:29
msgid "Upload research results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:36
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:22
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:59
msgid "Publications"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:39
msgid "Frontpage: Description for publications"
msgstr ""
"The section of publications covers citations from several areas. Open Access "
"papers are imported from Pure. Publications from Open Access publishers are "
"shared. Digital copies are offered. University publications are made "
"available to a wide range of people. The following link offers the "
"possibility to search among publications."
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:49
msgid "Search for publications"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:56
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:27
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:70
msgid "Educational Resources"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:59
msgid "Frontpage: Description for open educational resources"
msgstr ""
"In this area, you can upload your openly licensed educational content (OER, "
"Open Educational Resources) and search for educational resources uploaded by "
"others. Your uploaded content will be automatically transferred to the <a "
"href=\"https://oerhub.at/en\" target=\"_blank\">OERhub.at</a>. To upload "
"something in this area, an OER certificate and activation of your account is "
"required."
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:69
msgid "Search for educational resourses"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:72
msgid "Upload educational resources"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:61
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:11
msgid "Test Instance"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:62
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:12
msgid "This is the test instance of the TU Graz Repository."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:40
msgid "Home"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:46
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:37
msgid "Communities"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:49
msgid "Dashboard"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:12
msgid "All"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:78
msgid "TU GRAZ"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:80
msgid "REPOSITORY"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:82
msgid "LIBRARY & ARCHIVES"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:92
msgid "SCIENCE"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:93
msgid "PASSION"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:94
msgid "TECHNOLOGY"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:31
#, fuzzy
#| msgid "Overview: Description for research result"
msgid "Overview: Description for research results"
msgstr "Research results gives the base on which publications are built."
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:42
msgid "Overview: Description of Communities"
msgstr ""
"Grow a community of individuals to sustain the platform going forward and "
"thereby organize, curate and collaborate on records for your institution, "
"project, topic or event."
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:48
msgid "Requests"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:53
msgid "Overview: Description of Requests"
msgstr ""
"Check for incoming notifications and community assignments or inquiries."
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:64
msgid "Overview: Description for publications"
msgstr "Publications are the synthesized result of research."
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:75
msgid "Overview: Description for open educational resources"
msgstr ""
"Educational resources: Publish your openly licensed educational material "
"(OER) here, so that others can find and resue it."
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:11
msgid "Recent uploads"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:16
msgid "There are no public records to show."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:28
msgid "Publication date"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:34
msgid "Resource type"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:8
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:82
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:82
msgid "Sign up"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:15
msgid "Log in"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:30
msgid "Sign out"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:24
msgid "Log in to Repository"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:38
#, python-format
msgid "Log in with %(title)s"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:46
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:47
msgid "Or"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:57
msgid "Log in with repository credentials"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:67
msgid "Log In"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:81
#, python-format
msgid "New to %(sitename)s?"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:91
msgid "Forgot password?"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:20
msgid "Create an Account"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:25
msgid "Citeable. Discoverable."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:27
msgid ""
"Uploads get a Digital Object Identifier (DOI) to make them easily and "
"uniquely citeable."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:28
msgid "Communities."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:30
msgid ""
"Accept or reject uploads to your own community (e.g workshops, EU projects, "
"institutions or entire disciplines)."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:32
msgid "Trusted Research Data Management"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:34
msgid ""
"Built on top of TU Graz expertise in managing of the research data from the "
"Graz University of Technology."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:44
msgid "Sign up with I-Form"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:61
msgid "Sign up with repository credentials"
msgstr ""

View File

@@ -0,0 +1,451 @@
# Translations template for invenio-theme-iform.
# Copyright (C) 2024 Graz University of Technology
# This file is distributed under the same license as the
# invenio-theme-iform project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: invenio-theme-iform 4.12.3\n"
"Report-Msgid-Bugs-To: mojib.wali@tugraz.at\n"
"POT-Creation-Date: 2024-02-02 10:08+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.13.1\n"
#: invenio_theme_iform/config.py:13 invenio_theme_iform/config.py:60
msgid "TU Graz Repository"
msgstr ""
#: invenio_theme_iform/config.py:63
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:24
msgid "Repository"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:12
#: invenio_theme_iform/views.py:70
msgid "Overview"
msgstr ""
#: invenio_theme_iform/views.py:76
msgid "My dashboard"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/423.html:12
msgid "Locked"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/423.html:13
msgid "The resource that is being accessed is locked."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:26
#: invenio_theme_iform/templates/invenio_theme_iform/base.html:34
msgid "Invenio"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:10
msgid "Good reasons to use the Repository of the TU Graz"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:13
msgid "Safe"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:13
msgid "Your research results are permanently available."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:14
msgid "Trusted"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:14
msgid "A service from TU Graz, developed in cooperation with CERN."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:15
msgid "Citeable"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:15
msgid "Every upload is assigned a Digital Object Identifier (DOI)."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:16
msgid "No waiting time"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:16
msgid ""
"Uploads are made available online as soon as you hit publish. Your DOI is"
" registered within seconds."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:17
msgid "Open or closed"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:17
msgid ""
"You determine the visibility of your uploads. A restricted access mode is"
" possible."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:18
msgid "Versioning"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:18
msgid "Easily update your dataset with the versioning feature."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
msgid "Usage statistics"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
msgid "All uploads display standards compliant usage statistics. "
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/benefits.html:19
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:88
msgid "More"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:10
msgid "Need help?"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:15
msgid "Contact us"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:20
msgid "We can help with:"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:24
msgid "Upload your research results, software, preprints, etc."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:25
msgid "Increase upload limit beyond our default policy of 10GB."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:26
msgid "Establish contact with data stewards."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/contact_us.html:27
msgid "Find individual solutions."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:29
msgid "Documentation"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:36
msgid "Reference Guide"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:43
msgid "Search Guide"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:50
msgid "Data Protection"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:57
msgid "Terms and Conditions"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:65
msgid "Features"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:68
msgid "Scalability"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:69
msgid "Institutional integration"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:70
msgid "Next Generation Repository"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:71
msgid "Repository Profiles"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:72
msgid "Resilient"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:78
msgid "Connected Services"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:82
msgid "PURE"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:88
msgid "CampusOnline"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:94
msgid "Research Data Management"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:101
msgid "Accessibility"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:104
msgid "Tipp:"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:107
msgid "Use Ctrl + and Crtl -"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/footer.html:110
msgid "to change the font size."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:13
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:17
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:26
msgid "Research Results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:16
msgid "Frontpage: Description for research results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:26
msgid "Search for research results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:29
msgid "Upload research results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:36
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:22
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:59
msgid "Publications"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:39
msgid "Frontpage: Description for publications"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:49
msgid "Search for publications"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:56
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:27
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:70
msgid "Educational Resources"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:59
msgid "Frontpage: Description for open educational resources"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:69
msgid "Search for educational resourses"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/frontpage_overview.html:72
msgid "Upload educational resources"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:61
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:11
msgid "Test Instance"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/accounts_base.html:62
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:12
msgid "This is the test instance of the TU Graz Repository."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:40
msgid "Home"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:46
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:37
msgid "Communities"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/header.html:49
msgid "Dashboard"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:12
msgid "All"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:78
msgid "TU GRAZ"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:80
msgid "REPOSITORY"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:82
msgid "LIBRARY & ARCHIVES"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:92
msgid "SCIENCE"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:93
msgid "PASSION"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/navbar.html:94
msgid "TECHNOLOGY"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:31
msgid "Overview: Description for research results"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:42
msgid "Overview: Description of Communities"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:48
msgid "Requests"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:53
msgid "Overview: Description of Requests"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:64
msgid "Overview: Description for publications"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/overview.html:75
msgid "Overview: Description for open educational resources"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:11
msgid "Recent uploads"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:16
msgid "There are no public records to show."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:28
msgid "Publication date"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/recent_uploads.html:34
msgid "Resource type"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:8
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:82
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:82
msgid "Sign up"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:15
msgid "Log in"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/header_login.html:30
msgid "Sign out"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:24
msgid "Log in to Repository"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:38
#, python-format
msgid "Log in with %(title)s"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:46
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:47
msgid "Or"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:57
msgid "Log in with repository credentials"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:67
msgid "Log In"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:81
#, python-format
msgid "New to %(sitename)s?"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/login_user.html:91
msgid "Forgot password?"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:20
msgid "Create an Account"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:25
msgid "Citeable. Discoverable."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:27
msgid ""
"Uploads get a Digital Object Identifier (DOI) to make them easily and "
"uniquely citeable."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:28
msgid "Communities."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:30
msgid ""
"Accept or reject uploads to your own community (e.g workshops, EU "
"projects, institutions or entire disciplines)."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:32
msgid "Trusted Research Data Management"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:34
msgid ""
"Built on top of TU Graz expertise in managing of the research data from "
"the Graz University of Technology."
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:44
msgid "Sign up with I-Form"
msgstr ""
#: invenio_theme_iform/templates/invenio_theme_iform/accounts/register_user.html:61
msgid "Sign up with repository credentials"
msgstr ""

View File

@@ -2,11 +2,11 @@
#
# Copyright (C) 2020-2025 Graz University of Technology.
#
# invenio-theme-tugraz is free software; you can redistribute it and/or
# invenio-theme-iform 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 module for TUGRAZ theme."""
"""invenio module for I-Form theme."""
from functools import wraps
from typing import Dict
@@ -23,7 +23,7 @@ from opensearch_dsl.utils import AttrDict
from .search import FrontpageRecordsSearch
blueprint = Blueprint(
"invenio_theme_tugraz",
"invenio_theme_iform",
__name__,
template_folder="templates",
static_folder="static",
@@ -44,18 +44,18 @@ def records_search():
return render_template("invenio_app_rdm/records/search.html")
def current_identity_is_tugraz_authenticated() -> bool:
"""Checks whether current identity has tugraz-authentication.
def current_identity_is_iform_authenticated() -> bool:
"""Checks whether current identity has iform-authentication.
NOTE: Default permission-policy has no field for `tugraz_authenticated`.
NOTE: Default permission-policy has no field for `iform_authenticated`.
Should the field not exist, the service checks against admin-permissions instead.
You probably meant to configure a custom permission-policy.
"""
rdm_service = current_rdm_records.records_service
return rdm_service.check_permission(g.identity, "tugraz_authenticated")
return rdm_service.check_permission(g.identity, "iform_authenticated")
def require_tugraz_authenticated(view_func):
def require_iform_authenticated(view_func):
"""Decorator for guarding view-functions against unauthenticated users.
Redirects un-authenticated users to their personal dashboard's overview.
@@ -63,8 +63,8 @@ def require_tugraz_authenticated(view_func):
@wraps(view_func)
def decorated_view(*args, **kwargs):
if not current_identity_is_tugraz_authenticated():
return redirect(url_for("invenio_theme_tugraz.overview"))
if not current_identity_is_iform_authenticated():
return redirect(url_for("invenio_theme_iform.overview"))
return view_func(*args, **kwargs)
return decorated_view
@@ -77,10 +77,10 @@ def overview():
url = current_user_resources.users_service.links_item_tpl.expand(
g.identity, current_user
)["avatar"]
is_tugraz_authenticated = current_identity_is_tugraz_authenticated()
is_iform_authenticated = current_identity_is_iform_authenticated()
return render_template(
"invenio_theme_tugraz/overview.html",
is_tugraz_authenticated=is_tugraz_authenticated,
"invenio_theme_iform/overview.html",
is_iform_authenticated=is_iform_authenticated,
user_avatar=url,
)
@@ -113,7 +113,7 @@ def default_error_handler(e: Exception):
def ui_blueprint(app):
"""Blueprint for the routes and resources provided by Invenio-theme-tugraz."""
"""Blueprint for the routes and resources provided by invenio-theme-iform."""
routes = app.config.get("TUG_ROUTES")
blueprint.add_url_rule(routes["index"], view_func=index)
@@ -135,10 +135,10 @@ def index():
records = FrontpageRecordsSearch()[:5].sort("-created").execute()
return render_template(
"invenio_theme_tugraz/index.html", records=records_serializer(records)
"invenio_theme_iform/index.html", records=records_serializer(records)
)
def locked(e):
"""Error page for status locked."""
return render_template("invenio_theme_tugraz/423.html")
return render_template("invenio_theme_iform/423.html")

View File

@@ -2,7 +2,7 @@
#
# Copyright (C) 2020 TUGRAZ.
#
# invenio-theme-tugraz is free software.
# invenio-theme-iform is free software.
"""JS/CSS Webpack bundles for theme."""
@@ -15,9 +15,9 @@ theme = WebpackThemeBundle(
themes={
"semantic-ui": dict(
entry={
"invenio-theme-tugraz-theme": "./less/invenio_theme_tugraz/theme.less",
"invenio-theme-tugraz-js": "./js/invenio_theme_tugraz/theme.js",
"invenio-theme-tugraz-unlock": "./js/invenio_theme_tugraz/unlock.js",
"invenio-theme-iform-theme": "./less/invenio_theme_iform/theme.less",
"invenio-theme-iform-js": "./js/invenio_theme_iform/theme.js",
"invenio-theme-iform-unlock": "./js/invenio_theme_iform/unlock.js",
},
dependencies={
"jquery": "^3.2.1", # zammad-form, semantic-ui's modals

View File

@@ -1,153 +0,0 @@
/*
* Copyright (C) 2020 TUGRAZ.
* Copyright (C) 2020 Nikita Lvov.
*
* 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.
*/
.cover-page {
//text-align: center;
background-color: #ffffff;
}
#login-tug-logo {
& g {
fill: @tugrazRed;
}
}
#login-tug-logo:hover {
& g {
fill: @tugrazBlack;
}
}
.accounts-link {
margin: 5%;
color: @primaryLink;
border: 1px solid @primaryLink;
background-color: transparent;
}
.accounts-link :hover {
font-size: smaller !important;
color: @primaryLink;
background-color: @primaryLinkHoverBackground !important;
}
.tu-button-style button {
cursor: pointer;
border: 1px solid @primaryButton;
background-color: transparent;
height: 29px;
color: @primaryButton;
font-family: "Source Sans Pro";
font-weight: 300;
font-size: 16px;
}
.tu-button-style button:hover {
cursor: pointer;
color: @primaryButton;
background-color: @primaryButtonHoverBackground !important;
}
.form-accounts {
margin: 15%;
text-align: left !important;
& i {
color: @primaryFormAccounts !important;
}
& label {
display: flex !important;
font-weight: 300 !important;
color: @primaryFormAccounts !important;
}
& input {
border: 0px none !important;
padding: 0px !important;
border-bottom: 1px solid @primaryFormAccounts !important;
background-color: transparent !important;
color: @primaryFormAccounts !important;
border-radius: 0 !important;
width: 100% !important;
}
& input::placeholder {
opacity: 1 !important;
color: @formAccountsInputPlaceholder !important;
}
& th {
display: block;
}
& td {
display: inline-block;
}
}
.field > input::selection {
background: @fieldInputSelectionBackground;
}
.accounts-header {
font-weight: 300 !important;
}
/***
login and sign-up pages form background color
*/
.sign-form {
background-color: @signInBackground !important;
padding: 0 !important;
height: 100%;
}
.tug-button-login {
display: flex;
align-items: center;
fill: @tugrazRed;
}
.tug-button-login :hover {
fill: @primaryButtonHoverBackground;
}
.login-page-button {
margin: 5%;
text-align: center !important;
& a {
padding: 5px;
text-decoration: underline !important;
cursor: pointer;
}
& a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink !important;
text-decoration: none;
}
}
.login-page-button-white {
color: @primaryButton !important;
font-family: "Source Sans Pro";
font-size: initial;
}
.login-page-button-black {
color: @primaryButtonInverted !important;
font-family: "Source Sans Pro";
font-size: initial;
}
/***
allowing to switch columns on the sign-up page on the small screen
*/
.switch-grid {
display: flex;
}
@media (max-width: 767px) {
#switch_left {
order: 2;
}
#switch_right {
order: 1;
}
}

View File

@@ -1,15 +0,0 @@
/*
* Copyright (C) 2021 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.
*/
// deposit form segment styling
.ui.inverted.brand.segment {
background-color: @greyLight !important;
color: @tugrazBlack !important;
label {
color: @tugrazBlack;
}
}

View File

@@ -1,53 +0,0 @@
/*
* 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.
*/
#footer {
color: @footerGrey;
min-height: 100%;
width: 100%;
&.footer-bottom {
background-color: @footerBottomBackground;
padding-top: 15px;
padding-bottom: 15px;
font-size: 16px;
a {
text-decoration: none;
color: @footerGrey;
// :focus-visible activates on keyboard only
&:hover, &:focus:focus-visible {
color: @primaryLink;
background-color: @primaryLinkHoverBackground;
i.icon.download {
color: @tugrazRed;
}
}
// remove blue focus outline if clicked with mouse
&:focus:not(:focus-visible) {
outline-style: none;
}
}
}
div .logos a:hover {
background-color: transparent !important;
}
}
.bodytext{
font-size: 16px;
}
.spacer{
margin-top: 10px;
}
.spacer-long{
margin-top: 30px;
}

View File

@@ -1,90 +0,0 @@
/*
* Copyright (C) 2020-2021 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.
*/
h4 {
display: block;
margin-block-start: 0.33em;
margin-block-end: 0.33em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
h2 {
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
.ui.blue.labels .label,
.ui.blue.label {
color: @greyDark !important;
background-color: @recordVersionBackground !important;
border-color: @recordVersionBackground !important;
}
.random-records-frontpage article {
border-bottom: 1px solid @randomRecordsFrontpageArticle;
margin-bottom: 1rem;
padding-bottom: 1rem;
}
.random-records-frontpage .more {
margin-top: 20px !important;
margin-bottom: 35px !important;
}
.random-records-frontpage h2 {
text-align: center;
}
.badges {
float: right;
}
/*Zammad form**/
.zammad-form{
h2{
text-align: center;
}
.form-group{
label{
color: @tugrazBlack;
}
input.form-control{
height: 30px;
// width: auto;
border-radius: 0;
font-family: "Source Sans Pro";
background: @primaryLinkBackgroundInverted;
border: 1px solid rgba(34, 36, 38, 0.15);
}
textarea{
border: 1px solid rgba(34, 36, 38, 0.15);
}
}
.btn{
width: 100% !important;
cursor: pointer;
font-family: "Source Sans Pro";
min-height: 1em;
line-height: 1em;
padding: 0.78571429em 1.5em 0.78571429em;
background: @greyLight none;
border: 0;
}
.btn:hover{
background: @primaryLinkHoverBackground;
color: @primaryButton;
font-size: 1rem;
font-weight: bold;
}
}:focus{
outline: thin;
outline-style: solid;
outline-color: @outlineColor;
}

View File

@@ -1,264 +0,0 @@
/*
* Copyright (C) 2020-2021 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.
*/
#int-menu-q-home-icon {
width: 18px;
height: 18px;
vertical-align: top;
fill: @tugrazRed;
}
/*****logo section******/
.affiliation-logo {
vertical-align: middle;
white-space: nowrap;
& a {
fill: @tugrazRed;
}
}
.affiliation-logo :hover {
text-decoration: none;
fill: @primaryLinkHoverBackground;
color: @primaryLinkHoverBackground;
}
.affiliation {
background-color: @primaryLink;
display: table;
margin: 0 auto 80px;
max-width: 1060px;
width: 100%;
text-decoration: none;
}
.affiliation-text {
display: table-cell;
font-size: 12px;
line-height: 17px;
letter-spacing: 2px;
white-space: nowrap;
}
.affiliation-logo-claim {
display: inline-block;
font-size: 12px;
letter-spacing: 2px;
line-height: 17px;
padding: 0 17px 0 0;
text-align: right;
vertical-align: top;
}
/*****END logo section******/
.short-menu {
display: table;
height: 49px;
width: 100%;
}
.short-menu-left {
border-right: 1px solid black;
display: table-cell;
text-align: right;
width: 50%;
}
.short-menu-right {
display: table-cell;
width: 50%;
color: @primaryLinkInverted;
}
.short-menu-right :hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
}
.short-menu-right-button {
cursor: pointer;
display: inline-block;
margin: 12px 0 6px 9px;
padding: 5px;
}
.short-menu-right-button a:hover {
text-decoration: none;
}
.short-menu-left-lang {
display: inline-block;
margin-right: 10px;
font-size: 17px !important;
font-weight: 300;
& a {
padding: 5px;
background-color: transparent;
color: @primaryLinkInverted;
text-decoration: none;
}
}
.short-menu-left-lang:hover {
& a {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
text-decoration: none;
}
}
.search-icon-header {
display: inline-block;
& a {
background-color: transparent;
padding: 5px;
text-decoration: none;
& svg {
& g {
stroke-linejoin: round;
stroke: @primaryLinkInverted;
stroke-miterlimit: 10;
stroke-width: 2;
fill: none;
}
}
}
}
.search-icon-header:hover {
& a {
background-color: @primaryLinkHoverBackground;
text-decoration: none;
& svg {
& g {
stroke: @primaryLink;
}
}
}
}
.short-menu-left-search {
display: inline-block;
margin: 12px 9px 6px 0;
color: @primaryLinkInverted;
}
.short-menu-right-main-menu {
display: inline-block;
margin-right: 3px;
vertical-align: top;
width: 21px;
}
.short-menu-icon {
vertical-align: top;
width: 20px;
height: 19px;
}
svg:not(:root) {
overflow: hidden;
}
/***********MAIN menu*************/
.main-menu-entry {
text-align: center !important;
& a {
font-size: 1.2rem;
padding: 5px 8px;
}
}
.main-menu-entry a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
text-decoration: none;
}
.main-menu-entry-svg {
padding-left: 0 !important;
}
.main-menu-underline-line {
border: 2px solid @greyLight !important;
border-radius: 0;
background-color: @greyLight;
}
#margin-divider{
margin-left: 155px; margin-right: 155px;
}
.affiliation-text a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink;
text-decoration: none;
}
.main-menu {
border-bottom: 1px solid @primaryLinkInverted;
box-sizing: border-box;
height: 39px;
margin-top: -1px;
overflow: hidden;
transition: height 0.3s linear 0s;
}
.int-menu-q-open-icon {
width: 14px;
vertical-align: middle;
margin-left: 5px;
}
/*********************Custom overrides**********************/
/** Login with SAML**/
.col a {
cursor: pointer;
}
@media screen and (max-width: 767.9px) {
#int-header-logo-img {
width: 200px;
height: 75px;
}
#main-logo {
padding: 30px 0;
text-align: center;
display: block;
}
#repo-logo{
display: none;
}
.affiliation-logo-claim {
display: none;
}
}
.repo-img{
margin-right: 5px;
}
.inline-elements{
display: flex;
}
span.home-inline{
white-space: nowrap;
}
.test-instance{
text-align: center;
background-color: @notificationBackground;
border: solid @notificationBorder 1px;
z-index: 100000;
}
#skip-to-main {
background-color: @primaryButton;
&:focus {
background-color: @primaryButtonInverted;
}
}

View File

@@ -1,31 +0,0 @@
.ui.inverted.header{
color: @primaryLinkInverted;
}
.login-page-button {
margin: 5%;
text-align: center !important;
& a {
padding: 5px;
cursor: pointer;
}
& a:hover {
background-color: @primaryLinkHoverBackground;
color: @primaryLink !important;
text-decoration: none;
}
}
.text-color{
color: @primaryLinkInverted;
}
@media (max-width: 767px) {
#switch_left {
order: 2;
}
#switch_right {
order: 1;
}
}

View File

@@ -1,17 +0,0 @@
/*
* Copyright (C) 2020 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.
*/
.top-bottom-padded {
margin: unset;
}
.label.label-keyword {
font-size: 0.71428571rem;
font-weight: 400;
background-color: @labelKeywordBackground;
border: unset;
}

Some files were not shown because too many files have changed in this diff Show More