Spaces:
Runtime error
Runtime error
Upload index.html
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475<!doctype html><html lang="en"><head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width,initial-scale=1"/> <title>Uptime Monitor</title> <link rel="stylesheet" href="/static/style.css"/></head><body> <header> <div class="brand"> <div class="logo-dot"></div> <div class="title">Uptime Monitor</div> </div> <div class="actions"> <button id="checkNowBtn">Check Now</button> <button id="addSiteBtn">+ Add Site</button> </div> </header>
<main> <section class="card"> <div class="card-head"> <h2>Monitors</h2> <span id="lastRefresh" class="muted"></span> </div> <div class="table-wrap"> <table id="statusTable"> <thead> <tr> <th>Status</th> <th>Name</th> <th>URL</th> <th>Last Check</th> <th>Resp (ms)</th> <th>Code</th> <th>Uptime 24h</th> <th>Uptime 7d</th> <th></th> </tr> </thead> <tbody id="statusTbody"></tbody> </table> </div> </section>
<section id="incidentPane" class="card hidden"> <div class="card-head"> <h2 id="incidentTitle">Incidents</h2> <button id="closeIncidents" class="ghost">Close</button> </div> <div id="incidentsList" class="incidents"></div> </section> </main>
<!-- Add site modal --> <dialog id="addDialog"> <form method="dialog" id="addForm" class="dialog-card"> <h3>Add Site</h3> <label>Display Name <input type="text" id="siteName" placeholder="e.g., My API"/> </label> <label>URL <input type="url" id="siteUrl" placeholder="https://example.com" required/> </label> <div class="row"> <button type="submit" id="saveSite">Save</button> <button id="cancelAdd" class="ghost">Cancel</button> </div> </form> </dialog>
<script src="/static/app.js"></script></body></html>static/index.htmlAdded+75