Files
abacus-to-kimai-filler/popup/popup.html
T
2026-10-07 15:53:12 +02:00

34 lines
1.0 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../app/app.css">
<style>
body { width: 340px; padding: 12px; }
button { width: 100%; margin-bottom: 8px; }
.row { margin-bottom: 8px; }
.row label { flex: 1; }
#status { font-size: 12px; white-space: pre-wrap; }
</style>
</head>
<body>
<h3 style="margin-top:0">Abacus → Kimai</h3>
<div class="row">
<label>From <input type="date" id="from"></label>
<label>To <input type="date" id="to"></label>
</div>
<button id="crawl" class="primary">Read days from MyAbacus</button>
<button id="stop" class="hidden">Stop</button>
<button id="open">Open dashboard</button>
<details>
<summary class="muted">Other pages</summary>
<button id="extract" style="margin-top:6px">Generic extraction (tables / text)</button>
</details>
<div id="status" class="muted"></div>
<script src="../lib/util.js"></script>
<script src="../lib/parse.js"></script>
<script src="../lib/store.js"></script>
<script src="popup.js"></script>
</body>
</html>