Klassensuche

$specs) : ?> hasSpec($specs)) : ?>
$search) : switch ($search) { case 3: $classes = "border border-red-500"; $text = "Hoch"; break; case 2: $classes = "border border-yellow-500 opacity-70"; $text = "Mittel"; break; case 1: $classes = "border border-green-500 opacity-50"; $text = "Niedrig"; break; case 0: default: $classes = "opacity-10"; $text = "Suche geschlossen"; break; } ?>