|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
b6ba97f049
|
most of way through editing publisher, author, genre on book... decided now is time to make book<->publisher a normal 1-to-m as it should be
|
2020-12-02 20:55:43 +11:00 |
|
|
|
93383c3bc0
|
remove edit buttons on author/publisher, in fact publisher is now a standard field with a BookForm SelectField, and showing, updating publisher works in book.html
|
2020-12-02 19:48:51 +11:00 |
|
|
|
43b307d063
|
make book form do a POST, have save/del buttons, and rewrote to remove parent_ref and just use parent from ORM
|
2020-12-01 20:25:37 +11:00 |
|
|
|
ce34f68254
|
added html for subbooks, made up/down buttons that work too. Also put back reference from subbook to parent book, via ORM data - need to investigate more, but it all works
|
2020-11-30 21:59:50 +11:00 |
|
|
|
ad1f83e046
|
made loan stick with primary rather than info for color consistency
|
2020-11-25 20:50:48 +11:00 |
|
Damien De Paoli
|
9d74376033
|
display series info at bottom of book.html
|
2020-11-24 21:24:07 +11:00 |
|
Damien De Paoli
|
332335fe03
|
display loan "card" in book.html
|
2020-11-24 20:41:45 +11:00 |
|
|
|
7bd3ff4c26
|
fixed up author and publisher drop-down lists to have right id/val, not sure if array subscripting the names will work. To be tested, also removed as many divs and margins and paddings as I can, still dont fully understand why some indent more than others, etc. but it works for now
|
2020-11-22 23:56:34 +11:00 |
|
|
|
afb132820b
|
actually, no need for a publisher + button, so removed it, made the add button for authors be at the right, is more logical / neater
|
2020-11-22 12:07:48 +11:00 |
|
|
|
fc12536a83
|
reordered add button to be consistent with author and publisher, then allowed author to be a drop-down with a + or - button as appropriate
|
2020-11-22 12:02:01 +11:00 |
|
|
|
1edf5082c7
|
added publisher list in, so publisher in book.html is about done
|
2020-11-21 17:57:06 +11:00 |
|
|
|
8641b3b140
|
first pass at edit/add buttons for publisher
|
2020-11-21 15:08:41 +11:00 |
|
|
|
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 |
|