Closed kewisch closed 1 year ago
By the way, I have found a way to customize the colors from the colorpicker. It is very ugly, but I don't see a different way to do this. It needs to be done in a plugin, I did not see a way to load python code from the customization files
from indico.core.db.sqlalchemy.colors import ColorTuple
def hack_get_colors():
return [
ColorTuple('#000000', '#000000'),
]
import indico.web.forms.colors
indico.web.forms.colors.get_colors = hack_get_colors
import indico.modules.events.sessions.forms
indico.modules.events.sessions.forms.get_colors = hack_get_colors
import indico.modules.events.sessions.controllers.management.sessions
indico.modules.events.sessions.controllers.management.sessions.get_colors = hack_get_colors
import indico.modules.events.timetable.controllers.manage
indico.modules.events.timetable.controllers.manage.get_colors = hack_get_colors
import indico.modules.events.timetable.util
indico.modules.events.timetable.util.get_colors = hack_get_colors
import indico.modules.events.timetable.forms
indico.modules.events.timetable.forms.get_colors = hack_get_colors
import indico.modules.events.util
indico.modules.events.util.get_colors = hack_get_colors
I'm going to close this in favor of https://github.com/canonical/canonical-indico-ngtimetable
I'd like to propose some theme adjustments in Indico. I think a lot of these we can do in the general customization, they don't need to be specific to the summit.
For context, there are a few different views. Detailed vs Simple, and a toggle between room layout (last links) and normal layout
Most of this will likely be good for the more general customization, I'm not sure anything needs to be specific to the Ubuntu Summit theme.