Commit Graph

8 Commits

Author SHA1 Message Date
9dee77b057 removed clever code around publiseher/author, etc. it was just too cryptic, and it does not need to be so generic 2020-11-21 14:32:38 +11:00
0b712ef7f3 cleanup, and dont need to calculate 12/cols, just use col 2020-11-21 12:52:30 +11:00
bcf5937869 add helper function GetGenreList - passes all genres to *.html, so horizontal "list" of checkboxes for book can be created 2020-11-21 12:26:38 +11:00
4ca2183253 added quick debug for loan data in books if there 2020-11-18 19:57:04 +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
e39a4da6a2 removed all refs to genre_lst, made genre table confirm to id, name, added classes/routes for genre*, tweaked book format to accommodate multiple authors, etc. still 1-line, but with 12 / num of <authors, etc.> col wide form-controls 2020-11-15 14:16:58 +11:00
7334e4b622 bit of pox code, to go through sub fields like author/publisher, and build readonly links to their edit pages, works. Need to add to books.html - which also only prints the first item - like author anyway 2020-11-15 13:29:49 +11:00
79a41b4f0e split out old books into book and books.html, all *.html now using extends and {% block %} in jinja2. So navbar is now present in all URLs 2020-11-14 12:09:35 +11:00