Skip to content

Commit

Permalink
Merge pull request #25 from Ja-Tar/dev
Browse files Browse the repository at this point in the history
Add train number prefix and station support icon
  • Loading branch information
Ja-Tar authored Sep 8, 2024
2 parents e3349b0 + 8a9d84e commit d7ef06c
Show file tree
Hide file tree
Showing 6 changed files with 207 additions and 131 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Pociągi domyślnie mają ustawiony tor 1. Jeśli chcesz to zmienić, wpisz w uw
- [x] Wyświetlanie info o pociągu
- [x] Nazwa
- [x] Numer
- [x] Prefix numeru (np. IC, TLK)
- [x] Przez
- [x] Do
- [x] Opóźnienie
Expand All @@ -33,10 +34,9 @@ Pociągi domyślnie mają ustawiony tor 1. Jeśli chcesz to zmienić, wpisz w uw
- [ ] Możliwość wyboru dowolnej stacji
- [x] Przykładowe stacje (np. Łapanów, Czermin, Hetmanice)
- [ ] Pozostałe większe stacje
- [ ] Wszystkie stacje
- [ ] Możliwość wpisania własnego układu peronów
- [ ] Możliwość wpisania własnego układu peronów
- [x] Informacja czy pociąg kończy bieg
- [ ] Ekran informacyjny pozostaje aż do odjazdu pociągu
- [x] Ekran informacyjny pozostaje aż do odjazdu pociągu

# EN 🇬🇧
A website to display passenger information boards based on data from the TD2 railway simulator ([Train Driver 2](https://td2.info.pl)).
Expand Down Expand Up @@ -65,6 +65,7 @@ Trains are set to platform 1 by default. If you want to change it, enter in the
- [x] Displaying train info
- [x] Name
- [x] Number
- [x] Number prefix (e.g. IC, TLK)
- [x] Via
- [x] To
- [x] Delay
Expand All @@ -73,10 +74,9 @@ Trains are set to platform 1 by default. If you want to change it, enter in the
- [ ] Possibility to choose any station
- [x] Example stations (Łapanów, Czermin, Hetmanice)
- [ ] Other major stations
- [ ] All stations
- [ ] Possibility to enter your own platform layout
- [ ] Possibility to enter your own platform layout
- [x] Information whether the train is terminating
- [ ] The information screen remains until the train departs
- [x] The information screen remains until the train departs

# License

Expand Down
8 changes: 8 additions & 0 deletions emoji/2714.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions emoji/274C.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,21 @@ input[type="checkbox"]:checked::after {

/* Pozostałe style */

#supported_icon {
position: relative;
display: flex;
justify-content: right;
height: 0px;
z-index: 1000;
transform: translateY(5px) translateX(-5px);
margin: -1px;
}

#supported_icon img {
width: 25px;
height: 25px;
}

#form {
background-color: #fff;
padding: 10px;
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ <h3>Ustawienia</h3>
<option value="" disabled>CZ</option>
</select><br>
<label for="scenery">Sceneria:</label>
<div id="supported_icon"><img src="emoji/274C.svg" alt=""></div>
<input type="text" id="scenery" placeholder='Nazwa scenerii'></input>
<br>
<label for="point">Przystanek / Stacja:</label>
Expand Down
Loading

0 comments on commit d7ef06c

Please sign in to comment.