web app
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<!doctype html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Rozkład opinii Google</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<main><section class="card">
|
||||
<p class="eyebrow">Google Maps</p>
|
||||
<h1>Policz opinie według oceny</h1>
|
||||
<p class="intro">Wklej link do firmy lub miejsca. Aplikacja niczego nie zapisuje.</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>
|
||||
<p id="status" class="status" role="status" aria-live="polite"></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>
|
||||
Reference in New Issue
Block a user