diff --git a/app/templates/main.html b/app/templates/main.html index 17313987effed0a46f1ec8997c98a0ea66d9c889..205b7885b42be0b3fff1a894cb5d8377d43f5adc 100644 --- a/app/templates/main.html +++ b/app/templates/main.html @@ -67,9 +67,11 @@ <p id=intro>This table summarizes meetings scheduled in our Zoom accounts. Use standard Zoom interface to create and modify reservations. Please keep in mind that there is a slight delay between Zoom and this table. Please report all bugs to Martin Mareš.</p> - <form method=GET action="?"> + <form id=f method=GET action="?"> <label for=date>Date:</label> - <input id=date type=date name=date value="{{ g.date }}"> + <input id=date type=date name=date step=1 value="{{ g.date }}"> + <button type=button onclick="document.getElementById('date').stepDown(); document.getElementById('f').requestSubmit()">←</button> + <button type=button onclick="document.getElementById('date').stepUp(); document.getElementById('f').requestSubmit()">→</button> <select name=hours> <option value=0{{ " selected" if g.hours==0 else "" }}>Study hours</option> <option value=1{{ " selected" if g.hours==1 else "" }}>Working hours</option>