website-risg/templates/index.html
philipp 10c2174717
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m37s
add open/close all buttons
2024-02-17 11:10:25 +01:00

15 lines
462 B
HTML

<html>
<head>
<link rel="stylesheet" href="pico.min.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<button onclick='const details = document.querySelector("details");details.setAttribute("open", "");'>Open all</button>
<button onclick='const details = document.querySelector("details");details.removeAttribute("open", "");'>Close all</button>
<h1>{{title}}</h1>
{{content}}
</div>
</body>
</html>