UI changes for collapsing and header bcg

This commit is contained in:
marijo 2026-06-09 11:35:21 +00:00
parent 71aeb691df
commit 996acdef92
4 changed files with 106 additions and 48 deletions

View file

@ -14,7 +14,7 @@
<table id="entriesTable" class="compact-entries-table">
<thead>
<tr>
<th>Entry</th>
<th id="entriesHeaderTitle">VACATIONS</th>
<th class="num">Days</th>
<th class="num">Vac. days</th>
<th class="num">FF</th>
@ -30,7 +30,6 @@
<div class="header-warning-row" aria-live="polite">
<span id="headerWarnings" class="header-warning-list"></span>
<span class="header-action-list">
<button id="toggleEntriesBtn" class="header-action-button" type="button" aria-expanded="true">Entries</button>
<button id="addEntryBtn" class="header-action-button" type="button">Add entry</button>
<button id="settingsBtn" class="header-action-button" type="button">Settings</button>
</span>
@ -93,6 +92,11 @@
<option value="approved">Approved</option>
</select>
</label>
<label>
Additional non-working days
<input id="nonWorkingDays" type="number" step="0.5" min="0" value="0">
</label>
<div id="workdayPreview" class="workday-preview full">Set dates to see calculated working days.</div>
<label class="checkbox-row">
<input id="allowUnpaid" type="checkbox">
<span>If this entry goes negative, convert missing days in this date range to unpaid</span>