saved the creation of warehows locations

This commit is contained in:
2025-09-10 22:37:42 +03:00
parent bb3352ea4a
commit b37c8bb58f
5 changed files with 103 additions and 56 deletions

View File

@@ -17,6 +17,14 @@
<input type="text" name="description" maxlength="250"><br>
<button type="submit" class="btn">Add Location</button>
</form>
<!-- Import from CSV content moved here -->
<div style="margin-top: 24px;">
<h3 style="font-size: 1.1em;">Import Locations from CSV</h3>
<div style="display: flex; flex-direction: row; gap: 16px; align-items: center;">
<span style="font-size: 0.95em;">Bulk import warehouse locations using a CSV file.</span>
<a href="{{ url_for('warehouse.import_locations_csv') }}" class="btn" style="padding: 4px 12px; font-size: 0.95em;">Go to Import Page</a>
</div>
</div>
</div>
<!-- Locations Table Card -->
<div class="card scan-table-card">
@@ -42,13 +50,5 @@
</tbody>
</table>
</div>
<!-- Import Locations from CSV Card (original size, last position) -->
<div class="card scan-form-card" style="margin-top: 24px;">
<h3>Import Locations from CSV</h3>
<div style="display: flex; flex-direction: row; gap: 16px; align-items: center;">
<span>Bulk import warehouse locations using a CSV file.</span>
<a href="{{ url_for('warehouse.import_locations_csv') }}" class="btn">Go to Import Page</a>
</div>
</div>
</div>
{% endblock %}