|
|
ed07d1f9cb
|
decided to use thing/-1 to create a new thing. Tried it on owned first, works so now also can delete owned/<id> as well. Also made sure not to show the delete button when we are only creating a thing
|
2020-12-04 18:01:54 +11:00 |
|
|
|
e7c8e645ae
|
first pass for series data, can save, and shows associated books... Does not deal with series inside series
|
2020-11-23 18:50:53 +11:00 |
|
|
|
6a8d2731ac
|
added in new script_content block for scripts to run after main_content, used by load to retrieve books that are associated with the loan. Also added *Loan menu items to navbar
|
2020-11-18 19:58:00 +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 |
|
|
|
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 |
|
|
|
757729f159
|
tweaked pagination size to 20 now that navbar takes up so much space, also made pagination choices match
|
2020-11-16 00:05:00 +11:00 |
|
|
|
1de0ed27d9
|
fixed up genres.html, publisers.html to work, tweaked menu structure -- still more placeholders than working for now, but started on an Admin menu to allow dealing with genres, covertypes, conditions, etc.
|
2020-11-15 14:26:52 +11:00 |
|
|
|
29f8189c97
|
fixed bug with route to / now needing to be to base.html, not main.html, then just added publisher (list all/edit 1/deleted button)
|
2020-11-14 15:33:43 +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 |
|
|
|
b885bf30e4
|
now using jinja2 block / template, rather than jscript to fill content
|
2020-11-14 11:20:52 +11:00 |
|