wrap the today page in the shared header + container/stack shell, render scheduled nodes as cards via list-cards, and add a muted empty-state message that toggles when no nodes are scheduled. existing #scheduled-nodes-list and li selectors used by cypress tests are preserved (the empty message lives in its own element).
27 lines
802 B
PHP
27 lines
802 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Daily Goals - Today</title>
|
|
<link rel="stylesheet" href="/css/app.css">
|
|
</head>
|
|
<body>
|
|
<header class="site-header">
|
|
<div class="site-header-inner">
|
|
<h1>Today</h1>
|
|
<div class="cluster">
|
|
<a class="btn btn-secondary" href="/home">Home</a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<main class="container stack">
|
|
<ul id="scheduled-nodes-list" class="list-cards"></ul>
|
|
<p id="scheduled-nodes-empty" class="muted" hidden>
|
|
Nothing scheduled for today.
|
|
</p>
|
|
</main>
|
|
<script src="/js/auth.js"></script>
|
|
<script src="/js/today.js"></script>
|
|
</body>
|
|
</html>
|