leitfaden-digitalisierung/source/templates/main.html.tpl
2025-05-19 21:18:37 +00:00

31 lines
664 B
Smarty

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<style>
{{style}}
</style>
<script>
function tab_select(identifier, index)
{
document.querySelectorAll("#tabs-" + identifier + " .tabs-body-entry").forEach(
element => {
element.classList.toggle("tabs-active", false);
}
);
{
const selector = ("#tabs-body-entry-" + identifier + "-" + index.toFixed(0));
const element = document.querySelector(selector);
if (element !== null) element.classList.toggle("tabs-active", true);
}
}
</script>
</head>
<body>
{{problems}}
{{goals}}
{{realization}}
</body>
</html>