mirror of https://gitlab.com/bashrc2/epicyon
Place style
parent
0d8d6699e0
commit
880bcef030
|
@ -109,13 +109,19 @@ a:link {
|
|||
|
||||
.calendar__day__event {
|
||||
float: left;
|
||||
font-size: 30px;
|
||||
font-size: 28px;
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
}
|
||||
.calendar__day__event place {
|
||||
float: left;
|
||||
font-size: 32px;
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
}
|
||||
.calendar__day__time {
|
||||
float: left;
|
||||
font-size: 28px;
|
||||
font-size: 38px;
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
}
|
||||
|
|
|
@ -2855,15 +2855,15 @@ def htmlCalendarDay(translate: {}, \
|
|||
if ev.get('name'):
|
||||
eventPlace=ev['name']
|
||||
if eventTime and eventDescription and eventPlace:
|
||||
calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event">'+eventPlace+'<br>'+eventDescription+'</td></tr>\n'
|
||||
calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event"><span class="place">'+eventPlace+'</span><br>'+eventDescription+'</td></tr>\n'
|
||||
elif eventTime and eventDescription and not eventPlace:
|
||||
calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event">'+eventDescription+'</td></tr>\n'
|
||||
elif not eventTime and eventDescription and not eventPlace:
|
||||
calendarStr+='<tr><td class="calendar__day__time"></td><td class="calendar__day__event">'+eventDescription+'</td></tr>\n'
|
||||
elif not eventTime and eventDescription and eventPlace:
|
||||
calendarStr+='<tr><td class="calendar__day__time"></td><td class="calendar__day__event">'+eventPlace+'<br>'+eventDescription+'</td></tr>\n'
|
||||
calendarStr+='<tr><td class="calendar__day__time"></td><td class="calendar__day__event"><span class="place">'+eventPlace+'</span><br>'+eventDescription+'</td></tr>\n'
|
||||
elif eventTime and not eventDescription and eventPlace:
|
||||
calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event">'+eventPlace+'</td></tr>\n'
|
||||
calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event"><span class="place">'+eventPlace+'</span></td></tr>\n'
|
||||
|
||||
calendarStr+='</tbody>\n'
|
||||
calendarStr+='</table></main>\n'
|
||||
|
|
Loading…
Reference in New Issue