61c8a72e4f
showDialog() now supports mutiple form fields in modal; removed some debug code
2025-05-08 22:47:37 +02:00
201ca67409
removed unused route
2025-05-08 22:16:53 +02:00
e72042f3ac
added DataTables
2025-05-08 22:09:27 +02:00
a9d6acd0de
updated Javascript
2025-05-08 22:08:25 +02:00
87e2efd296
removed unused route
2025-05-08 22:07:27 +02:00
395fdef600
moved parts of code here that were being reused in templates
2025-05-08 22:07:06 +02:00
aa7491b7bb
minor change
2025-05-08 22:05:26 +02:00
ac0c00c33d
improved import of stylesheets and javascript in templates to eliminate unnecessary requests
2025-05-08 22:04:18 +02:00
d7d66a14c4
Herausgeber can now be added, edited, and removed from Werk entries
2025-05-08 10:24:11 +02:00
260b444966
removed variable for split character(s) between genres
2025-05-08 10:23:31 +02:00
296ce35769
changed nav order
2025-05-08 10:22:03 +02:00
9610915b19
Genres can now be added, changed, and removed to/from Werk entries
2025-05-08 09:47:20 +02:00
0fe1c54d9d
cleaned up some code
2025-05-08 09:45:56 +02:00
ab014d8c66
minor changes
2025-05-08 09:45:27 +02:00
4a814bbfe4
changed form layout
2025-05-08 09:44:55 +02:00
c7fd91d11c
switched from modal to dedicated page for creating/editing Text entries
2025-05-08 08:24:12 +02:00
de6cffc0f1
removed some debug statements
2025-05-08 08:23:35 +02:00
043468da7e
small improvements
2025-05-08 08:22:39 +02:00
e199cfe2a9
updated information
2025-05-07 18:23:34 +02:00
afc5343b61
added processing and modifying genres associated with texts
2025-05-07 18:23:10 +02:00
4a842850d2
added new classes and relationships; Text now has an AssociationProxy for easier access to associated genres
2025-05-07 18:21:30 +02:00
78de6afa0a
added a newline to avoid problems in interpreter
2025-05-07 18:18:44 +02:00
7b9d99cc4e
switched to new style for required form fields
2025-05-07 18:18:03 +02:00
aabded298d
simplified JS code, removed unused HTML
2025-05-06 19:43:18 +02:00
ef7947ff41
improved display and storage of Werk.Erscheinungsdatum:
...
- values are displayed in three separate input fields that are being validated on submit
- values are stored in the DB as either NULL or a string in format YYYY, YYYY-MM or YYYY-MM-DD
- also renamed template
2025-05-06 12:22:35 +02:00
08f39e0d22
this script corrects wrongly formatted dates in the DB table "Werk"; needs only to be run once, and only if there are bad legacy dates in the DB
2025-05-06 12:19:12 +02:00
7324d9c230
disabled redirect interception for debug_toolbar
2025-05-06 12:16:58 +02:00
b7baad340a
moved creating/updating a Werk entry from modal to dedicated page
2025-05-05 19:20:50 +02:00
5064c1ff73
added style for required form fields
2025-05-05 19:17:12 +02:00
2fc5c1520c
added dropdown items in main nav (styling taken from t-r.de); added toggle for light/dark mode
2025-05-04 17:04:41 +02:00
d86043dc5b
added support for DB table "Herausgeber"
2025-05-02 18:18:12 +02:00
39643fbc3f
small change
2025-05-02 17:50:48 +02:00
6c07f6653a
added support for DB table "Reihe"
2025-05-02 17:46:54 +02:00
4f58b076b6
added support for DB tables "Genre" and "Pseudonym"
2025-05-02 17:22:12 +02:00
4bba6fdfd1
added support for DB tables "Textform" and "Werksform"
2025-05-02 11:56:02 +02:00
151d96e1db
generalized a rule to include any template
2025-05-02 11:55:32 +02:00
f3fcb8e26e
when modal opens, the first input field now gets focus
2025-05-02 11:54:58 +02:00
6c24af2be4
added code 303 where POST requests are redirected to endpoints that accept only GET (which, weirdly enough, never was a problem for werk and text)
2025-05-02 11:37:59 +02:00
b0e332f9d2
reordered classes to match nav
2025-05-02 11:35:58 +02:00
06b770e56a
added support for DB table "Sprache"
2025-05-01 12:34:17 +02:00
c47732d875
added support for DB table "Verlag"
2025-05-01 12:13:03 +02:00
cead812e38
removed magnifying glass symbol from search field; small changes to nav menu
2025-04-28 17:24:34 +02:00
ad6af25a48
aligned "Neu" button with datatables search field
2025-04-28 17:14:42 +02:00
75984984dd
minor code cleanup and improvements
2025-04-28 10:29:43 +02:00
1eac044e4b
applied latest improvements (fetch API, dedicated "read" endpoint, DataTables) from werk.py|html to corresponding text.*
2025-04-28 10:29:24 +02:00
5093bdd6cd
did some code cleanup
2025-04-28 10:24:15 +02:00
3c130482d1
changed database filename
2025-04-28 10:23:45 +02:00
6a3f8d6d03
reworked code to empty/populate the modal form fields; moved (mostly) away from onclick(); switched to fetch() API when populating fields for existing entry
2025-04-26 13:06:08 +02:00
5533e26d47
added jinja block for scripts
2025-04-26 12:58:49 +02:00
c142e3a4bf
fixed incorrect icon name
2025-04-26 12:58:27 +02:00