Commit Graph

7 Commits

Author SHA1 Message Date
f5e375614f Fix tailwind setup
- Adopted postcss and tailwind config to new version
- renamed colors bluegray->slate etc to not have custom
  definitions (hope to reduce migration next time)
- tailwind now doesn't build the complete css anymore, so the
  `dev-ui-build` script must compile both
2021-12-20 23:40:32 +01:00
9785db0683 Change license header of all files 2021-09-21 22:35:38 +02:00
21eb7dad94 Change headers of all elm files 2021-07-25 14:00:11 +02:00
8e5c88fd32 Add copyright header to source files 2021-07-04 10:57:53 +02:00
7c43fa0874 Reorganize messages to reflect page structure 2021-04-10 00:30:42 +02:00
2f678aca17 Externalize strings in detail page 2021-04-09 22:40:03 +02:00
dd935454c9 First version of new ui based on tailwind
This drops fomantic-ui as css toolkit and introduces tailwindcss. With
tailwind there are no predefined components, but it's very easy to
create those. So customizing the look&feel is much simpler, most of
the time no additional css is needed.

This requires a complete rewrite of the markup + styles. Luckily all
logic can be kept as is. The now old ui is not removed, it is still
available by using a request header `Docspell-Ui` with a value of `1`
for the old ui and `2` for the new ui.

Another addition is "dev mode", where docspell serves assets with a
no-cache header, to disable browser caching. This makes developing a
lot easier.
2021-02-14 01:46:13 +01:00