- Replace events+expenses with flat purchases table - Add warranty_months, return_days, product_name fields - Remove currency conversion, CSV/PDF reporting, event filing - Simplify auth (no onboarding/department/profile) - Update AI extraction prompts for product/warranty info - Update all branding: templates, install.sh, Makefile, service file
45 lines
2 KiB
HTML
45 lines
2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<meta name="theme-color" content="#10b981">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
|
<title>NextReceipt</title>
|
|
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
|
|
<link rel="alternate icon" href="/static/icons/icon-192.png">
|
|
<link rel="manifest" href="/manifest.json">
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/static/icons/icon-180.png">
|
|
<link rel="stylesheet" href="/static/css/style.css?v=4">
|
|
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
|
|
</head>
|
|
<body>
|
|
<div class="login-page">
|
|
<div class="card login-card">
|
|
<div class="login-brand">
|
|
<div class="login-icon"><img src="/static/favicon.svg" width="48" height="48" alt="Rx"></div>
|
|
<h1>NextReceipt</h1>
|
|
<p class="text-secondary">Receipt Saver for Warranty & Returns</p>
|
|
</div>
|
|
|
|
<div id="otp-form">
|
|
<form hx-post="/request-otp" hx-target="#otp-form" hx-swap="innerHTML">
|
|
<div class="form-group">
|
|
<label for="email">Email Address</label>
|
|
<input type="email" id="email" name="email" placeholder="you@example.com" required autocomplete="email" inputmode="email">
|
|
</div>
|
|
<button type="submit" class="btn btn-primary btn-block">
|
|
<span class="spinner htmx-indicator"></span>
|
|
Send Verification Code
|
|
</button>
|
|
</form>
|
|
</div>
|
|
|
|
<p class="text-secondary" style="text-align: center; font-size: 0.875rem; margin-top: 1rem;">
|
|
A 6-digit verification code will be sent to your email.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|