mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Fixed margins of the upload files button
This commit is contained in:
parent
b92553f480
commit
a6db67ab33
1 changed files with 11 additions and 9 deletions
|
@ -7,20 +7,22 @@
|
||||||
<table class="table table-striped table-sm" {{ collection.target() }}>
|
<table class="table table-striped table-sm" {{ collection.target() }}>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for attachment in form %}
|
{% for attachment in form %}
|
||||||
{{ form_widget(attachment) }}
|
{{ form_widget(attachment) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<button type="button" class="btn btn-success" {{ collection.create_btn() }} {% if part_mode and not is_granted('edit', part) %}disabled{% endif %}>
|
<div class="mb-2">
|
||||||
<i class="fas fa-plus-square fa-fw"></i>
|
<button type="button" class="btn btn-success" {{ collection.create_btn() }} {% if part_mode and not is_granted('edit', part) %}disabled{% endif %}>
|
||||||
{% trans %}attachment.create{% endtrans %}
|
<i class="fas fa-plus-square fa-fw"></i>
|
||||||
</button>
|
{% trans %}attachment.create{% endtrans %}
|
||||||
|
</button>
|
||||||
|
|
||||||
<button type="button" class="btn btn-outline-success" {{ stimulus_action('elements/collection_type', 'uploadMultipleFiles') }} {% if part_mode and not is_granted('edit', part) %}disabled{% endif %}>
|
<button type="button" class="btn btn-outline-success" {{ stimulus_action('elements/collection_type', 'uploadMultipleFiles') }} {% if part_mode and not is_granted('edit', part) %}disabled{% endif %}>
|
||||||
<i class="fas fa-upload fa-fw"></i>
|
<i class="fas fa-upload fa-fw"></i>
|
||||||
{% trans %}attachment.upload_multiple_files{% endtrans %}
|
{% trans %}attachment.upload_multiple_files{% endtrans %}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue