mirror of https://gitlab.com/bashrc2/epicyon
Icon style
parent
9ca03762fe
commit
d284580df8
|
@ -164,6 +164,10 @@ tr:nth-child(even) > .calendar__day__cell:nth-child(even) {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.calendardayicon {
|
||||
width: 10%
|
||||
}
|
||||
|
||||
.buttonprev {
|
||||
float: left;
|
||||
width: 10%;
|
||||
|
|
|
@ -3689,7 +3689,7 @@ def htmlCalendarDay(translate: {}, \
|
|||
|
||||
deleteButtonStr=''
|
||||
if postId:
|
||||
deleteButtonStr='<td><a href="'+actor+'/calendardelete?id='+postId+'"><img loading="lazy" alt="'+translate['Delete this event']+' |" title="'+translate['Delete this event']+' |" src="/'+iconsDir+'/delete.png" /></a></td>'
|
||||
deleteButtonStr='<td><a href="'+actor+'/calendardelete?id='+postId+'"><img class="calendardayicon" loading="lazy" alt="'+translate['Delete this event']+' |" title="'+translate['Delete this event']+' |" src="/'+iconsDir+'/delete.png" /></a></td>'
|
||||
|
||||
if eventTime and eventDescription and eventPlace:
|
||||
calendarStr+='<tr><td class="calendar__day__time"><b>'+eventTime+'</b></td><td class="calendar__day__event"><span class="place">'+eventPlace+'</span><br>'+eventDescription+'</td>'+deleteButtonStr+'</tr>\n'
|
||||
|
|
Loading…
Reference in New Issue