feat: complete day 6
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1 Import Transactions
|
||||
form#importForm(action="/api/v1/import" method="POST" enctype="multipart/form-data")
|
||||
label(for="file") Choose CSV or Excel file:
|
||||
input(type="file" name="file" id="file" accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel")
|
||||
br
|
||||
button#exportBtn(type="button") Export
|
||||
button(type="submit") Import
|
||||
div#result
|
||||
script(src="/js/import.js")
|
||||
Reference in New Issue
Block a user