Spaces:
Running

intake-desk / index.html
PabloRod11's picture
Publish reviewed Intake Desk demo
f4d886b verified
Raw History Blame Contribute Delete
6.67 kB
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Intake Desk · Working demo</title><link rel="stylesheet" href="styles.css"></head><body><noscript><div class="error">This interactive demo requires JavaScript. Enable JavaScript to create and manage fictional inquiries.</div></noscript>
<a class="skip-link" href="#register">Skip to inquiry register</a><aside class="sidebar"><a class="brand" href="#"><span class="brandmark">i.</span> Intake Desk</a><div class="workspace">THE EVERYDAY BUSINESS<br><strong>Customer inquiry workspace.</strong></div><nav aria-label="Main"><a class="nav active" href="#register" aria-current="location">▦ <span>Inquiry register</span></a><a class="nav" href="#how-it-works">↗ <span>How this demo works</span></a></nav><div class="sidebar-bottom"><span class="demo-dot"></span> INTERACTIVE DEMO<p>Capture · Assign · Follow up</p></div></aside>
<main><header><span>WORKSPACE / CUSTOMER INQUIRIES</span><span class="demo-pill">Fictional sample data</span></header><section class="heading"><div><p class="eyebrow">CUSTOMER INTAKE</p><h1>A clear next step<br>for every inquiry.</h1><p class="subtitle">Capture requests, assign an owner, and track follow-up in one place.</p></div><button id="new" class="primary">+ New inquiry</button></section>
<div id="notice" class="notice" role="status">Working demo · Records stay in this browser. No shared database or authentication. Use fictional information only.</div><div id="error" class="error" role="alert" hidden></div>
<section class="stats" aria-label="Inquiry summary across all records"><article><span>Active inquiries</span><strong id="active-count">0</strong><small>New, reviewing & in progress</small></article><article><span>Awaiting an owner</span><strong id="unassigned-count">0</strong><small>Active inquiries without an owner</small></article><article><span>Closed inquiries</span><strong id="closed-count">0</strong><small>With a recorded resolution</small></article></section>
<section class="register" id="register"><div class="section-title"><div><h2>Inquiry register</h2><p>Review requests and record the next action.</p></div><button id="export" class="secondary" aria-describedby="export-scope">↓ Export CSV</button></div><div class="filters"><label class="search">Search inquiries<input id="search" type="search" placeholder="Search name, contact, service or reference…"></label><label>Status<select id="status-filter"><option value="">All statuses</option><option>New</option><option>Reviewing</option><option>In progress</option><option>Closed</option></select></label><label>Owner<select id="owner-filter"><option value="">All owners</option><option value="unassigned">Unassigned</option><option>Maya</option><option>Jordan</option><option>Alex</option></select></label></div><div class="register-meta"><p id="result-count" class="result-count" aria-live="polite"></p><p id="export-scope" class="export-scope">CSV exports the current filtered view.</p></div><p class="scroll-cue" id="scroll-cue">← Scroll across to see every column →</p><div class="table-wrap" role="region" aria-label="Inquiry register table" aria-describedby="scroll-cue" tabindex="0"><table><caption class="sr-only">Customer inquiries matching the current search and filters.</caption><thead><tr><th scope="col">Customer / reference</th><th scope="col">Service requested</th><th scope="col">Status</th><th scope="col">Owner</th><th scope="col">Next action</th><th scope="col"><span class="sr-only">Open inquiry</span></th></tr></thead><tbody id="rows"></tbody></table></div><div id="empty" class="empty" hidden>No inquiries match your filters. Try a different search.</div></section>
<section class="how" id="how-it-works"><div><p class="eyebrow">THE INTAKE WORKFLOW</p><h2>Capture. Assign. Follow up.</h2></div><ol class="workflow"><li><b>Capture</b><span>Record the essential details.</span></li><li><b>Assign</b><span>Choose someone responsible.</span></li><li><b>Follow up</b><span>Record the next action or resolution.</span></li></ol><div><p>This prototype demonstrates an intake workflow. Counts describe these demo records; they do not measure business improvement.</p><button id="reset" class="text-button">Reset fictional sample data</button></div></section><footer>INTAKE DESK <span>Browser-local demonstration · Fictional information only.</span></footer></main>
<dialog id="editor" aria-labelledby="dialog-title" aria-describedby="form-note"><form id="inquiry-form"><div class="dialog-heading"><div><p class="eyebrow" id="record-ref">NEW INQUIRY</p><h2 id="dialog-title">New inquiry.</h2></div><button type="button" id="dismiss" class="icon-button" aria-label="Close dialog">×</button></div><p class="form-note" id="form-note">Fields marked * are required. Use fictional customer information only.</p><div class="form-grid"><label>Customer name *<input name="customer" required maxlength="120" autocomplete="off"></label><label>Service requested *<input name="service" required maxlength="120" placeholder="e.g. Garden maintenance"></label><label>Preferred contact *<select name="preferred" required><option value="email">Email</option><option value="phone">Phone</option></select></label><label id="contact-label">Contact details *<input name="contact" required type="email" maxlength="160"></label><label class="wide">Description *<textarea name="description" required maxlength="2000" rows="3"></textarea></label><label>Owner<select name="owner"><option value="">Unassigned</option><option>Maya</option><option>Jordan</option><option>Alex</option></select></label><label>Status<select name="status" aria-describedby="status-hint"><option>New</option><option>Reviewing</option><option>In progress</option><option>Closed</option></select></label><p id="status-hint" class="field-hint wide">Closing clears the next action. Reopening clears the resolution and closure date when saved.</p><label class="wide">Next action<textarea name="nextAction" maxlength="1000" rows="2" placeholder="What needs to happen next?"></textarea></label><label class="wide" id="resolution-field" hidden>Resolution *<textarea name="resolution" maxlength="2000" rows="2"></textarea></label><label id="closure-field" hidden>Closure date *<input name="closedAt" type="date"></label></div><p id="timestamps" class="form-note"></p><div id="form-error" class="error" role="alert" hidden></div><div class="dialog-footer"><button type="button" id="cancel" class="secondary">Cancel</button><button class="primary" type="submit">Save inquiry</button></div></form></dialog><script src="app.js"></script></body></html>