| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <!DOCTYPE html>
- <html lang="et" data-theme="light">
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
- <meta name="theme-color" content="#1f6feb" id="meta-theme" />
- <meta name="robots" content="noindex" />
- <title>Nutikodu — andurid</title>
- <link rel="icon" href="/icon.svg" type="image/svg+xml" />
- <link rel="manifest" href="/manifest.webmanifest" />
- <link rel="apple-touch-icon" href="/icon.svg" />
- <link rel="stylesheet" href="/style.css" />
- </head>
- <body>
- <header>
- <div class="brand">
- <span class="logo" aria-hidden="true">🏠</span>
- <div>
- <h1>Nutikodu</h1>
- <div class="sub" id="subtitle">Zigbee andurid</div>
- </div>
- </div>
- <div class="header-actions">
- <span class="status" id="status" title="Ühenduse olek"></span>
- <button id="theme-toggle" class="icon-btn" title="Vaheta teema" aria-label="Vaheta teema">🌙</button>
- </div>
- </header>
- <main>
- <section class="cards" id="cards"></section>
- <section class="panel">
- <div class="controls">
- <div class="presets" id="presets">
- <button type="button" data-days="1">24 h</button>
- <button type="button" data-days="7" class="active">7 p</button>
- <button type="button" data-days="30">30 p</button>
- <button type="button" data-days="90">90 p</button>
- <button type="button" data-days="365">1 a</button>
- <button type="button" data-days="all">Kõik</button>
- </div>
- <div class="custom-range">
- <label>Algus<input type="datetime-local" id="from" /></label>
- <label>Lõpp<input type="datetime-local" id="to" /></label>
- <button type="button" id="apply" class="btn">Kuva</button>
- </div>
- <div class="toggles">
- <label class="chk"><input type="checkbox" id="show-temp" checked /> <span>Temperatuur</span></label>
- <label class="chk"><input type="checkbox" id="show-hum" checked /> <span>Niiskus</span></label>
- <div class="seg" id="agg">
- <button type="button" data-agg="hour" class="active">Tund</button>
- <button type="button" data-agg="day">Päev</button>
- </div>
- </div>
- </div>
- <div id="chart" aria-label="Temperatuuri ja niiskuse ajatelg"></div>
- <div id="hint" class="hint" hidden></div>
- </section>
- <footer class="foot">
- <span id="range-label"></span>
- </footer>
- </main>
- <script src="/vendor/echarts.min.js"></script>
- <script src="/app.js"></script>
- </body>
- </html>
|