Commit Graph

13 Commits

Author SHA1 Message Date
021bf91e16 remove .format() and get all updates to have crrect content 2022-07-03 20:38:33 +10:00
c29f73f8ab make all this have a login page, use ldap, put a logo on, moved some upstream stuff to static/ -- need to do more here to be consistent with bootstrap 5, but for another day 2022-06-19 22:45:54 +10:00
150b808bb5 completed: TODO-26 --> gunicorn now works 2021-01-09 23:42:51 +11:00
911d37ed25 remove old import of func, not used 2020-12-31 11:51:59 +11:00
af6c76d136 improved DB error handling 2020-12-30 23:12:36 +11:00
a45528e5ae remove unneeded query of all objects 2020-12-05 19:23:46 +11:00
c367a2559f create/update/delete of condition, covertype, genre, owned, rating objects all works, and can be accessed from Admin menu 2020-12-05 11:45:47 +11:00
2a9b9c9cf6 remove unused GetCovertypes() 2020-12-03 19:00:22 +11:00
9466e61db9 moved to using a Get*ById() in condition, covertype, owned files and exposing them in jinja and using them in books.html to fix-up the fact those columns were now raw forein keys (ids) 2020-11-22 00:23:18 +11:00
296ef4c1f7 renamed id_name_form to edit_id_name, then made show_id_name and used it for all appropriate classes. Shaved about 150 LOC / removed 5 x duplication of code :) 2020-11-18 12:30:23 +11:00
3f33e7f10d cleaned up Form->FlaskForm, for both import line and class *Form(FlaskForm) 2020-11-18 12:12:36 +11:00
5f46636298 created generic id_name_form.html and made condition, covertype, genre, owned, publisher & rating use it for single edit page 2020-11-18 12:09:02 +11:00
Damien De Paoli
9544790ffa removed all old *_lst tables, added corresponding new classes, etc. fro covertype, owned, rating, and dropped tables from DB, etc. Updated base.html to use new tables as drop-downs that are set correctly. So far slight hack on BookForm, will finish that after syncing this all back to mara. If I do the sync, and export/import this version of DB, then the fixes.sql and fix_db() code included in main.py can be removed. Finally, lamely added a favicon and a static/ to support it 2020-11-17 21:22:15 +11:00