update
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<div class="buttons">
|
||||
{% if session.get('logged_in') %}
|
||||
<a href="{{ url_for('administrator') }}" class="button">Administrace</a>
|
||||
<a href="{{ url_for('repairs') }}" class="button">Správa Oprav</a>
|
||||
<a href="{{ url_for('logout') }}" class="button">Odhlásit se</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('login') }}" class="button">Administrace</a>
|
||||
@@ -128,13 +129,13 @@
|
||||
<div class="form-container">
|
||||
<span class="close-button" onclick="closeReservationForm()">×</span>
|
||||
<h2>Rezervace</h2>
|
||||
<form>
|
||||
<form action="{{ url_for('create_reservation') }}" method="post">
|
||||
<label for="fullName">Celé jméno: <span class="required">*</span></label>
|
||||
<input type="text" id="fullName" name="fullName" required>
|
||||
<label for="email">Email: <span class="required">*</span></label>
|
||||
<input type="email" id="email" name="email" required>
|
||||
<label for="date">Datum: <span class="required">*</span></label>
|
||||
<input type="date" id="date" name="date" required>
|
||||
<input type="text" id="date" name="date" required readonly>
|
||||
<label for="description">Popis: <span class="required">*</span></label>
|
||||
<textarea id="description" name="description" rows="4" required></textarea>
|
||||
<button type="submit" class="button">Odeslat</button>
|
||||
@@ -142,5 +143,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{{ url_for('static', filename='scripts/reservation.js') }}"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user