" + picture(renderer_.diagram("tactics-sketch-" + theme_, svg, 2088), sketch_w, sketch_h) + over + "
Meine Taktik";
for (size_t i = 0; i < 7; ++i) {
const bool toggle = i >= 5, on = values[i] > minima[i];
out += btn("tactic-cycle", pg_kicker(names[i], "width:122px;font-size:10px;") + "
" + esc(toggle ? (on ? "an" : "aus") : text_of(i)) + "", "tk-row",
"id=\"tactic-cycle-" + std::to_string(i) + "\" data-id=\"" + std::to_string(i) + "\" aria-label=\"" + esc(std::string(names[i]) + ": " + text_of(i)) + "\"");
}
out += "
" + pg_kicker("Einsatz", "width:122px;font-size:10px;") + "" + std::string(size_t(values[7]), '!') +
"
" + pg_kicker("Wirkung") + "
" +
esc(std::string(names[size_t(last_tactic_)]) + ": " + text_of(size_t(last_tactic_))) + "" + esc(tactic_effect_text(size_t(last_tactic_))) + "
";
if (engine_mode_)
out += "
" + pg_button("sports-reset", "Zurücksetzen", "", "id=\"sports-reset\"") + pg_button("sports-apply", "Anwenden", "primary", "id=\"sports-apply\"") + "
";
else out += "
Jede Änderung gilt sofort.";
return out + "