diff --git a/pom.xml b/pom.xml
index 685ad2a..ed11862 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
de.srsoftware
web4rail
- 1.3.56
+ 1.3.57
Web4Rail
jar
Java Model Railway Control
diff --git a/resources/css/style.css b/resources/css/style.css
index 60088db..9902704 100644
--- a/resources/css/style.css
+++ b/resources/css/style.css
@@ -256,7 +256,14 @@ fieldset{
border-radius: 5px;
}
.error{
- background: red;
+ background: orange;
+ margin: 30px 10px 5px;
+ padding: 0;
+ border-radius: 10px;
+}
+
+.error p{
+ padding: 5px;
}
h4,ul{
diff --git a/resources/js/plan.js b/resources/js/plan.js
index dfb4ef6..a0fd926 100644
--- a/resources/js/plan.js
+++ b/resources/js/plan.js
@@ -37,7 +37,7 @@ function arrangeTabs(){
var tabs = $('
',{'class':'tabs'});
var winId = $('.window').attr('id')+"-";
- tabs.insertAfter($('.swapbtn'));
+ tabs.insertAfter($('.error'));
var target = null;
var index = null;
$('.window > fieldset > legend').each(function(){
diff --git a/resources/translations/Application.de.translation b/resources/translations/Application.de.translation
index b140948..15e63fc 100644
--- a/resources/translations/Application.de.translation
+++ b/resources/translations/Application.de.translation
@@ -1,4 +1,5 @@
abort : abbrechen
+Aborting route allocation... : Routen-Reservierung wird abgebrochen...
Accessory : Zubehör
Action : Aktion
Actions : Aktionen
diff --git a/src/main/java/de/srsoftware/web4rail/BaseClass.java b/src/main/java/de/srsoftware/web4rail/BaseClass.java
index 0c75070..6672bcc 100644
--- a/src/main/java/de/srsoftware/web4rail/BaseClass.java
+++ b/src/main/java/de/srsoftware/web4rail/BaseClass.java
@@ -423,13 +423,21 @@ public abstract class BaseClass implements Constants{
return (T) this;
}
- public Window properties() {
- return properties(new ArrayList<>(), new FormInput(), new ArrayList<>());
+ public Window properties(String...error) {
+ return properties(new ArrayList<>(), new FormInput(), new ArrayList<>(),error);
}
- protected Window properties(List