wow
This commit is contained in:
commit
794dce869c
16 changed files with 5430 additions and 0 deletions
47
templates/index.html
Normal file
47
templates/index.html
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<!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>
|
||||
Loading…
Reference in a new issue