Comparer les révisions

...
2 Révisions
2 fichiers modifiés avec 32 ajouts et 14 suppressions

Aucun fichier ne correspond à votre recherche

+16 -7
Voir le fichier
@@ -179,6 +179,7 @@ a{color:inherit}
.plein-corps h2{margin:0;font-family:var(--titre);font-weight:600;font-size:26px;line-height:1.15;color:var(--sapin)} .plein-corps h2{margin:0;font-family:var(--titre);font-weight:600;font-size:26px;line-height:1.15;color:var(--sapin)}
.origine{display:inline-flex;flex-direction:column;vertical-align:middle;margin-left:12px;padding:3px 9px;border:1px solid var(--glacier);background:rgba(110,181,189,.14);color:#2f6f78;font-family:var(--texte,inherit);font-size:12px;font-weight:500;line-height:1.25} .origine{display:inline-flex;flex-direction:column;vertical-align:middle;margin-left:12px;padding:3px 9px;border:1px solid var(--glacier);background:rgba(110,181,189,.14);color:#2f6f78;font-family:var(--texte,inherit);font-size:12px;font-weight:500;line-height:1.25}
.origine small{font-size:11px;font-weight:400;color:var(--gris)} .origine small{font-size:11px;font-weight:400;color:var(--gris)}
.origine a{color:#2f6f78;text-decoration:underline;text-underline-offset:2px}
.origine small a{color:#2f6f78;text-decoration:underline;text-underline-offset:2px} .origine small a{color:#2f6f78;text-decoration:underline;text-underline-offset:2px}
.plein-sous{margin:4px 0 0;font-size:13px;color:var(--gris)} .plein-sous{margin:4px 0 0;font-size:13px;color:var(--gris)}
.plein-val{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--pierre)} .plein-val{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--pierre)}
@@ -885,8 +886,8 @@ window.vmReglages = {
// Stations du Vercors relevées dans les notes (Boîte + liste du 16/10) ; valeurs d'exemple (matin d'inversion) // Stations du Vercors relevées dans les notes (Boîte + liste du 16/10) ; valeurs d'exemple (matin d'inversion)
const STATIONS = { const STATIONS = {
'autrans': {nom:'Autrans – L\'Escandille', src:'Météo-France', alt:1069, lat:45.182, lon:5.5522, t:-4.8}, 'autrans': {nom:'Autrans – L\'Escandille', src:'Météo-France', alt:1069, lat:45.182, lon:5.5522, t:-4.8},
'geve': {nom:'Autrans – Gêve nordique', src:'WeatherLink', alt:1353, lat:45.213, lon:5.56, t:-1.6}, 'geve': {nom:'Autrans – Gêve nordique', src:'WeatherLink', alt:1287, lat:45.213, lon:5.56, t:-1.6},
'engins': {nom:'Engins', src:'ROMMA', alt:905, lat:45.1796, lon:5.6172, t:-2.9}, 'engins': {nom:'Engins, le Fournel', src:'ROMMA', alt:905, lat:45.1796, lon:5.6172, t:-2.9},
'meaudre': {nom:'Méaudre', src:'WeatherLink', alt:976, lat:45.1306, lon:5.5288, t:-6.4}, 'meaudre': {nom:'Méaudre', src:'WeatherLink', alt:976, lat:45.1306, lon:5.5288, t:-6.4},
'lans': {nom:'Lans-en-Vercors – village', src:'WeatherLink', alt:1020, lat:45.13, lon:5.60, t:-2.8}, 'lans': {nom:'Lans-en-Vercors – village', src:'WeatherLink', alt:1020, lat:45.13, lon:5.60, t:-2.8},
'bruyeres': {nom:'Lans-en-Vercors – Les Bruyères', src:'WeatherLink', alt:990, lat:45.10, lon:5.57, t:-4.1}, 'bruyeres': {nom:'Lans-en-Vercors – Les Bruyères', src:'WeatherLink', alt:990, lat:45.10, lon:5.57, t:-4.1},
@@ -922,12 +923,20 @@ const GROUPES = [
{nom:'St-Julien-en-Quint', st:['st-julien-q'], sect:'Diois'}, {nom:'St-Julien-en-Quint', st:['st-julien-q'], sect:'Diois'},
]; ];
// Propriétaire des stations « de chez nous » ; 'dispo' = où l'on retrouve aussi la station (jamais Infoclimat en premier) // Propriétaire des stations « de chez nous » ; 'dispo' = où l'on retrouve aussi la station (jamais Infoclimat en premier)
const PROPRIO = {lans:'Station Gastinel', moucherolle:'Station Gastinel', // Propriétaires dans l'ordre donné par Richard Gastinel (feuille du 05/11/2026).
geve:'Station Richard Gastinel', allieres:'Station Richard Gastinel', bruyeres:'Station Richard Gastinel', // Liens publics des propriétaires (donnés par Théo le 05/11/2026)
darbounouse:'Station Richard Gastinel', oscence:'Station Richard Gastinel', meaudre:'Station Gastinel'}; const PROPRIO_LIEN = {'Enzo Minelli (Auberge des Allières)': 'https://www.aubergedesallieres.com/accueil.htm',
'Cédric Favant': 'https://www.infoclimat.fr/profil-membre-71-ced30.html'};
const PROPRIO = {lans:['Station Gastinel'], moucherolle:['Station Gastinel'],
geve:['Mairie d\'Autrans-Méaudre', 'Fabrice Empereur-Mot', 'Richard Gastinel'],
meaudre:['Mairie d\'Autrans-Méaudre', 'Richard Gastinel'],
allieres:['Mairie de Lans-en-Vercors', 'Enzo Minelli (Auberge des Allières)', 'Richard Gastinel'],
bruyeres:['Pierre Eymard-Biron', 'Richard Gastinel'],
darbounouse:['Département', 'Infoclimat', 'Cédric Favant', 'Richard Gastinel'],
oscence:['Cédric Favant', 'Richard Gastinel']};
// Pages publiques de chaque station (vérifiées le 04/11/2026). Pas de lien WeatherLink. // Pages publiques de chaque station (vérifiées le 04/11/2026). Pas de lien WeatherLink.
const ROMMA_ID = {bruyeres:80, geve:294, moucherolle:772, villard:578, allieres:133, engins:139, meaudre:266, oscence:705, darbounouse:762, const ROMMA_ID = {bruyeres:80, geve:294, moucherolle:772, villard:578, allieres:133, engins:139, meaudre:266, oscence:705, darbounouse:762,
die:159, 'st-julien-q':158, archiane:212, gresse:131}; die:159, 'st-julien-q':158, archiane:212}; // Gresse : station Météo-France (la 131 de ROMMA est une autre station)
const IC_ID = {bruyeres:'000T0', allieres:'000GS', engins:'000HT', meaudre:'000IA', geve:'000IL', const IC_ID = {bruyeres:'000T0', allieres:'000GS', engins:'000HT', meaudre:'000IA', geve:'000IL',
moucherolle:'STATIC0479', darbounouse:'STATIC0213', oscence:'000UF', die:'000PD', 'st-julien-q':'000OS', archiane:'000ZK'}; moucherolle:'STATIC0479', darbounouse:'STATIC0213', oscence:'000UF', die:'000PD', 'st-julien-q':'000OS', archiane:'000ZK'};
const MF_PAGE = {autrans:'autrans/38880', villard:'villard-de-lans/38250', chapelle:'la-chapelle-en-vercors/26420', const MF_PAGE = {autrans:'autrans/38880', villard:'villard-de-lans/38250', chapelle:'la-chapelle-en-vercors/26420',
@@ -941,7 +950,7 @@ function liens(id){
} }
function origine(id){ function origine(id){
const s = STATIONS[id], p = PROPRIO[id], l = liens(id); const s = STATIONS[id], p = PROPRIO[id], l = liens(id);
if (p) return {titre: p, aussi: 'WeatherLink' + (l ? ' · ' + l : '')}; if (p) return {titre: p.map(n => PROPRIO_LIEN[n] ? `<a href="${PROPRIO_LIEN[n]}" target="_blank" rel="noopener">${n}</a>` : n).join(' · '), aussi: 'WeatherLink' + (l ? ' · ' + l : '')};
const src = (ROMMA_ID[id] && !MF_PAGE[id]) ? 'ROMMA' : (s.src || ''); // autorisées par ROMMA (relais technique Infoclimat) const src = (ROMMA_ID[id] && !MF_PAGE[id]) ? 'ROMMA' : (s.src || ''); // autorisées par ROMMA (relais technique Infoclimat)
return {titre: src ? t('vient', src) : '', aussi: l ? t('voir.station') + l : ''}; return {titre: src ? t('vient', src) : '', aussi: l ? t('voir.station') + l : ''};
} }
+16 -7
Voir le fichier
@@ -179,6 +179,7 @@ a{color:inherit}
.plein-corps h2{margin:0;font-family:var(--titre);font-weight:600;font-size:26px;line-height:1.15;color:var(--sapin)} .plein-corps h2{margin:0;font-family:var(--titre);font-weight:600;font-size:26px;line-height:1.15;color:var(--sapin)}
.origine{display:inline-flex;flex-direction:column;vertical-align:middle;margin-left:12px;padding:3px 9px;border:1px solid var(--glacier);background:rgba(110,181,189,.14);color:#2f6f78;font-family:var(--texte,inherit);font-size:12px;font-weight:500;line-height:1.25} .origine{display:inline-flex;flex-direction:column;vertical-align:middle;margin-left:12px;padding:3px 9px;border:1px solid var(--glacier);background:rgba(110,181,189,.14);color:#2f6f78;font-family:var(--texte,inherit);font-size:12px;font-weight:500;line-height:1.25}
.origine small{font-size:11px;font-weight:400;color:var(--gris)} .origine small{font-size:11px;font-weight:400;color:var(--gris)}
.origine a{color:#2f6f78;text-decoration:underline;text-underline-offset:2px}
.origine small a{color:#2f6f78;text-decoration:underline;text-underline-offset:2px} .origine small a{color:#2f6f78;text-decoration:underline;text-underline-offset:2px}
.plein-sous{margin:4px 0 0;font-size:13px;color:var(--gris)} .plein-sous{margin:4px 0 0;font-size:13px;color:var(--gris)}
.plein-val{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--pierre)} .plein-val{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--pierre)}
@@ -885,8 +886,8 @@ window.vmReglages = {
// Stations du Vercors relevées dans les notes (Boîte + liste du 16/10) ; valeurs d'exemple (matin d'inversion) // Stations du Vercors relevées dans les notes (Boîte + liste du 16/10) ; valeurs d'exemple (matin d'inversion)
const STATIONS = { const STATIONS = {
'autrans': {nom:'Autrans – L\'Escandille', src:'Météo-France', alt:1069, lat:45.182, lon:5.5522, t:-4.8}, 'autrans': {nom:'Autrans – L\'Escandille', src:'Météo-France', alt:1069, lat:45.182, lon:5.5522, t:-4.8},
'geve': {nom:'Autrans – Gêve nordique', src:'WeatherLink', alt:1353, lat:45.213, lon:5.56, t:-1.6}, 'geve': {nom:'Autrans – Gêve nordique', src:'WeatherLink', alt:1287, lat:45.213, lon:5.56, t:-1.6},
'engins': {nom:'Engins', src:'ROMMA', alt:905, lat:45.1796, lon:5.6172, t:-2.9}, 'engins': {nom:'Engins, le Fournel', src:'ROMMA', alt:905, lat:45.1796, lon:5.6172, t:-2.9},
'meaudre': {nom:'Méaudre', src:'WeatherLink', alt:976, lat:45.1306, lon:5.5288, t:-6.4}, 'meaudre': {nom:'Méaudre', src:'WeatherLink', alt:976, lat:45.1306, lon:5.5288, t:-6.4},
'lans': {nom:'Lans-en-Vercors – village', src:'WeatherLink', alt:1020, lat:45.13, lon:5.60, t:-2.8}, 'lans': {nom:'Lans-en-Vercors – village', src:'WeatherLink', alt:1020, lat:45.13, lon:5.60, t:-2.8},
'bruyeres': {nom:'Lans-en-Vercors – Les Bruyères', src:'WeatherLink', alt:990, lat:45.10, lon:5.57, t:-4.1}, 'bruyeres': {nom:'Lans-en-Vercors – Les Bruyères', src:'WeatherLink', alt:990, lat:45.10, lon:5.57, t:-4.1},
@@ -922,12 +923,20 @@ const GROUPES = [
{nom:'St-Julien-en-Quint', st:['st-julien-q'], sect:'Diois'}, {nom:'St-Julien-en-Quint', st:['st-julien-q'], sect:'Diois'},
]; ];
// Propriétaire des stations « de chez nous » ; 'dispo' = où l'on retrouve aussi la station (jamais Infoclimat en premier) // Propriétaire des stations « de chez nous » ; 'dispo' = où l'on retrouve aussi la station (jamais Infoclimat en premier)
const PROPRIO = {lans:'Station Gastinel', moucherolle:'Station Gastinel', // Propriétaires dans l'ordre donné par Richard Gastinel (feuille du 05/11/2026).
geve:'Station Richard Gastinel', allieres:'Station Richard Gastinel', bruyeres:'Station Richard Gastinel', // Liens publics des propriétaires (donnés par Théo le 05/11/2026)
darbounouse:'Station Richard Gastinel', oscence:'Station Richard Gastinel', meaudre:'Station Gastinel'}; const PROPRIO_LIEN = {'Enzo Minelli (Auberge des Allières)': 'https://www.aubergedesallieres.com/accueil.htm',
'Cédric Favant': 'https://www.infoclimat.fr/profil-membre-71-ced30.html'};
const PROPRIO = {lans:['Station Gastinel'], moucherolle:['Station Gastinel'],
geve:['Mairie d\'Autrans-Méaudre', 'Fabrice Empereur-Mot', 'Richard Gastinel'],
meaudre:['Mairie d\'Autrans-Méaudre', 'Richard Gastinel'],
allieres:['Mairie de Lans-en-Vercors', 'Enzo Minelli (Auberge des Allières)', 'Richard Gastinel'],
bruyeres:['Pierre Eymard-Biron', 'Richard Gastinel'],
darbounouse:['Département', 'Infoclimat', 'Cédric Favant', 'Richard Gastinel'],
oscence:['Cédric Favant', 'Richard Gastinel']};
// Pages publiques de chaque station (vérifiées le 04/11/2026). Pas de lien WeatherLink. // Pages publiques de chaque station (vérifiées le 04/11/2026). Pas de lien WeatherLink.
const ROMMA_ID = {bruyeres:80, geve:294, moucherolle:772, villard:578, allieres:133, engins:139, meaudre:266, oscence:705, darbounouse:762, const ROMMA_ID = {bruyeres:80, geve:294, moucherolle:772, villard:578, allieres:133, engins:139, meaudre:266, oscence:705, darbounouse:762,
die:159, 'st-julien-q':158, archiane:212, gresse:131}; die:159, 'st-julien-q':158, archiane:212}; // Gresse : station Météo-France (la 131 de ROMMA est une autre station)
const IC_ID = {bruyeres:'000T0', allieres:'000GS', engins:'000HT', meaudre:'000IA', geve:'000IL', const IC_ID = {bruyeres:'000T0', allieres:'000GS', engins:'000HT', meaudre:'000IA', geve:'000IL',
moucherolle:'STATIC0479', darbounouse:'STATIC0213', oscence:'000UF', die:'000PD', 'st-julien-q':'000OS', archiane:'000ZK'}; moucherolle:'STATIC0479', darbounouse:'STATIC0213', oscence:'000UF', die:'000PD', 'st-julien-q':'000OS', archiane:'000ZK'};
const MF_PAGE = {autrans:'autrans/38880', villard:'villard-de-lans/38250', chapelle:'la-chapelle-en-vercors/26420', const MF_PAGE = {autrans:'autrans/38880', villard:'villard-de-lans/38250', chapelle:'la-chapelle-en-vercors/26420',
@@ -941,7 +950,7 @@ function liens(id){
} }
function origine(id){ function origine(id){
const s = STATIONS[id], p = PROPRIO[id], l = liens(id); const s = STATIONS[id], p = PROPRIO[id], l = liens(id);
if (p) return {titre: p, aussi: 'WeatherLink' + (l ? ' · ' + l : '')}; if (p) return {titre: p.map(n => PROPRIO_LIEN[n] ? `<a href="${PROPRIO_LIEN[n]}" target="_blank" rel="noopener">${n}</a>` : n).join(' · '), aussi: 'WeatherLink' + (l ? ' · ' + l : '')};
const src = (ROMMA_ID[id] && !MF_PAGE[id]) ? 'ROMMA' : (s.src || ''); // autorisées par ROMMA (relais technique Infoclimat) const src = (ROMMA_ID[id] && !MF_PAGE[id]) ? 'ROMMA' : (s.src || ''); // autorisées par ROMMA (relais technique Infoclimat)
return {titre: src ? t('vient', src) : '', aussi: l ? t('voir.station') + l : ''}; return {titre: src ? t('vient', src) : '', aussi: l ? t('voir.station') + l : ''};
} }