fixed BUG-39 (loan card in wrong spot, now fixed)
This commit is contained in:
2
BUGs
2
BUGs
@@ -7,5 +7,3 @@ BUG-30: failed to add a book with 2 x same author (need to catch error
|
||||
|
||||
BUG-31: series does not have 'series_num', so a book in 2 series, means he ordering is not explicit
|
||||
-> NEED TO display them in order of smallest num_books first
|
||||
|
||||
BUG-39: Loaned to "info box" is below save, not to the left? (or somehow better anyway, it looks pox now)
|
||||
|
||||
@@ -203,7 +203,12 @@ function AddAuthorToBook(num) {
|
||||
{% set keys = [ 'title', 'bals', 'publisher', 'genre', 'owned', 'covertype', 'condition', 'year_published', 'rating', 'notes', 'blurb' ] %}
|
||||
<div class="container-fluid">
|
||||
<div class="form-row"><h3 class="offset-2">{{page_title}}</h3></div>
|
||||
<div class="row" id="main-row">
|
||||
{% if books.loan|length %}
|
||||
<div class="row" id="loan-row">
|
||||
<div class="col-10" id="main-row">
|
||||
{% else %}
|
||||
<div class="col-12" id="main-row">
|
||||
{% endif %}
|
||||
<form role="form" class="form" action="" method="POST">
|
||||
{{ book_form.id }}
|
||||
{{ book_form.csrf_token }}
|
||||
@@ -390,6 +395,7 @@ function AddAuthorToBook(num) {
|
||||
</div class="form-row">
|
||||
{{ hiddens.txt|safe }}
|
||||
</form>
|
||||
</div class="row" id="main-row">
|
||||
{% if books.loan|length %}
|
||||
<div class="col">
|
||||
<div class="card border-primary">
|
||||
@@ -404,10 +410,13 @@ function AddAuthorToBook(num) {
|
||||
</div class="card">
|
||||
</div class="col">
|
||||
{% endif %}
|
||||
</div class="row" id="main-row">
|
||||
|
||||
{% if 'Edit' in page_title %}
|
||||
{% if books.loan|length %}
|
||||
<div class="form-row col-10">
|
||||
{% else %}
|
||||
<div class="form-row">
|
||||
{% endif %}
|
||||
{% if b.parent|length == 0 %}
|
||||
<form role="form" class="form" action="{{url_for('new_book')}}" method="POST">
|
||||
<input type="hidden" name="add_sub_parent_id" value="{{books.id}}">
|
||||
@@ -423,6 +432,9 @@ function AddAuthorToBook(num) {
|
||||
</div class="form-row">
|
||||
</div class="row" id="main-row">
|
||||
{% endif %}
|
||||
{% if books.loan|length %}
|
||||
</div class="loan-row">
|
||||
{% endif %}
|
||||
</div class="container">
|
||||
|
||||
{% endblock main_content %}
|
||||
|
||||
Reference in New Issue
Block a user