Commit Graph

142 Commits

Author SHA1 Message Date
5a81afd3d2 fixed BUG-39 (loan card in wrong spot, now fixed) 2023-07-05 21:12:48 +10:00
50412e23a3 bug 37 (allow deleting from on wish list) fixed 2023-07-05 20:12:00 +10:00
8957771ae1 fixed bug-40, when adding author/<id>/books route, to edit_id.html, I assumed object existed, when creating it did not, now fixed 2023-07-05 19:45:42 +10:00
26349c98d4 added edit author button/link, and fixed broken hover since I changed to bals from author. Also removed the old author code, finally made it so when you hover over remove button we now also highlight the edit button for the author to be red as well. Hovering over edit link higlights the relevant author blue to let you know which one you will go to 2023-07-04 23:54:32 +10:00
1e7a47f43e allow Edit Author to show list of books for author 2023-07-04 23:00:39 +10:00
caf65be74c allow author to be a link 2023-07-04 23:00:08 +10:00
b2d6f38a62 just make container mode visually different in navbar 2023-07-02 12:55:30 +10:00
cc37077504 fix use of ENV -> FLASK_ENV to have correct prod/dev markers in navbar 2023-07-01 16:05:06 +10:00
d4d37b96e3 fix dataTables ordering when I dont expect it to for books on shelf view 2023-07-01 15:11:00 +10:00
6cef2e0d9c converted over to bal from author, and fixed up the way sub books / series interact 2023-07-01 14:29:15 +10:00
ae2453d073 fixed BUGS 28/29 -> can now have empty year_published, fixed up limits to 1850-2100 now too and better error messages. Also auto-change when choose wishlist 2023-06-13 18:53:03 +10:00
0ed2b79485 improve UX for add/remove subbooks - updates content to original page behind modal, when we add/remove and fix the broken close button on modal 2023-06-11 22:05:49 +10:00
65c701c6a0 allow <Enter> to trigger search in loan 2023-06-11 21:46:28 +10:00
32e0edc46c add/remove series div/input-group fixup to work with bootstrap5 2022-07-06 22:29:32 +10:00
c31ae71dee fixed add/rem author funtionality for bs5 and converted to svg icons away from fontawesome 2022-07-04 22:25:35 +10:00
419eda9c33 remove unneeded extra call to dataTables.*.js 2022-07-03 21:30:40 +10:00
045be5eebe use full width, fix wrapping in sub book notes and title fields and fix-up button sizes on book edit 2022-07-03 21:25:33 +10:00
1c01e2007e remove inline display (unneeded and broke table bg colours) 2022-07-03 21:01:30 +10:00
b0d98e9725 input-groups for bs5 2022-07-03 20:49:13 +10:00
ef028037f9 add a fluid container to give some margins on the left/right 2022-07-03 20:44:23 +10:00
8834893df3 upgraded to base U22.04 image, realised that by putting bootstrap5 stuff in for login its borked the format of many files, so partially converted to use new bootstrap, still work to go 2022-07-02 12:52:34 +10:00
3c8dc980b1 quick hack to allow logout menu to be right-aligned, to be fixed with a full move to bootstrap5 2022-06-19 23:02:40 +10:00
ae84fc080a fixed up non-right aligned navbar 2022-06-19 22:47:45 +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
4725f006bc fixed Dockerfile - I only needed to expose 443, not sure what I was thinking mashing this web code with DB, anyway... also switched to using env var rather than hostname to pick up DEV/PROD, and now show that in base.html. Updated Dockerfile and requirements to prep for putting ldap/auth in, will need to copy some stuff from PA later. finally removed console debugs in book.html 2022-06-19 16:15:51 +10:00
6f5b65788d Fixed BUG-02 (recalc rating on book change), also added route to reset all ratings in Admin menu 2021-01-10 11:10:49 +11:00
69607db413 completed TODO-09: list of books to buy - no printable, I can just get live data on phone anyway 2021-01-09 22:39:00 +11:00
0432f46b20 altered book delete status to success, completed TODO-05 (books must be sold to be deleted - with tooltip to explain), and added new BUG-17 - changing some fields of parent book need to be reflected into sub book 2021-01-09 22:00:08 +11:00
bccfbadb39 fixed books on shelf BUG-16 - author missing, its now using ORM with a HACK to remove subs not via ORM, and I also fixed datatable sorting by author for books on shelf via a param past into base.html 2021-01-09 16:54:37 +11:00
40e2ac1a34 TODO-28 - completed and used to reduce unwanted cols for on wish list, and add rating for poor rating books 2021-01-09 15:32:55 +11:00
3c4cdeb4fb fixed BUG-15: book nums missing for parent books in series 2021-01-09 15:10:45 +11:00
cd7a77ff6b completed TODOs 13, 14, 15, 16 - views of subsets of books. Added 2 new TODOs to enhance their output / make the views better 2021-01-09 01:13:26 +11:00
a6211928df completed TODO-12: missing books 2021-01-09 00:45:10 +11:00
94ddee7791 completed TODO-11 (unrated books) 2021-01-08 22:43:48 +11:00
d153c40c17 completed -- TODO-08: show books on shelf list, and clarified install instructions for README 2021-01-08 22:29:27 +11:00
890b2cdc4e fixed BUG-14 (add/sel buttons not being disabled again when no selections) 2021-01-08 21:35:38 +11:00
2c1521e0b0 fixed new BUG where adding a sub-book to a parent with a series could not work out book_num 2021-01-07 19:10:22 +11:00
860a85e3ae can now remove just 1 sub book - TODO-25 -- DONE 2021-01-07 18:58:07 +11:00
9617186279 TODO 3 and 4 finished. removing parent or sub books from series handled 2021-01-06 23:26:10 +11:00
024a2a12a1 remove footer on modal dialog, I think its dumb 2021-01-06 23:25:04 +11:00
d43dabff9b fix (new) BUG where removing a parent book from a series caused error with bsl-book-num missing. Also flagged 2 spots for dealing with removing parent/child books from a series better, and stopped any attempt to for now 2021-01-06 20:39:51 +11:00
47119cf7f8 made DBox empty, and set content for loan specific data in books_for_loan, so DBox can be reused elsewhere, AND, so all content in the DBox for Loan is set in the one html file, not split over to base.html 2021-01-06 20:37:20 +11:00
336ae4b67f TODO-6 (add books to loan) is now complete, so loans are now fully functional... the whole pybook is now at least functional, more features/validation to come :) 2021-01-04 22:28:35 +11:00
6ff3d13713 TODO-7 removing book(s) from loan works, and UI is better now 2021-01-04 22:07:06 +11:00
17c0c2a024 first commit for removing books from a loan itself, works and the scaffold is there for adding new books, code to be written 2021-01-04 16:23:09 +11:00
cc13ecfc87 fixed BUG-8, no genres for a sub book addition loses parent details 2021-01-03 12:08:19 +11:00
ff45513c7d fix up new regression on add subbook button after fixing loans div bug 2021-01-03 11:59:36 +11:00
98372ea62c fixed BUG-4 (books only showing 1 author) 2021-01-03 11:55:16 +11:00
195daf98e0 fixed BUG-1 (loan div in wrong spot) 2021-01-03 11:51:22 +11:00
4e4ff7f6c7 fixed bugs 9 & 10, just missing quotes in html for hidden value 2021-01-03 11:43:52 +11:00