diff --git a/Web/app.py b/Web/app.py index a2d8a51..b5fa923 100755 --- a/Web/app.py +++ b/Web/app.py @@ -11850,6 +11850,17 @@ def test_push_notification(): return jsonify({'success': False}), 500 +@app.route('/batch_upload', methods=['GET']) +def batch_upload_page(): + """ + Serves the HTML frontend for the batch CSV and image upload. + """ + # Check permissions if necessary, similar to your other routes + if 'username' not in session: + flash('Bitte melden Sie sich an.', 'error') + return redirect(url_for('login')) + + return render_template('upload_batch.html') def clean_db_field(val): """Bereinigt Werte, die fälschlicherweise als String-Listen oder mit Klammern aus der CSV kommen."""