Commit Graph

16 Commits

Author SHA1 Message Date
8e5c88fd32 Add copyright header to source files 2021-07-04 10:57:53 +02:00
7ec0668f03 Use a single place to create values for bool custom fields 2021-06-10 01:30:53 +02:00
7c43fa0874 Reorganize messages to reflect page structure 2021-04-10 00:30:42 +02:00
fa2c5750dd Externalize strings in other of components 2021-04-09 23:10:00 +02:00
b95338e744 Remove old ui code in frontend 2021-03-09 20:40:49 +01: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
3c12e3678f Allow to search for * in custom date fields
This requires to pass the raw input through to the caller.

Closes: #550
2021-01-09 01:16:59 +01:00
29a5419072 Allow to search with wildcard in a number custom field 2020-11-23 13:44:49 +01:00
473985c80e Filter empty custom field values in webui 2020-11-23 10:47:45 +01:00
44459aecd0 Fix initialising date fields 2020-11-23 09:43:12 +01:00
cdcc8210fe Throttle customfield update requests 2020-11-23 09:27:05 +01:00
bcdb2fc0fe Show custom field values in item detail header 2020-11-22 23:14:51 +01:00
c5ab663091 Allow a comma and a point for money values 2020-11-22 21:41:09 +01:00
bb19e02c66 Ui improvements
- don't show custom fields in edit menu if there are none. This
reduces load of ui elements. The first custom field must be created in
manage-data page.

- Add more validation to the money type
2020-11-22 21:41:09 +01:00
76647d132f Show custom field values in detail view 2020-11-22 21:41:09 +01:00
4059ef31c1 Allow providing values for custom fields in item detail 2020-11-22 21:41:09 +01:00