A simple UI for simply non-recurring entries...

For the more basic type of calendar entry, the kind that only happens once, we collect the date, month, and year, defaulting to the current date's values. Some things are "all-day" events for that day, such as someone's birthday; others start at a specific time. The interface could possibly be expanded to include optional end time. This functionality would be an extension of the same principles demonstrated here.

We begin to see the UI for rendering basic entries:

 render_basic_entry: function(entry) { var result = []; var all_day = false; var hour_options = [[0, '12AM'], [1, '1AM'], [2, '2AM'], [3, '3AM'], [4, '4AM'], [5, '5AM'], [6, '6AM'], [7, '7AM'], [8, '8AM'], [9, '9AM'], [10, '10AM'], [11, '11AM'], ...

Get React: Building Modern Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.