added emergency button for touchscreendevices
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.srsoftware</groupId>
|
||||
<artifactId>web4rail</artifactId>
|
||||
<version>0.7.3</version>
|
||||
<version>0.7.4</version>
|
||||
<name>Web4Rail</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Java Model Railway Control</description>
|
||||
|
||||
@@ -219,3 +219,7 @@ fieldset{
|
||||
ul{
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.menu div.emergency{
|
||||
background: #ffb561;
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user