Compare commits

...

4 Commits

Author SHA1 Message Date
8bb2779b2f Add the CSS code with come with it
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-11-23 09:19:41 +01:00
bf335fb66e Add a CSS class when the research is done, but not at the max level 2020-11-23 09:19:11 +01:00
a9e983cfaf unminify CSS code for the Covies 2020-11-23 09:18:24 +01:00
c01c30d396 unminify CSS code for the CSNU 2020-11-23 09:18:01 +01:00
3 changed files with 1933 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -71,6 +71,7 @@ function traiterBranche($onglet, $branche, $start = false)
$return .= traiterBranche($onglet, $b); $return .= traiterBranche($onglet, $b);
$return .= "</dd>"; $return .= "</dd>";
} else { } else {
$origin_b = $b;
//On recherche s'il s'agit d'une technologie à niveau multiple //On recherche s'il s'agit d'une technologie à niveau multiple
if ((dTechnologies::idToBit($b) & $planete->technologies[$onglet]) && isset($LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+1]) && $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b] == $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+1]) { if ((dTechnologies::idToBit($b) & $planete->technologies[$onglet]) && isset($LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+1]) && $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b] == $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+1]) {
if ((dTechnologies::idToBit($b+1) & $planete->technologies[$onglet]) && isset($LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+2]) && $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b] == $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+2]) { if ((dTechnologies::idToBit($b+1) & $planete->technologies[$onglet]) && isset($LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+2]) && $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b] == $LANG[$planete->race]["technologies"]["noms_sing"][$onglet][$b+2]) {
@ -86,6 +87,8 @@ function traiterBranche($onglet, $branche, $start = false)
if (dTechnologies::idToBit($b) & $planete->technologies[$onglet]) { if (dTechnologies::idToBit($b) & $planete->technologies[$onglet]) {
$return .= '<dt><a href="#">'; $return .= '<dt><a href="#">';
} elseif (dTechnologies::idToBit($origin_b) & $planete->technologies[$onglet]) {
$return .= '<dt class="partial"><a href="?p=laboratoire&amp;n='.$onglet.'&amp;t='.$b.'">';
} else { } else {
$return .= '<dt class="lack"><a href="?p=laboratoire&amp;n='.$onglet.'&amp;t='.$b.'">'; $return .= '<dt class="lack"><a href="?p=laboratoire&amp;n='.$onglet.'&amp;t='.$b.'">';
} }