mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +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() }}>
|
||||
<tbody>
|
||||
{% for attachment in form %}
|
||||
{{ form_widget(attachment) }}
|
||||
{{ form_widget(attachment) }}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<button type="button" class="btn btn-success" {{ collection.create_btn() }} {% if part_mode and not is_granted('edit', part) %}disabled{% endif %}>
|
||||
<i class="fas fa-plus-square fa-fw"></i>
|
||||
{% trans %}attachment.create{% endtrans %}
|
||||
</button>
|
||||
<div class="mb-2">
|
||||
<button type="button" class="btn btn-success" {{ collection.create_btn() }} {% if part_mode and not is_granted('edit', part) %}disabled{% endif %}>
|
||||
<i class="fas fa-plus-square fa-fw"></i>
|
||||
{% 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 %}>
|
||||
<i class="fas fa-upload fa-fw"></i>
|
||||
{% trans %}attachment.upload_multiple_files{% 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 %}>
|
||||
<i class="fas fa-upload fa-fw"></i>
|
||||
{% trans %}attachment.upload_multiple_files{% endtrans %}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue