sched: interface.html move date/time above options

master
Rob Pilling 2024-03-04 08:22:01 +00:00
parent 9791f452d8
commit af4ae9ada5
1 changed files with 5 additions and 7 deletions

View File

@ -257,10 +257,10 @@ function renderAlarm(alarm, exists) {
document.getElementById('events').removeChild(tr2); document.getElementById('events').removeChild(tr2);
}); });
tr.appendChild(tdOptions); tdType.classList.add('single-row'); tr.appendChild(tdTime); tdTime.colSpan = 3; tdTime.classList.add('single-row');
tr.appendChild(tdType); tdType.classList.add('single-row'); tr2.appendChild(tdOptions);
tr.appendChild(tdInfo); tdType.classList.add('single-row'); tr2.appendChild(tdType);
tr2.appendChild(tdTime); tdTime.colSpan = 3; tr2.appendChild(tdInfo);
if (tdDays) { if (tdDays) {
tr.appendChild(tdDays); tdDays.rowSpan = 2; tr.appendChild(tdDays); tdDays.rowSpan = 2;
} else { } else {
@ -373,9 +373,7 @@ function onInit() {
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>Options</th> <th colspan="3">Time & Options</th>
<th>Type</th>
<th></th>
<th>Days</th> <th>Days</th>
<th>Summary</th> <th>Summary</th>
</tr> </tr>