`; // top level container
+ caldisplay += `
`; // the row of labels above the calendar content
+
+ // This section renders the day labels at the top of the screen
+ caldisplay += `
`; // container for ruler+days
+ caldisplay += `
`; // the hours ruler on the left side of the screen
+ caldisplay += "
"; // closes ctdl-calendar-ruler
+ for (let i=0; i
Hi!`;
+ }
+ caldisplay += "
"; // closes ctdl-calendar-week
+
+ caldisplay += `
`; // closes ctdl-calendar-toplabels
+ caldisplay += ``; // the actual boxes of content below the labels
+ caldisplay += `
`; // container for ruler+days
+ caldisplay += `
`; // the hours ruler on the left side of the screen
+ for (let i=0; i<24; ++i) {
+ caldisplay += i + "
";
+ };
+ caldisplay += `
`; // closes ctdl-calendar-ruler
+
+ // This section renders the day boxes.
+ for (let i=0; i
Hi!`;
+ }
+ caldisplay += "
"; // closes ctdl-calendar-week
+ caldisplay += ""; // closes ctdl-calendar-content
+ caldisplay += ""; // closes ctdl-calendar-container
+ document.getElementById("ctdl-main").innerHTML = caldisplay;
+
+ // Start on today.
+ go_to_today();
}