Fix import modal
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<h5 class="modal-title">Import Book from ISBN</h5>
|
<h5 class="modal-title">Import Book from ISBN</h5>
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
|
||||||
</div>
|
</div>
|
||||||
<form action="/import" method="POST">
|
<form action="/import" method="POST" hx-boost="false">
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<!-- Mode Toggle -->
|
<!-- Mode Toggle -->
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
@@ -50,28 +50,27 @@
|
|||||||
<div id="scan-status" class="text-muted small mt-2"></div>
|
<div id="scan-status" class="text-muted small mt-2"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{% if session.get('viewing_as_user') %}
|
||||||
{% if session.get('viewing_as_user') %}
|
<div class="mb-3">
|
||||||
<div class="mb-3">
|
<div class="form-check">
|
||||||
<div class="form-check">
|
<input class="form-check-input" type="checkbox" id="set-owner" name="set_owner" checked>
|
||||||
<input class="form-check-input" type="checkbox" id="set-owner" name="set_owner" checked>
|
<label class="form-check-label" for="set-owner">
|
||||||
<label class="form-check-label" for="set-owner">
|
Set {{ session.get('viewing_as_user').title() }} as owner
|
||||||
Set {{ session.get('viewing_as_user').title() }} as owner
|
</label>
|
||||||
</label>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
|
||||||
|
<button type="submit" class="btn btn-primary">
|
||||||
|
<i class="bi bi-cloud-download me-1"></i> Import Book
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
|
||||||
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button>
|
|
||||||
<button type="submit" class="btn btn-primary">
|
|
||||||
<i class="bi bi-cloud-download me-1"></i> Import Book
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
/* QuaggaJS viewport styling - overlay video and canvas */
|
/* QuaggaJS viewport styling - overlay video and canvas */
|
||||||
|
|||||||
Reference in New Issue
Block a user