Files
opinie/templates/index.html
T
2026-08-31 21:02:52 +02:00

40 lines
1.5 KiB
HTML

<!doctype html>
<html lang="pl">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Licznik opinii Google</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<main><section class="card">
<p class="eyebrow">Google Maps</p>
<h1>Extra licznik opinii 9000</h1>
<p class="intro">Wklej link do firmy lub miejsca z Google Maps.</p>
<form id="review-form">
<label for="maps-url">Link Google Maps</label>
<div class="input-row">
<input id="maps-url" type="url" maxlength="1200" placeholder="https://maps.app.goo.gl/…" required autocomplete="off">
<button type="submit">Sprawdź</button>
</div>
</form>
<div id="progress-box" class="progress-box" role="status" aria-live="polite" hidden>
<div class="progress-caption">
<span id="progress-label">Rozpoczynam sprawdzanie</span>
<strong id="progress-value">0%</strong>
</div>
<progress id="progress-bar" max="100" value="0">0%</progress>
</div>
<p id="status" class="status" role="alert" aria-live="assertive"></p>
<section id="result" class="result" hidden>
<div class="summary">
<div><span id="total">0</span><small>opinii łącznie</small></div>
<div><span id="average">0</span><small>średnia</small></div>
</div>
<div id="ratings" class="ratings"></div>
</section>
</section></main>
<script src="/static/app.js" defer></script>
</body>
</html>