heko_webcrawler/app/templates/upload.html

27 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Datei hochladen</title>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
<div class="form-container">
<h2>Datei hochladen</h2>
<!-- Instructions and download link for the template -->
<div class="template-info">
<p>Bitte verwenden Sie die folgende Vorlage für Ihre Adressliste:</p>
<a href="{{ url_for('static', filename='Adressliste_vorlage.csv') }}" download="Adressliste_vorlage.csv" class="template-download">Adressliste Vorlage herunterladen</a>
<p>Die Vorlage enthält die folgenden Spalten: <strong>PLZ, Stadt, Straße, Hausnummer, Zusatz</strong>. Bitte verwenden Sie das Format für eine reibungslose Verarbeitung.</p>
</div>
<form action="{{ url_for('auth.upload') }}" method="post" enctype="multipart/form-data">
<label for="file">Datei auswählen:</label>
<input type="file" id="file" name="file" accept=".csv" required>
<button type="submit">Datei hochladen</button>
</form>
</div>
</body>
</html>