diff --git a/src/www/schedule.template b/src/www/schedule.template new file mode 100644 index 0000000..36b6b54 --- /dev/null +++ b/src/www/schedule.template @@ -0,0 +1,57 @@ + + + + + + +
<% + ['first', 'second', 'third', 'fourth', 'fifth'].each { + dayNumber -> + + if (sundays[dayNumber].date) { %> + +
+

${dayNumber.capitalize()} Sunday, ${sundays[dayNumber].date}

+
+
+
Toddlers
+
    <% + sundays[dayNumber].toddlers.each { volunteer -> %> +
  • ${volunteer}
  • <% } %> +
+
+
+
Infants
+
    <% + sundays[dayNumber].infants.each { volunteer -> %> +
  • ${volunteer}
  • <% } %> +
+
+
+
+
Evening Service
+
    <% + sundays[dayNumber].pm.each { volunteer -> %> +
  • ${volunteer}
  • <% } %> +
+
+
<% }} %> + +
+ +
<% + ['first', 'second', 'third', 'fourth', 'fifth'].each { + dayNumber -> + + if (wednesdays[dayNumber].date) { %> +
+

${dayNumber.capitalize()} Wednesday, ${wednesdays[dayNumber].date}

+ +
<% }} %> + +
+ +