Commit Graph

120 Commits

Author SHA1 Message Date
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
880953acf6 integrated DataTables library to implement sort and search on tables 2025-04-25 12:21:29 +02:00
8d89dad8e4 some more notes 2025-04-24 19:06:30 +02:00
58d7fe01df implemented CRUD operations for table "Werk" (excluding cover picture) 2025-04-24 19:06:16 +02:00
2e91576a08 switched to non-classless CSS 2025-04-24 19:05:05 +02:00
908d123485 added page name 2025-04-24 19:04:29 +02:00
24488bb86d started work on view "read" (detailed view of single Werk) 2025-04-23 11:05:44 +02:00
6f3c0c9975 added missing aria-labels 2025-04-23 11:04:48 +02:00
f083b1bc81 endpoint "all" now shows an overview of all table rows while "read" shows a single row in detail; harmonized parameter spelling 2025-04-23 10:12:04 +02:00
93e07a57f9 small change 2025-04-23 09:37:14 +02:00
03cd3f4767 added first view for table "Werk" 2025-04-23 09:36:59 +02:00
df9d59d7ae changed all table names to singular form; all DB transactions now use true ORM patterns 2025-04-22 20:43:44 +02:00
2a3f4ff89a moved javascript code into separate file 2025-04-22 20:41:36 +02:00
a542c26d66 fixed a bug 2025-04-22 20:40:53 +02:00
cb9cb3df41 split up views.py and moved resulting .py-files into submodule "views" 2025-04-22 16:53:54 +02:00
f0cc447350 cleaned up some debug code 2025-04-22 11:52:17 +02:00
759012d218 implemented all CRUD operations for Texte 2025-04-22 11:49:30 +02:00