File size: 1,884 Bytes
1444c0a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Devices — ProjectOS</title><link rel="icon" href="/favicon.svg" type="image/svg+xml"><link rel="stylesheet" href="/app.css"></head>
<body>
<header class="top" id="top"></header>
<main class="wrap">
<p class="eyebrow">DEVICES <span class="rule"></span> PHONES</p><h1>Phones & <span>devices</span></h1>
<div id="gate" class="card" hidden></div>
<div id="content" hidden>
<section class="card"><div class="label">ADD A PHONE OR DEVICE</div>
<form id="devForm" class="stack" novalidate>
<label for="label">Name</label><input class="wide" id="label" maxlength="60" placeholder="e.g. Pixel 9, Work iPhone" required style="width:100%">
<div class="row"><div><label for="kind">Type</label><select id="kind"><option value="phone">Phone</option><option value="tablet">Tablet</option><option value="watch">Watch</option><option value="other">Other</option></select></div>
<div><label for="platform">Platform</label><select id="platform"><option value="ios">iOS</option><option value="android">Android</option><option value="other">Other</option></select></div></div>
<label for="phone">Phone number (optional)</label><input class="wide" id="phone" type="tel" placeholder="+1 415 555 0123" style="width:100%">
<p class="hint">International format, or a 10-digit US number. Stored as +E.164.</p>
<div><button class="primary" type="submit">Add device</button></div><div id="devMsg" class="msg" role="status"></div></form></section>
<section class="card" style="margin-top:14px"><div class="label">YOUR DEVICES</div><ul id="devs" class="devs"><li class="muted">Loading…</li></ul></section></div>
</main>
<footer id="status" class="foot">Checking status…</footer>
<script src="/common.js"></script><script src="/devices.js"></script>
</body></html>
|