fix crawling + correct date/time format

This commit is contained in:
2026-10-07 16:01:15 +02:00
parent 9d8c2a0488
commit 25f323ff49
10 changed files with 183 additions and 65 deletions
+8 -8
View File
@@ -20,7 +20,7 @@
<div class="panel">
<h2>1. Abacus hours</h2>
<p class="muted" id="extract-info">Open MyAbacus, then click the toolbar icon → “Extract hours from this tab”. Or paste below.</p>
<textarea id="days" rows="10" placeholder="2026-10-05 08:00-12:00 13:00-17:24&#10;2026-10-06 8:24"></textarea>
<textarea id="days" rows="10" placeholder="05/10/2026 08:00-12:00 13:00-17:24&#10;06/10/2026 8:24"></textarea>
<div class="row" style="margin-top:8px">
<span id="days-summary" class="muted"></span>
</div>
@@ -39,8 +39,8 @@
<div class="panel">
<h2>2. Plan</h2>
<div class="row">
<label>From <input type="date" id="from"></label>
<label>To <input type="date" id="to"></label>
<label>From <input data-kind="date" id="from"></label>
<label>To <input data-kind="date" id="to"></label>
<button id="build" class="primary">Compare with Kimai &amp; plan</button>
<span id="plan-status" class="muted"></span>
</div>
@@ -66,7 +66,7 @@
<div class="row">
<label>Name <input id="r-name" placeholder="Weekly meeting"></label>
<label>Hours <input id="r-hours" size="6" placeholder="1 / 1:30"></label>
<label>Start time <input id="r-start" type="time"></label>
<label>Start time <input data-kind="time" id="r-start"></label>
<label class="inline"><input type="checkbox" id="r-enabled" checked> enabled</label>
</div>
<div class="row" style="margin-top:8px">
@@ -79,9 +79,9 @@
</div>
<div class="row" style="margin-top:8px">
<label>Every N weeks <input id="r-every" type="number" min="1" value="1" style="width:70px"></label>
<label>Week anchor <input id="r-anchor" type="date"></label>
<label>Valid from <input id="r-from" type="date"></label>
<label>Valid to <input id="r-to" type="date"></label>
<label>Week anchor <input data-kind="date" id="r-anchor"></label>
<label>Valid from <input data-kind="date" id="r-from"></label>
<label>Valid to <input data-kind="date" id="r-to"></label>
</div>
<div class="row" style="margin-top:12px">
<button id="r-save" class="primary">Save rule</button>
@@ -126,7 +126,7 @@
</div>
<div class="row" style="margin-top:8px">
<label>Tags <input id="s-tags"></label>
<label>Day start (when Abacus has only totals) <input id="s-daystart" type="time"></label>
<label>Day start (when Abacus has only totals) <input data-kind="time" id="s-daystart"></label>
<label class="inline"><input type="checkbox" id="s-skip"> skip a rule if an entry with the same project/activity already exists that day</label>
</div>
</div>