mirror of
https://gitlab.aliens-lyon.fr/savrillo/gpens.git
synced 2026-09-11 21:20:46 +02:00
Quelques modification de couleur, les scripts sont valides à la fin.
This commit is contained in:
+9
-1
@@ -17,7 +17,7 @@ function putWaitNetworkScreen()
|
||||
|
||||
function salleInfosToHtml(salle)
|
||||
{
|
||||
titres = "<h2>"+salle.nom+"</h2>"+((salle.aliaz.length!=0)?(" ou <h2>"+salle.aliaz.join("</h2> ou <h2>")+"</h2>"):"");
|
||||
titres = ((salle.aliaz.length!=0)?("<h2>"+salle.aliaz.join("</h2> ou <h2>")+"</h2>"):"Aucun alias connu.");
|
||||
locataires = salle.locataires.join(", ");
|
||||
return titres + ((salle.description!=null)?("\n<br/>\n" + salle.description):"") + ((salle.locataires.length!=0)?("\n<br/>\n<b>Locataires</b>: " + locataires):"");
|
||||
}
|
||||
@@ -68,3 +68,11 @@ function initSvgSupport()
|
||||
salles[i].addEventListener('click', selectSalle);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Initialisation du svg.
|
||||
var plan = document.getElementById('plan');
|
||||
if(plan.contentDocument==null)
|
||||
plan.addEventListener('load', initSvgSupport);
|
||||
else
|
||||
initSvgSupport();
|
||||
|
||||
+1
-1
@@ -14,5 +14,5 @@
|
||||
}
|
||||
|
||||
.current-room {
|
||||
fill: blue;
|
||||
fill: rgb(100, 150, 250);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user