@@ -130,13 +130,16 @@ def generate_calendar_week_html(start_date):
130130 prev_link = "?v=w&d=%d-%d-%d" % (prev_date .year , prev_date .month , prev_date .day )
131131 next_link = "?v=w&d=%d-%d-%d" % (next_date .year , next_date .month , next_date .day )
132132 month_link = "?d=%d-%d-%d" % (next_date .year , next_date .month , next_date .day )
133+
134+ model .Title = "Calendar: Week of %s %d, %s" % (calendar .month_name [start_date .month ], start_date .day , start_date .year )
133135
134136 html = []
135137 html .append ("<style>" )
136138 html .append ("div#main { width: 100% !important;}" )
137139 html .append (".week-container { height: calc(100vh - 10em); overflow-y: scroll; border: 1px solid #999; }" )
138140 html .append (".week { display: flex; min-height: %dpx; position: relative; padding-left:3em; }" % ((day_end - day_start ) * hour_height ))
139- html .append (".daycol { flex: 1; border-left: 1px solid #999; position: relative; }" )
141+ html .append (".daycol { flex: 3; border-left: 1px solid #999; position: relative; }" )
142+ html .append (".daycol.sun { flex: 4; }" )
140143 html .append (".dayheader { background: #eee; text-align: center; padding: 4px; font-weight: bold; position: sticky; top: 0; z-index: 2; }" )
141144 html .append (".event { position: absolute; background: #def; border: 1px solid #69c; border-radius: 3px; padding: 2px; font-size: 0.85em; overflow: hidden; }" )
142145 html .append (".feat { font-size: 1.1em; font-weight: bold; }" )
@@ -208,7 +211,7 @@ def generate_calendar_week_html(start_date):
208211 event_positions [ev .MeetingId ] = len (lanes ) - 1
209212 lane_count = max (1 , len (lanes ))
210213
211- html .append ("<div class='daycol'>" )
214+ html .append ("<div class='daycol %s '>" % calendar . day_abbr [ day . weekday ()]. lower () )
212215 html .append ("<div class='dayheader'>%s<br>%d</div>" % (calendar .day_abbr [day .weekday ()], day .day ))
213216
214217 for ev in events :
@@ -229,7 +232,7 @@ def generate_calendar_week_html(start_date):
229232 if ev .Featured :
230233 classes .append ('feat' )
231234
232- html .append ("<a href='/Meeting/%s'>" % ev .MeetingId )
235+ html .append ("<a href='/Meeting/%s' title= \" %s \" >" % ( ev .MeetingId , ev . MeetingName ) )
233236 html .append ("<div class='%s' style='top:%dpx; height:%dpx; left:%.2f%%; width:%.2f%%'>" % (
234237 ' ' .join (classes ), top , height , left , width ))
235238 html .append ("%s<br><small>%s - %s</small>" % (
0 commit comments