Commit Graph

207 Commits

Author SHA1 Message Date
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
3031a87d5d added icons as includable template file 2025-04-22 11:48:32 +02:00
6fb721ef65 fixed a bug 2025-04-20 22:53:27 +02:00
1dc0ea98e2 switched from sqlite3 to flask_sqlalchemy 2025-04-20 22:53:08 +02:00
9ebbbeab09 small changes 2025-04-18 20:56:03 +02:00
0aa6e711fd created file 2025-04-18 20:55:24 +02:00
5e4ec43683 small changes; switched to fluid Pico CSS 2025-04-18 20:55:12 +02:00
1c11876cc8 display success or error messages 2025-04-18 20:54:17 +02:00
d23e90f1b9 new texts can now be added to the DB 2025-04-18 20:51:53 +02:00
83fe0e949a added modal dialog with prepopulated selects 2025-04-18 19:42:36 +02:00
b75f96e4b0 small change 2025-04-18 19:41:13 +02:00
011528e52c updated files 2025-04-18 16:02:32 +02:00
bcc683e0c3 DB schema 2025-04-18 16:02:14 +02:00
33305ef823 added support for environment variables and database use 2025-04-18 16:02:04 +02:00