Commit Graph

119 Commits

Author SHA1 Message Date
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
e625b19451 TODO-2 completed, can remove a subbook from parent 2021-01-02 19:13:28 +11:00
4c442e1fea fixed BUG-11, parent was both an array (in Book) and not an array in QuickBook, so made them arrays to keep with ORM-way 2021-01-02 18:53:52 +11:00
f1f654ec15 removed debug 2020-12-31 13:13:22 +11:00
d1ffbdf12e solved BUG-11 (adding to wrong parent book) 2020-12-31 13:11:50 +11:00
5a92f967be fixed button ordering, which also fixed bug with page_title for book.html not being used 2020-12-31 12:03:29 +11:00
08f1550068 reordered buttons so Update is before Delete 2020-12-31 11:53:13 +11:00
20c8bec8f5 fix bug where indenting spaces were part of the sub-books link text 2020-12-30 16:47:37 +11:00
4ab601aac5 get rid of the alignments, I think its better all left-aligned today 2020-12-30 16:47:06 +11:00
de860a1319 moved display message to base.html, should have done this from the beginning (doh), and then fixed deletion errors/redirections to be moe sensible 2020-12-26 22:19:05 +11:00
61629760cd adding a sub-book now works 2020-12-26 19:11:43 +11:00
6a72c6d9dd okay, I have series add/remove working with crazy bootstrap input-groups and jscript/jquery adding/modifying/removing divs on the fly. It works but its way complex.... Sadly, author is not properly in the input-group and should be fixed, and may well then need more crazy on-the-fly updating of divs/buttons, etc. to move plus/minus buttons into/out of the input-group appropriately 2020-12-24 17:11:28 +11:00
73001dd24c first pass at creating a book, it works, but I have messed up the series-div* html in book.html 2020-12-23 12:53:27 +11:00
7bd81d3119 loan now has working create/update/delete, still no add/rem books though 2020-12-21 22:06:35 +11:00
c4d7fdaa04 create new loan now links to url 2020-12-21 22:05:37 +11:00
24210d365c added stats page 2020-12-14 23:21:19 +11:00
c102b93872 add/remove series from a book now works, havent thought about removing a parent book fro a series, but otherwise you can add more than one series, remove as well, and it works in the DB 2020-12-13 22:21:38 +11:00
e3d21a9438 series now has create/update/delete working, and put back series.html rather than edit-id.html (what was I thinking, serious case of the dumbs) 2020-12-09 22:02:03 +11:00
583bebccec okay adding/removing authors is functional, ordering of it is NQR, also moved to bookstrap margin/padding classes where it worked 2020-12-06 15:51:38 +11:00
15ac1fbed0 made subbook show it is one more visually, also disabled fields that are part of the parent book so they cannot be changed 2020-12-05 21:23:54 +11:00
e68286c453 update placeholder text 2020-12-05 20:44:23 +11:00
2930b1b77b added search (only of title in book for now) 2020-12-05 20:15:31 +11:00
39e3838336 can now create/update/delete authors (base.html, using edit*.html, and authors.html) 2020-12-05 19:27:13 +11:00
f3c70d267c remove unneeded alert, its done in show*.html now 2020-12-05 19:25:17 +11:00