47 lines
1.1 KiB
HTML
47 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>PassPort</title>
|
|
</head>
|
|
<body>
|
|
<h1>PassPort</h1>
|
|
|
|
{% if error %}
|
|
<p>{{ error }}</p>
|
|
{% endif %}
|
|
|
|
<form method="post" action="{{ url_for('issue_pass') }}">
|
|
<label>
|
|
Holder
|
|
<input type="text" name="holder" maxlength="80" value="{{ values.get('holder', '') }}" required>
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
Location
|
|
<input type="text" name="location" maxlength="120" value="{{ values.get('location', '') }}" required>
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
Valid From
|
|
<input type="datetime-local" name="valid_from" value="{{ values.get('valid_from', '') }}" required>
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
Valid Until
|
|
<input type="datetime-local" name="valid_until" value="{{ values.get('valid_until', '') }}" required>
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<button type="submit">Issue Pass</button>
|
|
</form>
|
|
</body>
|
|
</html>
|