linkedin / linkedin/oncall

Custom CSS outside container : incalendar.css not updated

Open
#371 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.3k
Forks
245
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I've deployed the container from docker hub (https://registry.hub.docker.com/r/lukdz/oncall/) on latest.

I've modified in db role names and add somes. It seems working very well for the moment.

I'm trying to customize css (outside the container).

I manage to update the oncall.css externally so my left menu is updated.
But I can't manage to modify incalendar.css which is bundeld with oncall.css so none of colors in calendar (with `.inc-event[data-type="Mydatatype"]` selecot) is updated .

I've added in volumes (every thing I found in the container) :

```
/docker/oncall/css/oncall.css:/home/oncall/src/oncall/ui/static/css/oncall.css
/docker/oncall/css/oncall.css:/home/oncall/env/lib/python3.6/site-packages/oncall/ui/static/css/oncall.css
/docker/oncall/css/oncall.css:/home/oncall/source/src/oncall/ui/static/css/oncall.css

/docker/oncall/css/incalendar.css:/home/oncall/src/oncall/ui/static/css/incalendar.css
/docker/oncall/css/incalendar.css:/home/oncall/env/lib/python3.6/site-packages/oncall/ui/static/css/incalendar.css
/docker/oncall/css/incalendar.css:/home/oncall/source/src/oncall/ui/static/css/incalendar.css
```

I do had to reference all oncall.css in order to make it works.

as you can imagine I'm a noob with docker.

Could you point me the right way to do it?

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the Docker image's static CSS locations, especially /home/oncall/src/oncall/ui/static/css/incalendar.css and the corresponding site-packages and source paths listed in the issue. Compare how oncall.css and incalendar.css are loaded and verify the mounted file through the deployed calendar; done means the external incalendar.css changes affect the calendar colors.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.