<div class="wrapper-admin-backend">
    <div class="d-inline">
        <button type="button" class="btn btn-secondary btn-sm" data-toggle="modal" data-target="#backend-import-ts-exercise-modal">Übung(en) importieren</button>
    </div>
    <div class="modal fade" id="backend-import-ts-exercise-modal" tabindex="-1" role="dialog" aria-labelledby="importTsExerciseModalLabel" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <h5 class="modal-title" id="importTsExerciseModalLabel">Übung(en) importieren</h5>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body">
                    <p style="white-space: normal;">Hier kann eine exportierte Übung als JSON-Datei in das System importiert werden.<br>Es können auch mehrere Dateien auf einmal hochgeladen werden.</p>
                    <div class="form-group">
                        <label for="importTsExerciseModalFile" class="ml-0 mb-1">Datei:</label>
                        <div class="input-group d-flex align-items-stretch">
                            <input type="file" class="form-control h-auto p-1" id="importTsExerciseModalFile" accept="application/json" multiple>
                            <div class="input-group-append">
                                <button class="btn btn-secondary" type="button" id="importTsExerciseClearButton"><i class="fas fa-trash-alt"></i></button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
                    <button type="button" class="btn btn-primary" id="backend-import-ts-exercise-confirm">Importieren</button>
                </div>
            </div>
        </div>
    </div>
</div>