adds writing the color as css attribute and then via jsqurey going through all of the class and adding this as background color

This commit is contained in:
2020-04-15 18:47:41 +00:00
parent 04942268a6
commit c3f815939d
2 changed files with 17 additions and 4 deletions

1
app.py
View File

@ -104,6 +104,7 @@ def calendarsFromDb():
calId = calendar[1]
toggle = calendar[3]
color = calendar[4]
pyCalendars.append(Calendar(name, toggle, color))
return pyCalendars