Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Are you sure" confirmation for "ready for shutdown" #41

Open
dneise opened this issue Jan 22, 2018 · 1 comment
Open

"Are you sure" confirmation for "ready for shutdown" #41

dneise opened this issue Jan 22, 2018 · 1 comment

Comments

@dneise
Copy link
Member

dneise commented Jan 22, 2018

Before the parker mode, we allowed only the shifter to be "ready for shutdown".
Now in SH v.1.3.0 we allow everybody to be ready for shutdown.

Adrian fears that somebody might in the morning accidentally click "ready for shutdown".

Is it easily possible to have a "confirmation" popup? So that somebody who pressed "ready for shutdown" will get a: "By pressing this button, you swar that you will observe the shutdown in ~30 minutes and fill the checklist Are you sure you want that? -Yes, -No"

I this is really needed ... well I do not know ..

@maxnoe
Copy link
Member

maxnoe commented Jan 22, 2018

Yes, this is pretty easy using bootsrap's "modals".

Documented here: https://getbootstrap.com/docs/4.0/components/modal/

In action here:
https://cloud.e5.physik.tu-dortmund.de/pizza/ (Click "Alle Bestellungen löschen")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants