fix: Passwort-Eingabe in upload.html wieder hinzugefügt
This commit is contained in:
@@ -8,28 +8,28 @@
|
|||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
min-height: 100vh;
|
background-color: #f8f9fa;
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
}
|
||||||
.main-content {
|
.main-content {
|
||||||
flex: 1 0 auto;
|
|
||||||
padding: 2rem 0;
|
padding: 2rem 0;
|
||||||
margin-bottom: 4rem;
|
|
||||||
}
|
}
|
||||||
.footer {
|
.logo {
|
||||||
flex-shrink: 0;
|
width: 200px;
|
||||||
text-align: center;
|
height: auto;
|
||||||
padding: 1rem;
|
margin: 0 auto;
|
||||||
background-color: #f8f9fa;
|
display: block;
|
||||||
border-top: 1px solid #dee2e6;
|
}
|
||||||
width: 100%;
|
.upload-container {
|
||||||
position: fixed;
|
background-color: white;
|
||||||
bottom: 0;
|
padding: 2rem;
|
||||||
left: 0;
|
border-radius: 10px;
|
||||||
z-index: 100;
|
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
||||||
|
}
|
||||||
|
.form-label {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.alert {
|
||||||
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@@ -68,37 +68,28 @@
|
|||||||
<div class="upload-container">
|
<div class="upload-container">
|
||||||
<div class="row justify-content-center">
|
<div class="row justify-content-center">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="card">
|
<h2 class="text-center mb-4">CSV-Dateien hochladen</h2>
|
||||||
<div class="card-header">
|
|
||||||
<h2 class="text-center mb-0">CSV Upload</h2>
|
|
||||||
</div>
|
|
||||||
<div class="card-body">
|
|
||||||
{% if error %}
|
{% if error %}
|
||||||
<div class="alert alert-danger" role="alert">
|
<div class="alert alert-danger">{{ error }}</div>
|
||||||
{{ error }}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if success %}
|
{% if success %}
|
||||||
<div class="alert alert-success" role="alert">
|
<div class="alert alert-success">{{ success }}</div>
|
||||||
{{ success }}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form method="POST" enctype="multipart/form-data">
|
<form method="POST" enctype="multipart/form-data">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="customers_snk" class="form-label">SNK Kunden (customers_snk.csv)</label>
|
<label for="medisoft_file" class="form-label">MEDISOFT CSV-Datei</label>
|
||||||
<input type="file" class="form-control" id="customers_snk" name="customers_snk" accept=".csv" required>
|
<input type="file" class="form-control" id="medisoft_file" name="medisoft_file" accept=".csv">
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="customers" class="form-label">MEDISOFT Kunden (customers.csv)</label>
|
<label for="mediconsult_file" class="form-label">MEDICONSULT CSV-Datei</label>
|
||||||
<input type="file" class="form-control" id="customers" name="customers" accept=".csv" required>
|
<input type="file" class="form-control" id="mediconsult_file" name="mediconsult_file" accept=".csv">
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="password" class="form-label">Passwort</label>
|
<label for="password" class="form-label">Passwort</label>
|
||||||
<input type="password" class="form-control" id="password" name="password" required>
|
<input type="password" class="form-control" id="password" name="password" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-grid gap-2">
|
<div class="d-grid">
|
||||||
<button type="submit" class="btn btn-primary">Dateien hochladen</button>
|
<button type="submit" class="btn btn-primary">Dateien hochladen</button>
|
||||||
<a href="{{ url_for('index') }}" class="btn btn-secondary">Zurück zur Suche</a>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
@@ -106,13 +97,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||||||
</div>
|
|
||||||
<footer class="footer">
|
|
||||||
<div class="footer-content">
|
|
||||||
Proudly made with ❤️ and 🍺 by <a href="https://www.medisoftware.de" target="_blank" class="footer-link">medisoftware</a>
|
|
||||||
<div style="font-size: 0.8em;">Version: {{ version }}</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Reference in New Issue
Block a user