My advice would just be to add the original compress line back to your template, and drop the 'ui/' part. You can see where the files are by pulling Horizon, running 'python manage.py collectstatic' and viewing the 'static/' dir in your horizon root.
'<link href='{{ STATIC_URL }}horizon/ lib/jquery- ui/ui/jquery- ui.css' type='text/css' media='screen' rel='stylesheet' />'
should be
'<link href='{{ STATIC_URL }}horizon/ lib/jquery- ui/jquery- ui.css' type='text/css' media='screen' rel='stylesheet' />'
This is because legacy versions had the 'ui/' directory, but later versions dropped it. We actually have a workaround in Horizon for this at https:/ /github. com/openstack/ horizon/ blob/348069364c f217217af6436e4 55ee04587bfd26b /openstack_ dashboard/ utils/settings. py#L243
My advice would just be to add the original compress line back to your template, and drop the 'ui/' part. You can see where the files are by pulling Horizon, running 'python manage.py collectstatic' and viewing the 'static/' dir in your horizon root.