added emergency button for touchscreendevices

This commit is contained in:
Stephan Richter
2020-10-29 08:31:00 +01:00
parent 4263617de3
commit 42536adc2a
3 changed files with 6 additions and 1 deletions

View File

@@ -295,6 +295,7 @@ public class Plan implements Constants{
private Tag menu() throws IOException {
Tag menu = new Tag("div").clazz("menu");
new Tag("div").clazz("emergency").content(t("Emergency")).attr("onclick","return request({realm:'"+REALM_CU+"',action:'"+ACTION_EMERGENCY+"'});").addTo(menu);
actionMenu().addTo(menu);
moveMenu().addTo(menu);
tileMenu().addTo(menu);