#11256 easyfix: css/styling not loading
Closed: Fixed a year ago by ryanlerch. Opened a year ago by ankursinha.

NOTE

If your issue is for security or deals with sensitive info please
mark it as private using the checkbox below.

Describe what you would like us to do:


The easyfix page doesn't seem to load its theme/css/style anymore. I think we may need to update the template etc. to working URLs?

https://fedoraproject.org/easyfix/

When do you need this to be done by? (YYYY/MM/DD)


Whenever convenient please

PS: wasn't sure if this needs to be filed here or at https://github.com/fedora-infra/fedora-gather-easyfix/issues/new. Happy to also file one on GitHub if that's more appropriate.


Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: dev, low-gain, medium-trouble

a year ago

From what @darknao shared on the IRC, the location of CSS was changed with the websites revamp, so the fedoraproject.org/static/css doesn't exist anymore.

This is also affecting https://torrent.fedoraproject.org

There is a ticket in websites repo https://pagure.io/fedora-websites/issue/1190 that proposes long term solution for this CSS issue.

And this one for more context as PackageReviewStatus was also impacted: https://pagure.io/fedora-infrastructure/issue/11222

we should move the legacy css/images that these sites use to apps.fedoraproject.org/global (which is where we store that stuff typically now)

and then either update the impacted sites, or add a redirect from fedoraproject.org/static/css to something like apps.fedoraproject.org/global/legacy-css/

@darknao any ideas where we can find the contents of what was in fedoraproject.org/static/css ?

we really just need to add a directory for it in here: https://pagure.io/fedora-infra/ansible/blob/main/f/roles/apps-fp-o/files/global and rerun the playbook for it to show up

and then decide on either updating the impacted sites, or putting a redirect in place.

You can find a local copy on sundries01 (/srv/web/fedoraproject.org/static/css) and in our fedora-website git (if you go through history as it's long gone now):
https://pagure.io/fedora-websites/blob/d940d7d6/f/fedoraproject.org/static/css

You'll also need /static/images as the CSS use some of that.

Metadata Update from @ryanlerch:
- Issue assigned to ryanlerch

a year ago

https://fedoraproject.org/easyfix/

is styled again now too -- the redhat logos are missing, but that should be fixed when the regen cronjob runs in about 4mins.

the changes are commited for https://torrent.fedoraproject.org/ but i can't seem to run the torrents.yml playbook due to this issue:

https://pagure.io/fedora-infrastructure/issue/11264

note that the easyfix font isnt working due to CORS issues -- not sure it is worth the effort to fix that because its using such an ancient theme anyway.

The torrent playbook should be working again. It was due to missing facts for its virthost (ibiblio05.fedoraproject.org) and can be fixed with 'ansible -m setup ibiblio05.fedoraproject.org).

playbook run -- these sites are looking themselves again -- with the old style CSS, but i'll leave fixing that for another day.

Metadata Update from @ryanlerch:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata
Boards 1
dev Status: Backlog