From a7a19c3faa13d70debcb5f3d4830481be970f023 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sat, 12 Dec 2020 14:13:16 +0100 Subject: [PATCH] =?UTF-8?q?Zaktualizowano=20list=C4=99=20scenerii=20|=20v1?= =?UTF-8?q?.3.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 7 ++++++- src/components/Global/Modal.vue | 13 ++++++++++++ src/data/stations.json | 37 ++++++++++++++++++++++++++------- 3 files changed, 49 insertions(+), 8 deletions(-) create mode 100644 src/components/Global/Modal.vue diff --git a/src/App.vue b/src/App.vue index bb7649e..901bb98 100644 --- a/src/App.vue +++ b/src/App.vue @@ -61,8 +61,13 @@ export default class App extends Vue { private VERSION = "1.3.4"; - mounted() { + async mounted() { this.synchronizeData(); + + // const data = await ( + // await axios.get("https://stacjownik.herokuapp.com/api/getStationList") + // ).data; + // console.log(data); } } diff --git a/src/components/Global/Modal.vue b/src/components/Global/Modal.vue new file mode 100644 index 0000000..5907ebe --- /dev/null +++ b/src/components/Global/Modal.vue @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/src/data/stations.json b/src/data/stations.json index 1a97af5..cc92a4a 100644 --- a/src/data/stations.json +++ b/src/data/stations.json @@ -1989,7 +1989,7 @@ "default": false, "nonPublic": false }, - { + { "stationName": "Rebrowo Dolne", "stationURL": "https://td2.info.pl/scenerie/rebrowo-dolne/", "stationLines": "", @@ -2012,7 +2012,7 @@ "default": false, "nonPublic": false }, - { + { "stationName": "Lublinek", "stationURL": "https://td2.info.pl/scenerie/lublinek-projekt-lka/", "stationLines": "14", @@ -2035,7 +2035,7 @@ "default": true, "nonPublic": false }, - { + { "stationName": "Stryków", "stationURL": "https://td2.info.pl/scenerie/strykow-projekt-lka/", "stationLines": "14", @@ -2059,7 +2059,7 @@ "nonPublic": false }, { - "stationName": "Strączki", + "stationName": "Strączki", "stationURL": "https://td2.info.pl/scenerie/straczki/", "stationLines": "", "reqLevel": "4", @@ -2081,8 +2081,8 @@ "default": false, "nonPublic": false }, - { - "stationName": "Niedoradz", + { + "stationName": "Niedoradz", "stationURL": "https://td2.info.pl/scenerie/niedoradz", "stationLines": "", "reqLevel": "0", @@ -2130,7 +2130,7 @@ { "stationName": "Łebnino", "stationURL": "https://td2.info.pl/scenerie/lebnino-4511/", - "stationLines": "15,16", + "stationLines": "", "reqLevel": "0", "supportersOnly": "NIE", "signalType": "kształtowa", @@ -2149,5 +2149,28 @@ }, "default": false, "nonPublic": false + }, + { + "stationName": "Legno", + "stationURL": "https://td2.info.pl/scenerie/legno/", + "stationLines": "", + "reqLevel": "0", + "supportersOnly": "NIE", + "signalType": "współczesna", + "controlType": "SCS", + "SBL": "TAK (szlak Mr)", + "twoWayBlock": "TAK", + "routes": { + "oneWay": { + "catenary": 0, + "noCatenary": 0 + }, + "twoWay": { + "catenary": 2, + "noCatenary": 0 + } + }, + "default": false, + "nonPublic": false } ]