Wachalarm-IP-Web/views/user/user_config.pug
2020-05-04 16:31:01 +02:00

28 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

extends ../layout
block content
main(role='main')
.container
.row
.col-12.d-flex.align-self-stretch
.card.border-dark.mb-3.w-100
.card-header Einstellungen
.card-body.text-dark
.row
.col-8
p Anzeigezeit für Wachalarme
p.text-muted (Wachalarme werden nach Ablauf der hier gesetzten Zeit automatisch ausgeblendet)
.col-4
form(action="/config", method="POST")
.form-group
label(for='ResetCounterSelect') Zeit in Minuten
select#ResetCounterSelect.form-control(name='set_reset_counter', onchange='this.form.submit()')
option= 'Standard'
each _, i in Array(60)
if(i+1 == reset_counter)
option(selected)= i+1
else
option= i+1
// TODO: anpassen der Durchsage je Benutzer, durch eigene Ersetzung und Reihenfolge
// TODO: Ausnahmen festlegen können, wann keine Musik abgespielt wird