42 lines
724 B
Plaintext
42 lines
724 B
Plaintext
@page
|
|
@{
|
|
ViewData["Title"] = "UploadTest";
|
|
}
|
|
|
|
<h1>ZUGFeRD Validation</h1>
|
|
|
|
<form method="post" action="/api/validation" enctype="multipart/form-data" >
|
|
<p>
|
|
<label>PDF Datei:</label>
|
|
<input type="file" name="file" required />
|
|
</p>
|
|
|
|
<p>
|
|
<label>Benutzerkennung/Email:</label>
|
|
<input type="email" name="user_id" required />
|
|
</p>
|
|
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
|
|
<style>
|
|
form {}
|
|
|
|
form p {
|
|
border-bottom: 1px solid grey;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
form label {
|
|
display: block;
|
|
width: 20rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
form input {
|
|
display: block;
|
|
width: 20rem;
|
|
}
|
|
</style>
|
|
|