Skip to content

Commit 6abeefa

Browse files
authored
Update index.html
1 parent 8569364 commit 6abeefa

File tree

1 file changed

+92
-6
lines changed

1 file changed

+92
-6
lines changed

index.html

Lines changed: 92 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>UIC Pályaszámok</title>
6+
<title>Vonat Pályaszám Ellenőrző</title>
77
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
99
<style>
@@ -17,14 +17,19 @@
1717
height: 40px;
1818
text-align: center;
1919
font-size: 18px;
20+
padding: 0;
21+
margin: 0;
2022
}
2123
@media (max-width: 768px) {
2224
.aa-bb, .c, .ddd, .eee, .f {
2325
gap: 0px; /* Térköz eltávolítása mobilnézetben */
2426
}
2527
input[type="text"] {
26-
width: 30px;
27-
height: 30px;
28+
width: 28px;
29+
height: 28px;
30+
font-size: 16px;
31+
padding: 0;
32+
margin: 0;
2833
}
2934
.button-group {
3035
display: flex;
@@ -33,13 +38,17 @@
3338
margin-top: 10px;
3439
}
3540
}
41+
.input-group {
42+
display: flex;
43+
gap: 2px;
44+
}
3645
</style>
3746
</head>
3847
<body>
3948
<div class="container mt-5">
4049
<h1 class="text-center mb-4">UIC Pályaszám</h1>
4150
<div class="d-flex justify-content-center gap-3 mb-4 flex-wrap">
42-
<div id="container" class="d-flex gap-3">
51+
<div id="container" class="d-flex gap-3 input-group">
4352
<!-- AA BB C DDD EEE F -->
4453
<div class="aa-bb d-flex gap-2"></div>
4554
<div class="c d-flex gap-2"></div>
@@ -83,6 +92,8 @@ <h1 class="text-center mb-4">UIC Pályaszám</h1>
8392
input.style.backgroundColor = "#001f7f"; // sötétkék háttér
8493
input.style.color = "#ffffff"; // fehér betűszín
8594
}
95+
input.style.padding = '0'; // padding eltávolítása
96+
input.style.margin = '0'; // margin eltávolítása
8697
segmentContainer.appendChild(input);
8798
inputFields.push(input);
8899
}
@@ -232,10 +243,85 @@ <h1 class="text-center mb-4">UIC Pályaszám</h1>
232243
}
233244

234245
const countryCodes = {
235-
"55": "Magyarország",
236-
"80": "Németország"
246+
"06": "StL Holland (Stena Line Holland BV) - NL",
247+
"10": "VR (VR-Yhtymä Oy) - FI",
248+
"12": "TRFSA (Transfesa Logistics SA) - ES",
249+
"13": "OSJD (OSJD) - PL",
250+
"14": "CWL (Compagnie des Wagons-Lits) - FR",
251+
"15": "RMF (Rail Manche Finance) - GB",
252+
"16": "RD (RAILDATA) - CH",
253+
"17": "ENS (European Night Services Ltd) - GB",
254+
"18": "THI Factory (THI Factory SA) - BE",
255+
"19": "Eurostar I (Eurostar International Limited) - GB",
256+
"20": "OAO RZD (Joint Stock Company 'Russian Railways') - RU",
257+
"21": "BC (Belarusian Railways) - BY",
258+
"22": "UZ (Ukrainski Zaliznytsi) - UA",
259+
"23": "CFM (Calea Ferată din Moldova) - MD",
260+
"24": "LTG (AB 'Lietuvos geležinkeliai') - LT",
261+
"25": "LDZ (Latvijas dzelzceļš) - LV",
262+
"26": "EVR (Aktsiaselts Eesti Raudtee) - EE",
263+
"27": "KTZ (Kazakhstan Temir Zholy) - KZ",
264+
"28": "GR (Sakartvelos Rkinigza) - GE",
265+
"29": "UTI (Uzbekistan Temir Yullari) - UZ",
266+
"30": "ZC (Railways of D.P.R.K.) - KP",
267+
"31": "UBTZ (Mongolian-Russian Joint-Stock Company 'Ulaanbaatar railway') - MN",
268+
"32": "DSVN (đường sắt Việt Nam) - VN",
269+
"33": "CR (Chinese Railways) - CN",
270+
"41": "HSH (Hekurudha Shqiptarë SH.A.) - AL",
271+
"42": "JR-E (East Japan Railway Company) - ",
272+
"43": "GySEV/Raaberbahn (Győr-Sopron-Ebenfurti Vasút Zrt.) - HU",
273+
"44": "ŽRS (Željeznice Republike Srpske) - BA",
274+
"50": "ŽFBH (J.P. Željeznice Federacije BiH d.o.o.) - BA",
275+
"51": "PKP PLK S.A. (PKP Polskie Linie Kolejowe S.A.) - PL",
276+
"52": "NRIC (National Railway Infrastructure Company) - BG",
277+
"53": "CFR SA (Compania Naţională de Căi Ferate Române) - RO",
278+
"54": "SZCZ (Správa železnic, statni organizace) - CZ",
279+
"55": "MÁV (Magyar Államvasutak Zrt.) - HU",
280+
"56": "ŽSR (Železnice Slovenskej Republiky) - SK",
281+
"57": "ADY (Azerbaidjan Railways CJSC) - AZ",
282+
"58": "CJSC SCR (South Caucasus Railway CJSC) - AM",
283+
"59": "KTJ (Kyrgyz Railways) - KG",
284+
"60": "CIE (Córas Iompair Éireann) - IE",
285+
"61": "KORAIL (Korea Railroad Corporation) - KR",
286+
"63": "BLS N (BLS Netz AG Infrastrukturmanager) - CH",
287+
"64": "FN (Ferrovienord S.p.A.) - IT",
288+
"65": "CFARYM-I (Makedonski Železnici Infrastructure-Skopje) - MK",
289+
"66": "TDZ (Tajikistan Railways) - TJ",
290+
"67": "TRK (Turkmenistan Railways) - TM",
291+
"68": "AAEC (AAE Ahaus Alstätter Eisenbahn Cargo AG) - ",
292+
"69": "EUROT (EUROTUNNEL) - FR",
293+
"70": "Network Rail (Network Rail Limited) - GB",
294+
"71": "ADIF (Administrator de Infraestructuras Ferroviarias) - ES",
295+
"72": "IŽS (Infrastruktura Železnice Srbije) - RS",
296+
"73": "OSE (Organismos Sidirodromon Ellados) - GR",
297+
"74": "TRAFIKVERKET (Trafikverket) - SE",
298+
"75": "TCDD Taşımacılık A.Ş. (Türkiye Cumhuriyeti Devlet Demiryolları Taşımacılık Anonim Şirketi) - TR",
299+
"76": "BN (Bane NOR SF) - NO",
300+
"77": "FS EPA (Ferrovie dello Stato Italiane SpA EPA) - IT",
301+
"78": "HŽ-Infrastruktura (HŽ Infrastruktura d.o.o.) - HR",
302+
"79": "SŽ - Infrastruktura, d.o.o. (Slovenske železnice - Infrastruktura, d.o.o.) - SI",
303+
"80": "DB InfraGO (DB InfraGO Aktiengesellschaft) - DE",
304+
"81": "ÖBB-Holding AG (ÖBB-Holding AG) - AT",
305+
"82": "CFL Infrastructure (Societé Nationale des Chemins de Fer Luxembourgeois) - LU",
306+
"83": "RFI (Rete Ferroviaria Italiana SpA) - IT",
307+
"84": "ProRail (ProRail) - NL",
308+
"85": "SBB Infrastructure (Swiss Federal Railways - Infrastructure) - CH",
309+
"86": "Banedanmark (Banedanmark (RailNet Denmark)) - DK",
310+
"87": "SNCF Réseau (SNCF Réseau SA) - FR",
311+
"88": "Infrabel (Infrabel) - BE",
312+
"90": "ENR (Egyptian National Railways) - EG",
313+
"91": "SNCFT (Société Nationale des Chemins de Fer Tunisiens) - TN",
314+
"92": "SNTF (Société Nationale des Transports Ferroviaires) - DZ",
315+
"93": "ONCF (Office National des Chemins de Fer du Maroc) - MA",
316+
"94": "IP (Infraestruturas de Portugal S.A.) - PT",
317+
"95": "ISR (Israel Railways) - IL",
318+
"96": "RAI (Rahahan-e Djjomhouri-e Eslami Iran) - IR",
319+
"97": "CFS (Administration Générale des Chemins de fer Syriens) - SY",
320+
"98": "CEL (Lebanon Railways) - LB",
321+
"99": "IRR (Iraqi Republic Railways Establishment) - IQ"
237322
};
238323

324+
239325
if (countryCodes[countryCode]) {
240326
infoText += `3-4. számjegy: <b>${countryCodes[countryCode]}</b><br>`;
241327
}

0 commit comments

Comments
 (0)