schedule grid layout
This commit is contained in:
parent
0b90080417
commit
6d61ae483a
@ -651,7 +651,7 @@
|
||||
const template = document.querySelector("#schedule_row_template");
|
||||
const template_clone = template.content.cloneNode(true);
|
||||
const grid = document.querySelector("#schedule_grid");
|
||||
template_clone.firstElementChild.innerHTML = `<strong>${hour.toString().padStart(2, "0")}:${minutes.toString().padStart(2, "0")}</strong>`;
|
||||
template_clone.firstElementChild.innerHTML = `<td class="schedule_grid_time_cell"><strong>${hour.toString().padStart(2, "0")}:${minutes.toString().padStart(2, "0")}</strong></td><td class="schedule_grid_program_cell"></td>`;
|
||||
template_clone.firstElementChild.setAttribute('data-time', hour + ":" + minutes);
|
||||
grid.appendChild(template_clone);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user