mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-13 05:39:33 +00:00
Füge Option für lesbares CSV beim Export hinzu (APS-3)
This commit is contained in:
parent
03d8166f2b
commit
7abc37fc9a
17 changed files with 432 additions and 14 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<form class="form-horizontal" method="post" action="{{ path }}" data-turbo="false" data-turbo-frame="_top">
|
||||
<form class="form-horizontal" method="post" action="{{ path }}" data-turbo="false" data-turbo-frame="_top" {{ stimulus_controller('elements/toggle_visibility', {classes: ['format', 'level', 'include_children']}) }}>
|
||||
|
||||
<div class="row">
|
||||
<div class="row format">
|
||||
<label class="col-form-label col-md-3">{% trans %}export.format{% endtrans %}</label>
|
||||
<div class="col-md-9">
|
||||
<select class="form-select" name="format">
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="row mt-2 level">
|
||||
<label class="col-form-label col-md-3">{% trans %}export.level{% endtrans %}</label>
|
||||
<div class="col-md-9">
|
||||
<select class="form-select" name="level">
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="row mt-2 include_children">
|
||||
<div class="offset-md-3 col-sm">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input form-check-input" name="include_children" id="include_children" type="checkbox" checked>
|
||||
|
|
@ -34,6 +34,17 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="offset-md-3 col-sm">
|
||||
<div class="form-check">
|
||||
<input class="form-check-input form-check-input" name="readable" id="readable" type="checkbox" data-action="change->toggle-visibility#toggle">
|
||||
<label class="form-check-label form-check-label" for="readable">
|
||||
{% trans %}export.readable{% endtrans %}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="offset-sm-3 col-sm">
|
||||
<button type="submit" class="btn btn-primary">{% trans %}export.btn{% endtrans %}</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue