diff --git a/BUGs b/BUGs index 1acd464..e133fdb 100644 --- a/BUGs +++ b/BUGs @@ -1,10 +1,7 @@ ### fix to get this working with bs 5... editing a book needs to use input groups - + buttons (add/rem say authors) is in wrong spot - - buttons at bottom are broken still -edit series needs input groups -sub-books table looks off (notes/etc. not stretching full width) -even navbar is not inset from left-margin (see pa-dev) + +/- buttons (add/rem say authors) are in wrong spot / input-group + * buttons at bottom are broken still get rid of font-awesome and use bootstrap5 icons sort through dataTables calls in books_for_series.html (ever called without base?) -- Maybe as part of an ajax call? diff --git a/templates/book.html b/templates/book.html index c87dbe0..f060268 100644 --- a/templates/book.html +++ b/templates/book.html @@ -198,9 +198,9 @@ function AddAuthorToBook(num) { {% set keys = [ 'title', 'author', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %}
-

{{page_title}}

+

{{page_title}}

-
+ {{ book_form.id }} {{ book_form.csrf_token }} {% if b.parent|length %} @@ -376,7 +376,7 @@ function AddAuthorToBook(num) { {% else %} - {{ book_form.delete( class="btn btn-outline-danger col disabled", disabled="true", style="pointer-events: none;" )}} + {{ book_form.delete( class="btn btn-outline-danger col-2 disabled", disabled="true", style="pointer-events: none;" )}} {% endif %} {% endif %} @@ -403,18 +403,19 @@ function AddAuthorToBook(num) { {% if 'Edit' in page_title %}
{% if b.parent|length == 0 %} - + {{ book_form.add_sub( class="btn btn-outline-success offset-2 col-2" )}} {% else %} -
+ {{ book_form.rem_sub( class="btn btn-outline-danger offset-2 col-3" )}}
{% endif %}
+
{% endif %}
diff --git a/templates/subbooks_for_book.html b/templates/subbooks_for_book.html index 8147ff4..960a10d 100644 --- a/templates/subbooks_for_book.html +++ b/templates/subbooks_for_book.html @@ -5,7 +5,7 @@ {% for book in sub_books %} - + {% set state="" %} {% if loop.index == 1 %} {% set state="disabled" %} @@ -33,7 +33,7 @@ {{book.title}} {{book.rating}}{{book.author}}{{book.year_published}} - {{book.notes}} + {{book.notes}} {% endfor %}