* verbesserte Geschwindigkeitsregelung
* erweiterung der Aktion „Zug in Block bestimmen“ * verbesserungen beim Rangieren
This commit is contained in:
@@ -448,3 +448,93 @@ svg.Block.disabled text{
|
||||
#history table td:nth-child(2) {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
input[type=range] {
|
||||
height: 39px;
|
||||
-webkit-appearance: none;
|
||||
margin: 10px 0;
|
||||
width: 100%;
|
||||
}
|
||||
input[type=range]:focus {
|
||||
outline: none;
|
||||
}
|
||||
input[type=range]::-webkit-slider-runnable-track {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
cursor: pointer;
|
||||
animate: 0.2s;
|
||||
box-shadow: 1px 1px 1px #000000;
|
||||
background: #3071A9;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #000000;
|
||||
}
|
||||
input[type=range]::-webkit-slider-thumb {
|
||||
box-shadow: 1px 1px 1px #000000;
|
||||
border: 2px solid #000000;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
border-radius: 10px;
|
||||
background: #FFFFFF;
|
||||
cursor: pointer;
|
||||
-webkit-appearance: none;
|
||||
margin-top: -11.5px;
|
||||
}
|
||||
input[type=range]:focus::-webkit-slider-runnable-track {
|
||||
background: #3071A9;
|
||||
}
|
||||
input[type=range]::-moz-range-track {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
cursor: pointer;
|
||||
animate: 0.2s;
|
||||
box-shadow: 1px 1px 1px #000000;
|
||||
background: #3071A9;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #000000;
|
||||
}
|
||||
input[type=range]::-moz-range-thumb {
|
||||
box-shadow: 1px 1px 1px #000000;
|
||||
border: 2px solid #000000;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
border-radius: 10px;
|
||||
background: #FFFFFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type=range]::-ms-track {
|
||||
width: 100%;
|
||||
height: 10px;
|
||||
cursor: pointer;
|
||||
animate: 0.2s;
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
color: transparent;
|
||||
}
|
||||
input[type=range]::-ms-fill-lower {
|
||||
background: #3071A9;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 10px;
|
||||
box-shadow: 1px 1px 1px #000000;
|
||||
}
|
||||
input[type=range]::-ms-fill-upper {
|
||||
background: #3071A9;
|
||||
border: 1px solid #000000;
|
||||
border-radius: 10px;
|
||||
box-shadow: 1px 1px 1px #000000;
|
||||
}
|
||||
input[type=range]::-ms-thumb {
|
||||
margin-top: 1px;
|
||||
box-shadow: 1px 1px 1px #000000;
|
||||
border: 2px solid #000000;
|
||||
height: 30px;
|
||||
width: 30px;
|
||||
border-radius: 10px;
|
||||
background: #FFFFFF;
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type=range]:focus::-ms-fill-lower {
|
||||
background: #3071A9;
|
||||
}
|
||||
input[type=range]:focus::-ms-fill-upper {
|
||||
background: #3071A9;
|
||||
}
|
||||
|
||||
@@ -65,6 +65,17 @@ function assign(context){
|
||||
return false;
|
||||
}
|
||||
|
||||
function changeSpeed(inputId){
|
||||
console.log(inputId);
|
||||
let parts = inputId.split('_');
|
||||
let val = $('#'+inputId).val();
|
||||
let data = { realm : parts[0], id : parts[1], action : "setSpeed", speed : val};
|
||||
console.log(data);
|
||||
let caption = $('#'+inputId+'_caption');
|
||||
caption.text(caption.text().replace(/\d+/,val));
|
||||
request(data);
|
||||
}
|
||||
|
||||
function clickLegend(ev){
|
||||
lastTab = ev.data;
|
||||
$('.window > .tabs > legend').removeClass('front');
|
||||
@@ -76,7 +87,7 @@ function clickLegend(ev){
|
||||
}
|
||||
|
||||
function clickTile(x,y,shift){
|
||||
console.log("clickTile("+x+","+y+")");
|
||||
console.log("clickTile("+x+","+y+")");
|
||||
var id = x+"-"+y;
|
||||
var tiles = $('#'+id);
|
||||
if (tiles.length > 0) {
|
||||
|
||||
@@ -166,6 +166,7 @@ Event : Ereignis
|
||||
Faster ({} {}) : {} {} schneller
|
||||
Final speed after breaking, before halting : Endgeschwindigkeit nach Bremsvorgang, vor dem Anhalten
|
||||
FinishRoute : Route abschließen
|
||||
first parked train : ersten abgestellten Zug wählen
|
||||
Firing {} : starte {}
|
||||
For each {} do : Mit jedem {}
|
||||
forward : vorwärts
|
||||
@@ -192,6 +193,7 @@ Inverts the direction {} is heading to. : Kehrt die Richtung, in welche {} fähr
|
||||
{} is off : {} ist Aus
|
||||
{} is on : {} ist Ein
|
||||
{} is oriented {} : {} ist {} gerichtet
|
||||
JSON code of {} : JSON-Code von {}
|
||||
known cars : bekannte Waggons
|
||||
known locomotives : bekannte Lokomotiven
|
||||
known trains : bekannte Züge
|
||||
@@ -235,6 +237,7 @@ new locomotive : neue Lok
|
||||
new tag : neue Markierung
|
||||
new train : neuer Zug
|
||||
No : keine
|
||||
No direct route from {} to {} : keine direkte Verbindung von {} zu {}
|
||||
No free routes from {} : keine Route von {} frei
|
||||
NORTH : Norden
|
||||
Not connected to other bridge part! : Nicht mit anderem Brücken-Teil verbunden!
|
||||
@@ -262,6 +265,7 @@ other train properties : andere Zug-Eigenschaften
|
||||
other trains in {} : andere Züge in {}
|
||||
Origin and destination : Start und Ziel
|
||||
Origin\: {} to {} : Start: {} nach {}
|
||||
parked train : abgestellter Zug
|
||||
parked trains : abgestellte Züge
|
||||
Plan saved as "{}". : Plan als „{}“ gespeichert.
|
||||
Plan updated. : Plan aktualisiert.
|
||||
@@ -336,6 +340,7 @@ SetTurnout : Weiche stellen
|
||||
Setup actions : Vorbereitung-Aktionen
|
||||
ShowText : Text anzeigen
|
||||
Shunting : Rangieren
|
||||
shunting destination : Rangier-Ziel
|
||||
Signals : Signale
|
||||
simplify all names : alle Namen vereinfachen
|
||||
simplify name : Name vereinfachen
|
||||
@@ -435,6 +440,7 @@ Turns the train, as if it went through a loop. : Dreht den ZUg, als wenn er eine
|
||||
Unknown action\: {} : Unbekannte Aktion: {}
|
||||
Use negative number to count from end. : Nutze negative Nummern, um von Ende zu zählen.
|
||||
unset : ungesetzt
|
||||
update : aktualisieren
|
||||
value : Wert
|
||||
WaitForContact : Auf Kontakt warten
|
||||
Wait for {}, then : auf {} warten, dann
|
||||
|
||||
Reference in New Issue
Block a user