forked from FroSteel/Planification
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0b08ca122b | |||
| 87f561ae10 | |||
| be49a89057 | |||
| e42b145401 | |||
| 7201fde2d3 |
+221
-87
@@ -1,13 +1,18 @@
|
||||
// background.js — Service worker (Manifest V3)
|
||||
// background.js — Service worker (Manifest V3) — v4
|
||||
//
|
||||
// Rôles :
|
||||
// 1. Au clic sur l'icône : ouvrir le viewer
|
||||
// 2. Répondre aux messages du viewer :
|
||||
// - getSession : trouve l'onglet EasyVista ouvert, renvoie {phpsessid, origin}
|
||||
// - fetchPlanning : fetch le XML du planning pour une date
|
||||
// - fetchFiche : fetch une fiche individuelle (HTML)
|
||||
// 3. Programmer les alarmes de refresh auto (12h, 15h)
|
||||
// 4. Nettoyer les vieux caches (>7 jours)
|
||||
// - fetchPlanning : fetch le XML du planning pour une date (1 requête = tout)
|
||||
// - fetchXhr2 : fetch un texte d'action détaillé (utilisé en lazy-load au survol)
|
||||
// - fetchFiche : fetch une fiche individuelle (HTML) pour statut + commentaire tech
|
||||
// 3. Nettoyer les vieux caches (>7 jours)
|
||||
// (v4.2 : l'auto-refresh 12h/15h a été retiré)
|
||||
//
|
||||
// v4 : suppression de fetchTimeline (pu utilisé). Le calendar_block contient
|
||||
// directement ref/contact/lieu/catégorie dans ses attributs attr1/attr2/attr3,
|
||||
// donc on n'a plus besoin ni de xhr2 en masse, ni de l'API timeline.
|
||||
|
||||
// Domaines EasyVista reconnus (interne d'abord, externe en fallback)
|
||||
const EV_ORIGINS = [
|
||||
@@ -82,12 +87,30 @@ async function fetchPlanningXml(origin, phpsessid, unixDate) {
|
||||
console.log("[bg] fetchPlanningXml →", url.substring(0, 140));
|
||||
const r = await fetch(url, { credentials: "include" });
|
||||
console.log("[bg] status =", r.status);
|
||||
if (!r.ok) throw new Error("HTTP " + r.status);
|
||||
if (!r.ok) {
|
||||
// v4.2 : classifier l'erreur HTTP pour que le viewer affiche le bon
|
||||
// écran (session expirée vs EV inaccessible).
|
||||
const err = new Error("HTTP " + r.status);
|
||||
err.kind = classifyHttpStatus(r.status);
|
||||
err.status = r.status;
|
||||
throw err;
|
||||
}
|
||||
const xml = await r.text();
|
||||
console.log("[bg] taille XML =", xml.length);
|
||||
return xml;
|
||||
}
|
||||
|
||||
/**
|
||||
* v4.2 : classifie un statut HTTP comme "session_expired" ou "ev_unreachable".
|
||||
* - 401, 403, 404 → session_expired (EV renvoie souvent 404 au lieu de rediriger
|
||||
* vers la page de login quand PHPSESSID n'est plus valide)
|
||||
* - 5xx, autres → ev_unreachable (service down, surcharge, etc.)
|
||||
*/
|
||||
function classifyHttpStatus(status) {
|
||||
if (status === 401 || status === 403 || status === 404) return "session_expired";
|
||||
return "ev_unreachable";
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch planning_xhr_2.php?id=ACTIONID pour UNE intervention.
|
||||
* Retourne ~400 octets au format custom :
|
||||
@@ -96,7 +119,12 @@ async function fetchPlanningXml(origin, phpsessid, unixDate) {
|
||||
async function fetchXhr2(origin, phpsessid, actionId) {
|
||||
const url = `${origin}/planning_xhr_2.php?PHPSESSID=${encodeURIComponent(phpsessid)}&id=${encodeURIComponent(actionId)}`;
|
||||
const r = await fetch(url, { credentials: "include" });
|
||||
if (!r.ok) throw new Error("HTTP " + r.status);
|
||||
if (!r.ok) {
|
||||
const err = new Error("HTTP " + r.status);
|
||||
err.kind = classifyHttpStatus(r.status);
|
||||
err.status = r.status;
|
||||
throw err;
|
||||
}
|
||||
return await r.text();
|
||||
}
|
||||
|
||||
@@ -104,46 +132,45 @@ async function fetchFicheHtml(origin, phpsessid, formLink) {
|
||||
const url = `${origin}/index.php?${formLink}&PHPSESSID=${encodeURIComponent(phpsessid)}`;
|
||||
console.log("[bg] fetchFicheHtml →", url.substring(0, 120));
|
||||
const r = await fetch(url, { credentials: "include" });
|
||||
if (!r.ok) throw new Error("HTTP " + r.status);
|
||||
if (!r.ok) {
|
||||
const err = new Error("HTTP " + r.status);
|
||||
err.kind = classifyHttpStatus(r.status);
|
||||
err.status = r.status;
|
||||
throw err;
|
||||
}
|
||||
const html = await r.text();
|
||||
console.log("[bg] fiche status =", r.status, "| taille =", html.length);
|
||||
return html;
|
||||
}
|
||||
|
||||
// GUID du "sender" du menu/workflow — observé dans les URLs EasyVista du planning.
|
||||
// Le sender du formLink du XML planning est {9C395E45-...} mais l'API timeline
|
||||
// utilise le sender de la FICHE parent ({C99ECD05-...}).
|
||||
const TIMELINE_SENDER = "%7BC99ECD05-3D48-4C62-ABF0-66292053AED6%7D";
|
||||
|
||||
/**
|
||||
* Fetch l'API timeline JSON pour récupérer le texte des actions d'une fiche.
|
||||
* Params :
|
||||
* - target : ID interne de la fiche (pas l'action_id)
|
||||
* - checksum : checksum frais extrait depuis le HTML de la fiche
|
||||
* Retour : texte JSON de l'API, ou null en cas d'erreur.
|
||||
*/
|
||||
async function fetchTimelineJson(origin, phpsessid, target, checksum) {
|
||||
const url =
|
||||
`${origin}/api/v1/internal/forms/${TIMELINE_SENDER}/timeline` +
|
||||
`?target=${encodeURIComponent(target)}` +
|
||||
`&checksum=${encodeURIComponent(checksum)}` +
|
||||
`&type=todo` +
|
||||
`§ionId=1` +
|
||||
`&navigator=` +
|
||||
`&nbRecord=0` +
|
||||
`&PHPSESSID=${encodeURIComponent(phpsessid)}`;
|
||||
console.log("[bg] fetchTimelineJson →", url.substring(0, 120));
|
||||
const r = await fetch(url, {
|
||||
credentials: "include",
|
||||
headers: {
|
||||
"Accept": "application/json",
|
||||
"X-Requested-With": "XMLHttpRequest"
|
||||
// v4.1.7 : API timeline EasyVista. Renvoie le JSON des actions d'une fiche,
|
||||
// avec pour chaque action : intervenant, ACTION_ID, AM_DONE_BY_ID, description
|
||||
// complète (bien plus riche que le xhr2 tronqué).
|
||||
// Utilisé pour afficher le texte complet de l'action dans le tooltip.
|
||||
// v4.1.9 : le GUID du form est passé en paramètre (extrait dynamiquement du
|
||||
// HTML de la fiche par le viewer). Il est différent pour une demande S...
|
||||
// ({C99ECD05}) vs un incident I... ({07ED9C68}).
|
||||
async function fetchTimelineApi(origin, phpsessid, guid, formId, formChecksum) {
|
||||
// Sécurité : GUID doit être de la forme %7B...%7D ou {...}
|
||||
if (!/^(%7B|\{)[A-F0-9\-]{36}(%7D|\})$/i.test(guid)) {
|
||||
throw new Error("Invalid GUID: " + guid);
|
||||
}
|
||||
});
|
||||
if (!r.ok) throw new Error("HTTP " + r.status);
|
||||
const body = await r.text();
|
||||
console.log("[bg] timeline status =", r.status, "| taille =", body.length);
|
||||
return body;
|
||||
// S'assurer qu'on a la forme encodée %7B...%7D
|
||||
const encodedGuid = guid.startsWith("%7B") ? guid : `%7B${guid.replace(/[{}]/g, "")}%7D`;
|
||||
const url =
|
||||
`${origin}/api/v1/internal/forms/${encodedGuid}/timeline` +
|
||||
`?target=${encodeURIComponent(formId)}` +
|
||||
`&checksum=${encodeURIComponent(formChecksum)}` +
|
||||
`&type=todo§ionId=1&navigator=&nbRecord=0` +
|
||||
`&PHPSESSID=${encodeURIComponent(phpsessid)}`;
|
||||
const r = await fetch(url, { credentials: "include" });
|
||||
if (!r.ok) {
|
||||
const err = new Error("HTTP " + r.status);
|
||||
err.kind = classifyHttpStatus(r.status);
|
||||
err.status = r.status;
|
||||
throw err;
|
||||
}
|
||||
return await r.text();
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
@@ -155,6 +182,93 @@ function looksLikeLoginPage(text) {
|
||||
return /customer_login|my\.policy/i.test((text || "").substring(0, 3000));
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// v4.2 : récupération de l'utilisateur connecté
|
||||
// ============================================================================
|
||||
|
||||
/**
|
||||
* Essaie de récupérer le nom de l'utilisateur EasyVista connecté en fetchant
|
||||
* la page d'accueil avec la session active. EasyVista n'exposant pas
|
||||
* d'endpoint public simple, on cherche des patterns typiques dans le HTML :
|
||||
* - <title>...Nom, Prénom...</title>
|
||||
* - éléments avec data-user-name, data-user-login
|
||||
* - balises cachées ou variables JS EV.User.name
|
||||
* - champ "Bienvenue Nom Prénom"
|
||||
* Retourne { name: "Nom Prénom" | null, login: "..." | null } ou null si
|
||||
* tout a échoué.
|
||||
*/
|
||||
async function fetchCurrentUser(origin, phpsessid) {
|
||||
const url = `${origin}/index.php?PHPSESSID=${encodeURIComponent(phpsessid)}`;
|
||||
const resp = await fetch(url, {
|
||||
method: "GET",
|
||||
credentials: "include",
|
||||
headers: { "Accept": "text/html,*/*" }
|
||||
});
|
||||
// v4.2 : cette fonction est lancée en tâche de fond au démarrage. Si la
|
||||
// session est expirée ou EV inaccessible, on retourne juste null — le
|
||||
// planning lui-même déclenchera l'écran d'erreur approprié.
|
||||
if (!resp.ok) return null;
|
||||
const html = await resp.text();
|
||||
if (looksLikeLoginPage(html)) return null;
|
||||
|
||||
// Essais de patterns (du plus spécifique au plus générique)
|
||||
const patterns = [
|
||||
// Attribut data-user-name (si EasyVista l'expose)
|
||||
/data-user-name\s*=\s*["']([^"']+)["']/i,
|
||||
/data-username\s*=\s*["']([^"']+)["']/i,
|
||||
/data-user-fullname\s*=\s*["']([^"']+)["']/i,
|
||||
// Variable JS typique EasyVista
|
||||
/EV\.User\.name\s*=\s*["']([^"']+)["']/,
|
||||
/EV\.User\.fullname\s*=\s*["']([^"']+)["']/,
|
||||
/userFullName\s*[:=]\s*["']([^"']+)["']/,
|
||||
/currentUser(?:Name)?\s*[:=]\s*["']([^"']+)["']/,
|
||||
// Balises cachées ou spans avec classe "user"
|
||||
/<(?:span|div)[^>]*class=["'][^"']*(?:user[_-]?(?:name|full|display))[^"']*["'][^>]*>([^<]{2,80})<\/(?:span|div)>/i,
|
||||
// "Bienvenue" / "Welcome"
|
||||
/(?:Bienvenue|Welcome)[,\s]+(?:M\.?\s+|Mme\s+)?([A-ZÀÁÂÄÇÉÈÊËÍÎÏÓÔÖÚÛÜÑ][\wÀ-ÿ'.\-]+(?:\s*,?\s+[A-ZÀÁÂÄÇÉÈÊËÍÎÏÓÔÖÚÛÜÑ][\wÀ-ÿ'.\-]+){0,3})/,
|
||||
// Title de la page (souvent "EasyVista - Nom Prénom")
|
||||
/<title>([^<]*)<\/title>/i
|
||||
];
|
||||
|
||||
let name = null;
|
||||
for (const rx of patterns) {
|
||||
const m = html.match(rx);
|
||||
if (m && m[1]) {
|
||||
const candidate = m[1].trim()
|
||||
.replace(/\s+/g, " ")
|
||||
// Enlever des éléments du <title> type "EasyVista" / "Planning" / etc.
|
||||
.replace(/^(?:EasyVista|EV|Accueil|Home|Planning|ITSMA)[\s\-|•]+/i, "")
|
||||
.replace(/[\s\-|•]+(?:EasyVista|EV|ITSMA)$/i, "")
|
||||
.trim();
|
||||
if (candidate && candidate.length >= 3 && candidate.length <= 80
|
||||
&& /[A-Za-zÀ-ÿ]/.test(candidate)
|
||||
&& !/\b(login|connexion|sign\s*in|easyvista|ITSMA)\b/i.test(candidate)) {
|
||||
name = candidate;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Chercher aussi le login (ID court) — utile comme fallback secondaire
|
||||
let login = null;
|
||||
const loginPatterns = [
|
||||
/data-user-login\s*=\s*["']([^"']+)["']/i,
|
||||
/data-login\s*=\s*["']([^"']+)["']/i,
|
||||
/EV\.User\.login\s*=\s*["']([^"']+)["']/,
|
||||
/userLogin\s*[:=]\s*["']([^"']+)["']/
|
||||
];
|
||||
for (const rx of loginPatterns) {
|
||||
const m = html.match(rx);
|
||||
if (m && m[1]) {
|
||||
login = m[1].trim();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!name && !login) return null;
|
||||
return { name, login };
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// Messages du viewer
|
||||
// ============================================================================
|
||||
@@ -174,6 +288,7 @@ chrome.runtime.onMessage.addListener((msg, sender, sendResponse) => {
|
||||
sendResponse({ ok: false, error: "no_session" });
|
||||
return;
|
||||
}
|
||||
try {
|
||||
// Fetch XML calendar_block du planning (rapide ~40 ko)
|
||||
const xml = await fetchPlanningXml(session.origin, session.phpsessid, msg.unixDate);
|
||||
if (looksLikeLoginPage(xml)) {
|
||||
@@ -181,6 +296,13 @@ chrome.runtime.onMessage.addListener((msg, sender, sendResponse) => {
|
||||
return;
|
||||
}
|
||||
sendResponse({ ok: true, xml, session });
|
||||
} catch (err) {
|
||||
// v4.2 : classification de l'erreur pour afficher le bon écran
|
||||
const errorCode = err.kind || (
|
||||
/network|fetch|typeerror/i.test(err.message) ? "ev_unreachable" : "ev_unreachable"
|
||||
);
|
||||
sendResponse({ ok: false, error: errorCode, httpStatus: err.status, detail: err.message });
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -194,7 +316,12 @@ chrome.runtime.onMessage.addListener((msg, sender, sendResponse) => {
|
||||
const body = await fetchXhr2(session.origin, session.phpsessid, msg.actionId);
|
||||
sendResponse({ ok: true, body });
|
||||
} catch (err) {
|
||||
sendResponse({ ok: false, error: String(err) });
|
||||
sendResponse({
|
||||
ok: false,
|
||||
error: err.kind || "fetch_failed",
|
||||
httpStatus: err.status,
|
||||
detail: err.message || String(err)
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -205,36 +332,67 @@ chrome.runtime.onMessage.addListener((msg, sender, sendResponse) => {
|
||||
sendResponse({ ok: false, error: "no_session" });
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const html = await fetchFicheHtml(session.origin, session.phpsessid, msg.formLink);
|
||||
if (looksLikeLoginPage(html)) {
|
||||
sendResponse({ ok: false, error: "session_expired" });
|
||||
return;
|
||||
}
|
||||
sendResponse({ ok: true, html, session });
|
||||
} catch (err) {
|
||||
sendResponse({
|
||||
ok: false,
|
||||
error: err.kind || "fetch_failed",
|
||||
httpStatus: err.status,
|
||||
detail: err.message || String(err)
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (msg.type === "fetchTimeline") {
|
||||
if (msg.type === "fetchTimelineApi") {
|
||||
const session = await findEasyVistaSession();
|
||||
if (!session) {
|
||||
sendResponse({ ok: false, error: "no_session" });
|
||||
return;
|
||||
}
|
||||
const body = await fetchTimelineJson(
|
||||
session.origin, session.phpsessid, msg.target, msg.checksum
|
||||
try {
|
||||
const body = await fetchTimelineApi(
|
||||
session.origin, session.phpsessid,
|
||||
msg.guid, msg.formId, msg.formChecksum
|
||||
);
|
||||
// Si on reçoit du HTML au lieu de JSON, c'est une page d'erreur / login
|
||||
if (body.trimStart().startsWith("<")) {
|
||||
sendResponse({ ok: false, error: "not_json" });
|
||||
if (looksLikeLoginPage(body)) {
|
||||
sendResponse({ ok: false, error: "session_expired" });
|
||||
return;
|
||||
}
|
||||
sendResponse({ ok: true, body });
|
||||
} catch (err) {
|
||||
sendResponse({
|
||||
ok: false,
|
||||
error: err.kind || "fetch_failed",
|
||||
httpStatus: err.status,
|
||||
detail: err.message || String(err)
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (msg.type === "scheduleAutoRefresh") {
|
||||
scheduleAutoRefreshAlarms();
|
||||
sendResponse({ ok: true });
|
||||
if (msg.type === "fetchCurrentUser") {
|
||||
// v4.2 : essaie d'identifier l'utilisateur EasyVista connecté en
|
||||
// fetchant la page d'accueil et en cherchant dans le HTML un champ
|
||||
// contenant son nom. Si on trouve rien, on renvoie { ok: true,
|
||||
// user: null } pour que l'UI sache qu'on n'a pas pu.
|
||||
const session = await findEasyVistaSession();
|
||||
if (!session) {
|
||||
sendResponse({ ok: false, error: "no_session" });
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const user = await fetchCurrentUser(session.origin, session.phpsessid);
|
||||
sendResponse({ ok: true, user });
|
||||
} catch (err) {
|
||||
sendResponse({ ok: false, error: String(err) });
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -256,44 +414,20 @@ chrome.runtime.onMessage.addListener((msg, sender, sendResponse) => {
|
||||
});
|
||||
|
||||
// ============================================================================
|
||||
// Alarmes : refresh auto 12h / 15h
|
||||
// v4.2 : les alarmes d'auto-refresh 12h/15h ont été supprimées. Seul le
|
||||
// nettoyage quotidien des caches > 7 jours reste.
|
||||
// On supprime aussi activement les anciennes alarmes créées par les
|
||||
// versions précédentes pour éviter qu'elles restent programmées.
|
||||
// ============================================================================
|
||||
|
||||
function scheduleAutoRefreshAlarms() {
|
||||
// Calculer le prochain 12h et 15h à partir de maintenant
|
||||
const now = new Date();
|
||||
|
||||
function nextAt(hour, minute) {
|
||||
const d = new Date();
|
||||
d.setHours(hour, minute, 0, 0);
|
||||
if (d <= now) d.setDate(d.getDate() + 1);
|
||||
return d.getTime();
|
||||
}
|
||||
|
||||
chrome.alarms.create("refresh_12h", {
|
||||
when: nextAt(12, 0),
|
||||
periodInMinutes: 24 * 60 // tous les jours
|
||||
});
|
||||
chrome.alarms.create("refresh_15h", {
|
||||
when: nextAt(15, 0),
|
||||
periodInMinutes: 24 * 60
|
||||
});
|
||||
}
|
||||
|
||||
chrome.alarms.onAlarm.addListener(async (alarm) => {
|
||||
if (alarm.name === "refresh_12h" || alarm.name === "refresh_15h") {
|
||||
// Envoyer un message à tous les viewers ouverts pour qu'ils se rafraîchissent
|
||||
const viewerUrl = chrome.runtime.getURL("viewer.html");
|
||||
const tabs = await chrome.tabs.query({ url: viewerUrl + "*" });
|
||||
for (const tab of tabs) {
|
||||
async function clearLegacyRefreshAlarms() {
|
||||
try {
|
||||
await chrome.tabs.sendMessage(tab.id, { type: "autoRefresh" });
|
||||
} catch {
|
||||
// Onglet fermé ou pas réactif, on ignore
|
||||
await chrome.alarms.clear("refresh_12h");
|
||||
await chrome.alarms.clear("refresh_15h");
|
||||
} catch (e) {
|
||||
console.warn("clearLegacyRefreshAlarms:", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// ============================================================================
|
||||
// Nettoyage caches > 7 jours
|
||||
@@ -319,13 +453,13 @@ async function cleanupOldCaches(daysToKeep) {
|
||||
return toRemove.length;
|
||||
}
|
||||
|
||||
// Au démarrage, programmer les alarmes et nettoyer
|
||||
// Au démarrage, nettoyer les anciennes alarmes et les anciens caches
|
||||
chrome.runtime.onInstalled.addListener(() => {
|
||||
scheduleAutoRefreshAlarms();
|
||||
clearLegacyRefreshAlarms();
|
||||
cleanupOldCaches(7).catch(err => console.warn("cleanup:", err));
|
||||
});
|
||||
|
||||
chrome.runtime.onStartup.addListener(() => {
|
||||
scheduleAutoRefreshAlarms();
|
||||
clearLegacyRefreshAlarms();
|
||||
cleanupOldCaches(7).catch(err => console.warn("cleanup:", err));
|
||||
});
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Planning Techniciens — Vue claire",
|
||||
"version": "3.3.0",
|
||||
"description": "Vue claire du planning EasyVista (itsma.etat-de-vaud.ch et itsma.vd.ch) avec navigation par date, détection automatique des interventions closes et cache 7 jours.",
|
||||
"version": "4.2.1",
|
||||
"description": "Vue claire du planning EasyVista (itsma.etat-de-vaud.ch et itsma.vd.ch). v4.2.1 : messages d'erreur clairs (session expirée vs EasyVista inaccessible) avec bouton Ouvrir EasyVista et Réessayer, vouvoiement uniformisé. Inclut v4.2.0 : contact + personne de contact sur site avec anomalie rouge, parser téléphone élargi (41XXX sans +), sélection texte dans la bulle sans épingler, utilisateur EV connecté en haut, suppression auto-refresh 12h/15h.",
|
||||
"permissions": [
|
||||
"activeTab",
|
||||
"scripting",
|
||||
|
||||
+421
-6
@@ -171,6 +171,110 @@ html, body {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Bannière de session expirée (v4.1.12) — sticky sous la topbar, non bloquante */
|
||||
.session-banner {
|
||||
position: sticky;
|
||||
top: 56px;
|
||||
z-index: 8;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 10px 16px;
|
||||
background: linear-gradient(90deg, #7a1f1f, #8b2a2a);
|
||||
color: #fff;
|
||||
border-bottom: 1px solid #5a1515;
|
||||
font-size: 13px;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.25);
|
||||
}
|
||||
.session-banner.hidden {
|
||||
display: none;
|
||||
}
|
||||
.session-banner-icon {
|
||||
font-size: 18px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.session-banner-text {
|
||||
flex: 1;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.session-banner .btn-primary {
|
||||
background: #fff;
|
||||
color: #7a1f1f;
|
||||
border: 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
.session-banner .btn-primary:hover {
|
||||
background: #f0f0f0;
|
||||
}
|
||||
.session-banner .btn-sm {
|
||||
padding: 4px 12px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.session-banner .btn-icon {
|
||||
background: transparent;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
.session-banner .btn-icon:hover {
|
||||
background: rgba(255,255,255,0.15);
|
||||
}
|
||||
|
||||
/* Barre de progression pendant le rafraîchissement — v4.1.12 : texte
|
||||
toujours lisible, que la zone verte l'ait atteint ou non (utilise
|
||||
mix-blend-mode:difference pour inverser la couleur du texte là où la
|
||||
barre verte est dessous). */
|
||||
.progress-bar {
|
||||
position: sticky;
|
||||
top: 56px;
|
||||
z-index: 9;
|
||||
height: 22px;
|
||||
/* v4.1.17 : backdrop-blur sur toute la barre → ce qui défile derrière
|
||||
est légèrement flouté sur TOUTE la largeur. Pas d'opacité sombre
|
||||
ajoutée, transparence préservée. */
|
||||
background: rgba(128, 128, 128, 0.08);
|
||||
backdrop-filter: blur(3px);
|
||||
-webkit-backdrop-filter: blur(3px);
|
||||
border-bottom: 1px solid var(--border, rgba(128, 128, 128, 0.2));
|
||||
overflow: hidden;
|
||||
}
|
||||
.progress-bar.hidden {
|
||||
display: none;
|
||||
}
|
||||
.progress-bar-fill {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(90deg, #2ea043, #3fb950);
|
||||
width: 0%;
|
||||
transition: width 240ms ease-out;
|
||||
box-shadow: 0 0 8px rgba(63, 185, 80, 0.3);
|
||||
}
|
||||
.progress-bar-label {
|
||||
position: relative;
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 22px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
pointer-events: none;
|
||||
letter-spacing: 0.3px;
|
||||
/* v4.1.14/17 : text-shadow multi-directionnel (halo sombre autour du
|
||||
texte). Le backdrop-blur est sur toute la barre, plus besoin de pill. */
|
||||
text-shadow:
|
||||
0 0 2px rgba(0, 0, 0, 0.95),
|
||||
0 0 3px rgba(0, 0, 0, 0.85),
|
||||
0 1px 2px rgba(0, 0, 0, 0.75),
|
||||
0 -1px 2px rgba(0, 0, 0, 0.75),
|
||||
1px 0 2px rgba(0, 0, 0, 0.75),
|
||||
-1px 0 2px rgba(0, 0, 0, 0.75);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Navigation de date */
|
||||
.date-nav {
|
||||
display: flex;
|
||||
@@ -249,6 +353,41 @@ html, body {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* v4.1.12 : boutons refresh plus clairs visuellement.
|
||||
- "Vérifier" (partiel) : style discret, icône demi-rotation
|
||||
- "Tout recharger" (total) : plus affirmé, icône double-flèche circulaire */
|
||||
.btn-refresh {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
.btn-refresh-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
flex-shrink: 0;
|
||||
color: currentColor;
|
||||
}
|
||||
.btn-refresh-label {
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
}
|
||||
.btn-refresh-strong {
|
||||
background: var(--bg-subtle, rgba(63, 185, 80, 0.08));
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
.btn-refresh-strong:hover {
|
||||
background: rgba(63, 185, 80, 0.18);
|
||||
border-color: rgba(63, 185, 80, 0.5);
|
||||
}
|
||||
.btn-refresh-icon.spinning {
|
||||
animation: refresh-spin 0.9s linear infinite;
|
||||
transform-origin: 50% 50%;
|
||||
}
|
||||
@keyframes refresh-spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--accent);
|
||||
color: white;
|
||||
@@ -624,9 +763,12 @@ html, body {
|
||||
display: grid;
|
||||
grid-template-columns: 4px 58px 1fr auto;
|
||||
grid-template-rows: auto auto;
|
||||
/* v4.1.17 : la ligne du bas (right) s'étend maintenant sur les 2 colonnes
|
||||
droite (right + status) pour que la signature aille vraiment jusqu'au
|
||||
bord droit. Le ✓ status est positionné en absolute par-dessus. */
|
||||
grid-template-areas:
|
||||
"dot time ref copy"
|
||||
"dot time right status";
|
||||
"dot time right right";
|
||||
gap: 2px 10px;
|
||||
align-items: start;
|
||||
padding: 10px 12px 12px 8px;
|
||||
@@ -710,12 +852,17 @@ html, body {
|
||||
}
|
||||
|
||||
.iv-status-check {
|
||||
grid-area: status;
|
||||
align-self: center;
|
||||
/* v4.1.17 : absolute en bas à droite (la grid-area "status" a été
|
||||
fusionnée avec "right" pour étendre la signature jusqu'au bord). */
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
color: var(--c-closed);
|
||||
padding-right: 6px;
|
||||
pointer-events: none;
|
||||
/* Au-dessus de la signature, mais discret */
|
||||
z-index: 1;
|
||||
}
|
||||
.intervention-v2.status-resolved .iv-status-check { color: var(--c-resolved); }
|
||||
|
||||
@@ -840,6 +987,8 @@ html, body {
|
||||
align-items: baseline;
|
||||
gap: 8px;
|
||||
font-size: 12px;
|
||||
/* v4.1.14 : forcer la ligne à occuper 100% de largeur du parent */
|
||||
width: 100%;
|
||||
}
|
||||
.iv-category {
|
||||
color: var(--text-muted);
|
||||
@@ -847,8 +996,13 @@ html, body {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1;
|
||||
/* v4.1.15 : taille naturelle (pas de flex:1 qui étirait le texte et
|
||||
rendait la signature juste à côté). Sans flex, la catégorie reste à
|
||||
son contenu + justify-content:space-between pousse la signature à
|
||||
l'extrême droite du parent. */
|
||||
min-width: 0;
|
||||
flex: 0 1 auto;
|
||||
max-width: calc(100% - 70px);
|
||||
}
|
||||
.iv-signature {
|
||||
color: var(--text-faint);
|
||||
@@ -856,6 +1010,16 @@ html, body {
|
||||
font-family: var(--mono);
|
||||
flex-shrink: 0;
|
||||
letter-spacing: 0.02em;
|
||||
text-align: right;
|
||||
/* v4.1.15/17 : margin-left: auto pour collage garanti à droite */
|
||||
margin-left: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
/* v4.1.17 : si statut clos/résolu, le ✓ est à droite en absolute → décaler
|
||||
la signature pour ne pas se chevaucher */
|
||||
.intervention-v2.status-closed .iv-signature,
|
||||
.intervention-v2.status-resolved .iv-signature {
|
||||
padding-right: 22px;
|
||||
}
|
||||
|
||||
/* Réservation (créneau bloqué par un coordinateur) */
|
||||
@@ -902,7 +1066,7 @@ html, body {
|
||||
Tooltip
|
||||
========================================================================== */
|
||||
.tooltip {
|
||||
position: fixed;
|
||||
position: fixed !important;
|
||||
z-index: 100;
|
||||
max-width: 620px;
|
||||
max-height: calc(100vh - 40px);
|
||||
@@ -918,9 +1082,110 @@ html, body {
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.1s;
|
||||
/* v4.2 : sélection de texte autorisée en permanence. Avant (v4.1.10) on
|
||||
bloquait par défaut et n'activait qu'en mode épinglé, mais c'était
|
||||
contre-productif — on veut pouvoir copier un numéro sans pin d'abord. */
|
||||
user-select: text;
|
||||
-webkit-user-select: text;
|
||||
}
|
||||
.tooltip.visible {
|
||||
opacity: 1;
|
||||
/* v4.1.10 : permet à la souris d'entrer dans la bulle pour la garder
|
||||
visible (persistance au hover) et, en mode pinned, pour sélectionner. */
|
||||
pointer-events: auto;
|
||||
/* v4.2 : curseur texte par défaut (pour signaler que c'est sélectionnable) */
|
||||
cursor: text;
|
||||
}
|
||||
.tooltip.pinned {
|
||||
/* Bulle épinglée : bordure verte pour indiquer le mode */
|
||||
border-color: var(--c-accent, #3fb950);
|
||||
box-shadow: 0 0 0 2px rgba(63, 185, 80, 0.15), var(--shadow-hover);
|
||||
}
|
||||
|
||||
/* v4.1.13/14 : barre d'actions en haut à droite de la bulle
|
||||
(recharger cette iv + épingler) */
|
||||
.tooltip-actions {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
z-index: 5;
|
||||
}
|
||||
.tooltip-actionbtn {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
opacity: 0.55;
|
||||
transition: opacity 0.15s, background 0.15s, transform 0.15s;
|
||||
user-select: none;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
.tooltip-actionbtn svg {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.tooltip-actionbtn:hover {
|
||||
opacity: 1;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
color: var(--text);
|
||||
}
|
||||
.tooltip-actionbtn.spinning svg {
|
||||
animation: refresh-spin 0.8s linear infinite;
|
||||
transform-origin: 50% 50%;
|
||||
}
|
||||
/* L'ancien .tooltip-pinbtn garde ses variantes */
|
||||
.tooltip-pinbtn {
|
||||
filter: grayscale(100%);
|
||||
}
|
||||
.tooltip-pinbtn:hover {
|
||||
filter: grayscale(0%);
|
||||
}
|
||||
.tooltip.pinned .tooltip-pinbtn {
|
||||
opacity: 1;
|
||||
filter: grayscale(0%);
|
||||
transform: rotate(-30deg);
|
||||
background: rgba(63, 185, 80, 0.15);
|
||||
}
|
||||
|
||||
/* v4.1.15 : référence dans la bulle avec bouton copier inline */
|
||||
.tt-ref-cell {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
.tt-ref-val {
|
||||
font-family: var(--mono, monospace);
|
||||
}
|
||||
.tt-copy-btn {
|
||||
background: transparent;
|
||||
border: 1px solid var(--border);
|
||||
color: var(--text-muted);
|
||||
width: 26px;
|
||||
height: 22px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
transition: background 0.12s, color 0.12s, border-color 0.12s;
|
||||
}
|
||||
.tt-copy-btn:hover {
|
||||
background: var(--bg-hover);
|
||||
color: var(--text);
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
.tt-copy-btn.copied {
|
||||
background: rgba(63, 185, 80, 0.2);
|
||||
border-color: #3fb950;
|
||||
color: #3fb950;
|
||||
}
|
||||
|
||||
.tooltip dl {
|
||||
@@ -1038,3 +1303,153 @@ html, body {
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
/* ─────────────────────────────────────────────────────────────────────────
|
||||
v4.1.20 : Modal central de confirmation (vider cache)
|
||||
───────────────────────────────────────────────────────────────────────── */
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 10000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
/* Flou + assombrissement léger de l'arrière-plan */
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
backdrop-filter: blur(4px);
|
||||
-webkit-backdrop-filter: blur(4px);
|
||||
animation: modal-fade-in 0.15s ease-out;
|
||||
}
|
||||
@keyframes modal-fade-in {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
.modal-card {
|
||||
background: var(--bg, #ffffff);
|
||||
color: var(--text, #111);
|
||||
border: 1px solid var(--border, rgba(128, 128, 128, 0.25));
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25),
|
||||
0 2px 8px rgba(0, 0, 0, 0.15);
|
||||
padding: 24px 24px 20px;
|
||||
width: min(440px, 92vw);
|
||||
max-height: 90vh;
|
||||
overflow-y: auto;
|
||||
animation: modal-card-in 0.18s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
@keyframes modal-card-in {
|
||||
from { opacity: 0; transform: translateY(8px) scale(0.98); }
|
||||
to { opacity: 1; transform: translateY(0) scale(1); }
|
||||
}
|
||||
|
||||
.modal-title {
|
||||
margin: 0 0 12px 0;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--text, #111);
|
||||
}
|
||||
.modal-message {
|
||||
margin: 0 0 20px 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
color: var(--text-muted, #555);
|
||||
}
|
||||
.modal-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.modal-actions .btn {
|
||||
width: 100%;
|
||||
padding: 10px 14px;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
transition: background 0.12s, transform 0.06s;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
.modal-actions .btn:active { transform: translateY(1px); }
|
||||
|
||||
/* Vider le cache du jour : danger modéré (orange) */
|
||||
.btn-modal-danger {
|
||||
background: rgba(234, 128, 38, 0.12);
|
||||
color: #c85a00;
|
||||
border-color: rgba(234, 128, 38, 0.3);
|
||||
}
|
||||
.btn-modal-danger:hover {
|
||||
background: rgba(234, 128, 38, 0.22);
|
||||
}
|
||||
/* Vider tout le cache : danger fort (rouge) */
|
||||
.btn-modal-danger-strong {
|
||||
background: rgba(220, 60, 60, 0.12);
|
||||
color: #c03030;
|
||||
border-color: rgba(220, 60, 60, 0.3);
|
||||
}
|
||||
.btn-modal-danger-strong:hover {
|
||||
background: rgba(220, 60, 60, 0.22);
|
||||
}
|
||||
/* Annuler : neutre */
|
||||
.btn-modal-cancel {
|
||||
background: transparent;
|
||||
color: var(--text-muted, #666);
|
||||
border-color: var(--border, rgba(128, 128, 128, 0.3));
|
||||
margin-top: 4px;
|
||||
}
|
||||
.btn-modal-cancel:hover {
|
||||
background: var(--bg-hover, rgba(128, 128, 128, 0.08));
|
||||
}
|
||||
|
||||
/* ─────────────────────────────────────────────────────────────────────────
|
||||
v4.1.20 : Message d'absence récurrente (Pillonel vendredi)
|
||||
───────────────────────────────────────────────────────────────────────── */
|
||||
.tech-absence-recurring {
|
||||
padding: 14px 12px;
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
font-style: italic;
|
||||
color: var(--text-faint, #888);
|
||||
background: rgba(128, 128, 128, 0.04);
|
||||
border-top: 1px solid var(--border, rgba(128, 128, 128, 0.15));
|
||||
border-bottom: 1px solid var(--border, rgba(128, 128, 128, 0.15));
|
||||
}
|
||||
|
||||
/* v4.2 : contact en rouge quand anomalie détectée (Contact + Personne de
|
||||
contact présents tous les deux dans l'action = situation suspecte).
|
||||
On signale visuellement pour que l'user aille vérifier dans la fiche. */
|
||||
.iv-contact-line.iv-contact-anomalie {
|
||||
color: #dc3030;
|
||||
}
|
||||
.iv-contact-line.iv-contact-anomalie .iv-contact,
|
||||
.iv-contact-line.iv-contact-anomalie .iv-phone {
|
||||
color: #dc3030;
|
||||
}
|
||||
|
||||
/* v4.2 : badge utilisateur EasyVista connecté (en haut à droite de la topbar) */
|
||||
.current-user {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 4px 10px;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--text-muted, #666);
|
||||
background: rgba(128, 128, 128, 0.08);
|
||||
border: 1px solid var(--border, rgba(128, 128, 128, 0.2));
|
||||
border-radius: 999px;
|
||||
margin-right: 8px;
|
||||
max-width: 220px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.current-user::before {
|
||||
content: "👤";
|
||||
font-size: 11px;
|
||||
opacity: 0.7;
|
||||
}
|
||||
.current-user.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
+33
-5
@@ -19,8 +19,14 @@
|
||||
<span id="refresh-check" class="refresh-check hidden" title="Mise à jour terminée">✓</span>
|
||||
</div>
|
||||
<div class="topbar-right">
|
||||
<button id="refresh-btn" class="btn" title="Rafraîchir maintenant">
|
||||
<span id="refresh-icon">↻</span> Rafraîchir
|
||||
<span id="current-user" class="current-user hidden" title="Utilisateur EasyVista connecté"></span>
|
||||
<button id="refresh-partial-btn" class="btn btn-refresh" title="Actualiser : ajoute les nouvelles interventions et retire celles qui ne sont plus dans le planning. Rapide, ne re-télécharge pas les fiches déjà connues.">
|
||||
<svg id="refresh-partial-icon" class="btn-refresh-icon" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M2 8a6 6 0 0 1 10.2-4.24M14 3v3h-3" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
<span class="btn-refresh-label">Actualiser</span>
|
||||
</button>
|
||||
<button id="refresh-btn" class="btn btn-refresh btn-refresh-strong" title="Tout recharger : re-télécharge le planning ET toutes les fiches (y compris celles déjà connues) pour voir évoluer les statuts. Plus lent.">
|
||||
<svg id="refresh-icon" class="btn-refresh-icon" viewBox="0 0 16 16" fill="none" aria-hidden="true"><path d="M2 8a6 6 0 1 0 1.76-4.24M2 3v3h3" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/><path d="M14 8a6 6 0 0 1-10.2 4.24M14 13v-3h-3" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
<span class="btn-refresh-label">Tout recharger</span>
|
||||
</button>
|
||||
<button id="abort-btn" class="btn btn-abort hidden" title="Arrêter le rafraîchissement en cours">
|
||||
✕ Arrêter
|
||||
@@ -34,14 +40,36 @@
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Bannière session expirée (non bloquante, apparaît en haut du contenu) -->
|
||||
<div id="session-expired-banner" class="session-banner hidden">
|
||||
<span class="session-banner-icon">⚠</span>
|
||||
<span class="session-banner-text">
|
||||
<strong>Session EasyVista expirée.</strong>
|
||||
Les mises à jour sont interrompues. Reconnectez-vous à EasyVista, puis cliquez sur <b>Tout recharger</b> pour rafraîchir.
|
||||
</span>
|
||||
<button id="session-banner-reconnect" class="btn btn-primary btn-sm">Ouvrir EasyVista</button>
|
||||
<button id="session-banner-close" class="btn btn-icon" title="Masquer">×</button>
|
||||
</div>
|
||||
|
||||
<!-- Barre de progression (visible uniquement pendant un refresh actif) -->
|
||||
<div id="progress-bar" class="progress-bar hidden">
|
||||
<div class="progress-bar-fill" id="progress-bar-fill"></div>
|
||||
<span class="progress-bar-label" id="progress-bar-label"></span>
|
||||
</div>
|
||||
|
||||
<main id="main">
|
||||
<div id="error-box" class="error-box hidden"></div>
|
||||
<div id="session-needed" class="session-needed hidden">
|
||||
<h2>Connexion à EasyVista requise</h2>
|
||||
<p>Cette extension doit se connecter à <code>itsma.etat-de-vaud.ch</code> pour fonctionner.</p>
|
||||
<p>Ouvre EasyVista dans un onglet, connecte-toi, puis <b>reclique sur l'icône de l'extension</b>.</p>
|
||||
<h2>Session EasyVista expirée</h2>
|
||||
<p>Reconnectez-vous à EasyVista pour continuer.</p>
|
||||
<button id="open-ev-btn" class="btn btn-primary">Ouvrir EasyVista</button>
|
||||
</div>
|
||||
<div id="ev-unreachable" class="session-needed hidden">
|
||||
<h2>EasyVista est inaccessible pour le moment.</h2>
|
||||
<p>Réessayez dans quelques instants, ou ouvrez EasyVista directement.</p>
|
||||
<button id="open-ev-btn-2" class="btn btn-primary">Ouvrir EasyVista</button>
|
||||
<button id="retry-btn" class="btn btn-subtle">Réessayer</button>
|
||||
</div>
|
||||
<div id="loading" class="loading">Chargement…</div>
|
||||
<div id="stats" class="stats hidden"></div>
|
||||
<div id="cards" class="cards"></div>
|
||||
|
||||
Reference in New Issue
Block a user