Commit Graph

7 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
Christoph Ladurner
62c52b1c68 separate html and javascript code
the function hide was in the header.html file enclosed by script tags. it has
been moved to the theme.js file.

to make it run it was necessary to add a entry point to the WebpackThemeBundle
instance in webpack.py (render the js file) and include the resulting js file
manually in footer.html (to be loaded in the browser).
2020-06-15 21:40:36 +02:00
mb
ed03878fe0 travis check:
invenio-assets module to install requires, removed commented lines.
2020-06-10 17:35:42 +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-wali
15ff93aa22 Dev (#3)
* isort

* manifest updated

* manifest updated

* tests

* tests modify
2020-05-01 19:35:42 +02:00
mb
161478117c changes 2020-05-01 18:48:43 +02:00
mb
a700a800e5 tugraz theme 2020-05-01 18:31:02 +02:00