Commit Graph

22 Commits

Author SHA1 Message Date
Christoph Ladurner
95f566d48d all python files are now formated with black (#106)
* all python files are now formated with black

NOTE:
some configurations where necessary. flake8 line-length has to be set to 88
which is the default for black. but this was not enough some lines of black
where formated longer then 88 characters. found flake8-bugbear with B950.

with that and in combination with ignore=E501 it is possible to ignore long
lines, but if there are lines to long it will still point it out.

further also for isort some configuration was necessary

REFERENCES:
https://github.com/psf/black/blob/master/docs/compatible_configs.md#isort
https://github.com/psf/black/blob/master/docs/compatible_configs.md#flake8
https://github.com/PyCQA/flake8-bugbear#opinionated-warnings

* removed commented import statments

Co-authored-by: Christoph Ladurner <christoph.ladurner@tugraz.at>
2020-10-14 14:10:05 +02:00
Mojib Wali
c5edf62a9d translations: marked for translation
* Marked the strings & Url hyperlinks for translation.
* compiled and updated the translation files with the help of Babel commands.
* Added some test translations to check if it works.
2020-10-06 14:40:38 +02:00
Christoph Ladurner
4c3a4f8eb3 layout updates (#83)
* changed menu bottom line from red to grey
* added more space around the more button

Following changes are about the article view on the front page
  - added color grey around the version badge
  - moved version badges to the right side
  - removed view button
  - moved open access badge to right bottom
  - changed open access badge to text only without background-color
  - added bottom border to the last article

The following changes are about the record landing page.
NOTE: the modified record landing page is for now disabled
  - added color grey around the version badge
  - moved DOI to the left side
  - moved open access to the same level as the DOI
  - changed open access badge to text only without background-color
  - unset box-shadow from the .rdm-sidebar
2020-09-30 13:39:25 +02:00
mb-wali
f65dbf9342 base template for login and signup
# Login & Signup templates
invenio rdm default template for login and signup is using account_base template.
in order to create our own these steps are taken:

* Created base template for ```invenio-theme-tugraz```.
* Created account base template which has only extended ```navbar``` from the header template.
* Assigned the account_base template to the login and signup templates.
* updated ```config.py``` with new variables for base template and account_base template.
2020-09-04 11:58:22 +02:00
Nikita Lvov
0239d1d8e7 First draft login/signup templates.
* Sign up and sign in templates.

* Update invenio_theme_tugraz/config.py

* Created a base template for accounts ```accounts_base.html```
2020-08-19 11:56:16 +02:00
mb
96b53493e7 header page modification
changed the name to Repository. This closes #61.
2020-07-24 11:56:29 +02:00
mb
00145cc0ee enhancement
reduced recent_uploads to 5 records, added searchbar to frontpage. This closes #47
2020-07-21 14:28:29 +02:00
mb
de06337ae2 frontpage data
first draft designing the frontpage with recent uploads and segment for contact us.
2020-07-17 15:12:30 +02:00
Mojib
47fd19c571 frontpage draft
views.py is rendering index.html which is / endpoint, which is the frontpage. config.py is disabling the default frontpage from invenio-app-rdm.
2020-07-13 13:16:00 +02:00
Mojib
47a4121fc3 arranged config.py variables
clear comments and module names added, also fixed the type this closes #15
2020-07-13 11:27:51 +02:00
mb
4cfeb71763 overriding register_user template
added the variable and html for sigup page.
2020-07-08 11:50:25 +02:00
mb
774c068177 string mark for translation 2020-06-25 15:03:53 +02:00
mb
9b412df440 modified config.py:
added the missing variable see issue #14 and updated variables comment.
2020-06-14 16:19:32 +02:00
mb
7d0255b15f migrate to semantic_ui:
This commit holds alot of changes in the UI, migration of bootstrap to semantic-ui, override of header.html and setting them for /search & /deposite endpoints. PS. The migration is not finished.
2020-06-10 15:33:11 +02:00
mb
657a12185a last touch 2020-05-13 11:17:55 +02:00
mb-wali
7edcb813af Update config.py 2020-05-12 16:02:46 +02:00
mb
2fc05a8294 issue #9 fix 2020-05-06 14:09:24 +02:00
mb
38ca189ddf copyrights, footer.html, i18n 2020-05-04 16:59:14 +02:00
mb
f733b87a95 copyrights, footer.html, i18n 2020-05-04 16:55:03 +02:00
mb-wali
15ff93aa22 Dev (#3)
* isort

* manifest updated

* manifest updated

* tests

* tests modify
2020-05-01 19:35:42 +02:00
mb
a700a800e5 tugraz theme 2020-05-01 18:31:02 +02:00
mb
7099b80486 init 2020-05-01 17:42:37 +02:00