Renamed pages

This commit is contained in:
Leon Meier 2023-05-15 15:34:28 +02:00
parent 38cd29943f
commit 9a05743cb3
2 changed files with 22 additions and 26 deletions

View File

@ -1,6 +1,6 @@
<%~ E.includeFile("../partials/head.eta.html", {"title": "Settings - Category"}) %> <%~ E.includeFile("../partials/controls.eta.html", {"active": "SETT_CAT"}) %> <%~ E.includeFile("../partials/head.eta.html", {"title": "Settings - Category"}) %> <%~ E.includeFile("../partials/controls.eta.html", {"active": "SETT_CAT"}) %>
<h1>All categories</h1> <h1>Categories</h1>
<div class="container"> <div class="container">
<!-- Create new category button --> <!-- Create new category button -->
<div class="row"> <div class="row">

View File

@ -1,28 +1,24 @@
<%~ E.includeFile("../../partials/head.eta.html", {"title": "Importer - CSV" }) %> <%~ E.includeFile("../../partials/head.eta.html", {"title": "Importer - CSV" }) %> <%~ E.includeFile("../../partials/controls.eta.html", {"active": "SETT_IMPORT_CSV" }) %>
<%~ E.includeFile("../../partials/controls.eta.html", {"active": "SETT_IMPORT_CSV" }) %>
<h1>Import A CSV File</h1> <h1>CSV Import</h1>
Upload a CSV file to import into the database. The CSV file must have the following columns: Upload a CSV file to import into the database. The CSV file must have the following columns:
<ul> <ul>
<li> Name</li> <li>Name</li>
<li> Amount</li> <li>Amount</li>
<li> Manufacturer</li> <li>Manufacturer</li>
<li> Category</li> <li>Category</li>
</ul> </ul>
The following columns are optional: The following columns are optional:
<ul> <ul>
<li> SKU</li> <li>SKU</li>
<li> Comment</li> <li>Comment</li>
<li> StorageLocation (import currently not supported)</li> <li>StorageLocation (import currently not supported)</li>
</ul> </ul>
<form method="post" encType="multipart/form-data"> <form method="post" enctype="multipart/form-data">
<label for="formFile" class="form-label">CSV Inventory File Upload</label> <label for="formFile" class="form-label">CSV Inventory File Upload</label>
<input class="form-control" type="file" id="formFile" name="formFile"><br> <input class="form-control" type="file" id="formFile" name="formFile" /><br />
<input type="submit" value="Run import" class="btn btn-primary"> <input type="submit" value="Run import" class="btn btn-primary" />
</form>
</form> <%~ E.includeFile("../../partials/controlsFoot.eta.html") %> <%~ E.includeFile("../../partials/foot.eta.html") %>
<%~ E.includeFile("../../partials/controlsFoot.eta.html") %>
<%~ E.includeFile("../../partials/foot.eta.html") %>