78 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Padel Nivelles</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 2em;
background: #e8dbcb;
color: #071330;
}
.table-container { width: 100%; overflow-x: auto; max-height: 70vh; }
table { border-collapse: collapse; width: 100%; min-width: 700px; margin-bottom: 1em; background: #fff; }
th, td { border: 1px solid #c3d6db; padding: 0.5em; text-align: center; }
th { background: #c3d6db; color: #071330; position: sticky; top: 0; z-index: 2; }
.clickable { cursor: pointer; background: #e7f7e7; transition: background 0.15s, box-shadow 0.15s; }
.clickable:hover {
background: #dbeedb;
box-shadow: 0 0 0 2px #98ba0b33;
}
.yes { background: #b6e7b6; font-weight: bold; color: #071330; }
input[type="text"] {
width: 90%;
padding: 0.2em;
border: 1px solid #c3d6db;
background: #e8dbcb;
color: #071330;
}
input[type="text"]::placeholder {
color: #707070;
opacity: 1;
}
#add-date {
margin-top: 1em;
background: #98ba0b;
color: #071330;
border: none;
padding: 0.7em 1.5em;
border-radius: 4px;
font-weight: bold;
font-size: 1em;
transition: background 0.2s;
}
#add-date:hover {
background: #7d9909;
}
.secondary-text {
color: #c3d6db;
}
.name-col { width: 140px; min-width: 100px; max-width: 180px; }
@media (max-width: 900px) {
body { margin: 1em; }
.name-col { width: 110px; min-width: 80px; max-width: 140px; font-size: 0.95em; }
th, td { padding: 0.3em; }
table { min-width: 600px; }
}
@media (max-width: 600px) {
body { margin: 0.5em; }
h1 { font-size: 1.2em; }
.name-col { width: 90px; min-width: 70px; max-width: 110px; font-size: 0.9em; }
th, td { padding: 0.2em; font-size: 0.9em; }
table { min-width: 400px; }
}
</style>
</style>
</head>
<body>
<h1>Padel Nivelles</h1>
<div class="table-container">
<div id="attendance-table"></div>
</div>
<button id="add-date">Add Date</button>
<script src="/static/app.js"></script>
</body>
</html>