Style corrections.
This commit is contained in:
parent
2fd607a61a
commit
9a9a9aaf33
2 changed files with 5 additions and 5 deletions
|
@ -4,8 +4,8 @@
|
||||||
<!-- Image fragment -->
|
<!-- Image fragment -->
|
||||||
<div class="image-slot text-center">
|
<div class="image-slot text-center">
|
||||||
{% if image %}
|
{% if image %}
|
||||||
<img src="{{ url_for('static', filename=image.filename) }}" alt="Image of ID {{ id }}" class="img-thumbnail"
|
<img src="{{ url_for('static', filename=image.filename) }}" alt="Image of ID {{ id }}" class="img-thumbnail w-100"
|
||||||
style="max-height: 256px;" data-bs-toggle="modal" data-bs-target="#imageModal-{{ id }}">
|
style="height: auto;" data-bs-toggle="modal" data-bs-target="#imageModal-{{ id }}">
|
||||||
<div class="modal fade" id="imageModal-{{ id }}" tabindex="-1">
|
<div class="modal fade" id="imageModal-{{ id }}" tabindex="-1">
|
||||||
<div class="modal-dialog modal-dialog-centered modal-lg">
|
<div class="modal-dialog modal-dialog-centered modal-lg">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
|
|
|
@ -24,6 +24,9 @@
|
||||||
<label for="identifier" class="form-label">Identifier</label>
|
<label for="identifier" class="form-label">Identifier</label>
|
||||||
<input type="text" class="form-control-plaintext" value="{{ item.identifier }}" readonly>
|
<input type="text" class="form-control-plaintext" value="{{ item.identifier }}" readonly>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
{{ images.render_image(item.id, item.image) }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-4">
|
<div class="col-4">
|
||||||
|
@ -128,9 +131,6 @@
|
||||||
entry_route='worklog_entry', title='Work Log') }}
|
entry_route='worklog_entry', title='Work Log') }}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="col mt-5">
|
|
||||||
{{ images.render_image(item.id, item.image) }}
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue