more UI work
This commit is contained in:
@@ -7,7 +7,7 @@ html{
|
|||||||
}
|
}
|
||||||
body{
|
body{
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
background: #c6dbd2;
|
background: rgb(198,219,210);
|
||||||
}
|
}
|
||||||
button{
|
button{
|
||||||
border: 1px solid blue;
|
border: 1px solid blue;
|
||||||
@@ -85,20 +85,22 @@ svg circle{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu{
|
.menu{
|
||||||
position: fixed;
|
position: absolute;
|
||||||
width: 100%;
|
|
||||||
height: 30px;
|
height: 30px;
|
||||||
bottom: 20px;
|
padding: 10px;
|
||||||
|
bottom: 0;
|
||||||
|
background: rgba(0,0,0,0.1);
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu > div{
|
.menu > div{
|
||||||
position: relative;
|
|
||||||
float: left;
|
float: left;
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
min-width: 30px;
|
min-width: 30px;
|
||||||
background: white;
|
background: white;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,12 +114,13 @@ svg circle{
|
|||||||
}
|
}
|
||||||
|
|
||||||
.menu > div > .list{
|
.menu > div > .list{
|
||||||
position: fixed;
|
position: absolute;
|
||||||
left: 5%;
|
left: 5%;
|
||||||
bottom: 50px;
|
bottom: 40px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
padding-top: 50px;
|
background: rgb(198,219,210,0.8);
|
||||||
|
padding: 20px 5px 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu > div > .list > *{
|
.menu > div > .list > *{
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ add new locomotive : neue Lok anlegen
|
|||||||
add new train : neuen Zug anlegen
|
add new train : neuen Zug anlegen
|
||||||
Add tile : Kachel hinzufügen
|
Add tile : Kachel hinzufügen
|
||||||
Address\: : Adresse:
|
Address\: : Adresse:
|
||||||
Analyze plan : Plan analysieren
|
Analyze : analysieren
|
||||||
Apply : Übernehmen
|
Apply : Übernehmen
|
||||||
Availability : Verfügbarkeit
|
Availability : Verfügbarkeit
|
||||||
Block properties : Block-Eigenschaften
|
Block properties : Block-Eigenschaften
|
||||||
@@ -77,8 +77,7 @@ RIGHT : rechts
|
|||||||
Right port\: : Port für rechts
|
Right port\: : Port für rechts
|
||||||
Routes using this tile\: : Fahrstraßen, die diesen Abschnitt verwenden:
|
Routes using this tile\: : Fahrstraßen, die diesen Abschnitt verwenden:
|
||||||
Route will only be available to trains fulfilling all conditions. : Route ist nur für Züge verfügbar, die alle Bedingungen erfüllen.
|
Route will only be available to trains fulfilling all conditions. : Route ist nur für Züge verfügbar, die alle Bedingungen erfüllen.
|
||||||
save : speichern
|
Save : speichern
|
||||||
Save plan : Plan speichern
|
|
||||||
Select contact\: : Kotakt auswählen:
|
Select contact\: : Kotakt auswählen:
|
||||||
Select relay\: : Relais auswählen:
|
Select relay\: : Relais auswählen:
|
||||||
SetRelay : Relais schalten
|
SetRelay : Relais schalten
|
||||||
|
|||||||
@@ -109,7 +109,6 @@ public class Plan extends BaseClass{
|
|||||||
private static final String ACTION_QR = "qrcode";
|
private static final String ACTION_QR = "qrcode";
|
||||||
public static final String DEFAULT_NAME = "default";
|
public static final String DEFAULT_NAME = "default";
|
||||||
private static final String DIRECTION = "direction";
|
private static final String DIRECTION = "direction";
|
||||||
private static final String HELP = "help";
|
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(Plan.class);
|
private static final Logger LOG = LoggerFactory.getLogger(Plan.class);
|
||||||
private static final String TILE = "tile";
|
private static final String TILE = "tile";
|
||||||
private static final String X = "x";
|
private static final String X = "x";
|
||||||
@@ -343,8 +342,8 @@ public class Plan extends BaseClass{
|
|||||||
private Tag help() {
|
private Tag help() {
|
||||||
Tag help = new Tag("div").clazz("help").content(t("Help"));
|
Tag help = new Tag("div").clazz("help").content(t("Help"));
|
||||||
Tag list = new Tag("div").clazz("list").content("");
|
Tag list = new Tag("div").clazz("list").content("");
|
||||||
new Tag(HELP).content(t("Online Documentation")).attr("onclick", "window.open('"+GITHUB_URL+"')").addTo(list);
|
new Tag("div").content(t("Online Documentation")).attr("onclick", "window.open('"+GITHUB_URL+"')").addTo(list);
|
||||||
new Tag(HELP).content(t("Report Issue")).attr("onclick", "window.open('"+GITHUB_URL+"/issues')").addTo(list);
|
new Tag("div").content(t("Report Issue")).attr("onclick", "window.open('"+GITHUB_URL+"/issues')").addTo(list);
|
||||||
return list.addTo(help);
|
return list.addTo(help);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user