Our templates are very inconsistent and sometimes even use single and
double quotes in the same tag. This is an attempt to clean it up a
little and use double quotes everywhere.
In addition, I have run into a problem with single quotes being
incorrectly escaped by the Django compressor, and I want to see if
this will help with the issue.
Change-Id: I2d5137a87ed65c6abef38a49264346f917a1c85a
"{% load staticfiles %}" is deprecated in Django 2.1 [1] and will be
removed in Django 3.0. This commit addresses the deprecation warning.
[1] https://docs.djangoproject.com/en/3.1/releases/2.1/#id2
Change-Id: Icf0c032bae2674b4d9373b753ef8d81f3729a401
500.html template has incorrect styles for OpenStack logo. This patch
fixes margins and background image size to fit into the container.
Change-Id: Icc2af2731eb8a842c12c073474f3865709b6de2b
Closes-Bug: #1696437
Apple devices handle website icons through Apple Touch
Icon which requires apple-touch-icon tag in stylesheet.
Also Safari pinned tab icon requires a separate SVG
for being correctly displayed.
Change-Id: I108039b263dafee3f0f23a4f7daa796eca36a52f
Closes-Bug: #1689504
This patch updates the OpenStack logos across Horizon to the newer
versions. It also uses SVG files instead of PNG, so that it scales
better.
Change-Id: Ief3661023332ed6777256d20a4dc865f6a51695f
Closes-Bug: 1637490
The home button on the 500 page currently links to "/" which is not
always the true app root, in settings we define a WEBROOT
variable so that we can inform the app of its actual location.
This patch uses that variable to set href location for the home link
on the 500 page, so it will be acurate for all cases.
To make this possible the load_conf template tag now returns conf
itself instead of conf.HORIZON_CONFIG giving the template access to
more of the settings including WEBROOT.
Change-Id: I9d42ac8eeb7f2bf558ba86440fd5ae85ef591568
Closes-Bug: 1427903
For server errors, the context passed to the template is empty,
so things like STATIC_URL and context processors don't work.
Fixes bug 1067206.
Change-Id: Ia1801afaecd6a23fbcc6054552d0fd313597d1c1
There are no longer two separate projects living inside the horizon
repository. There is a single project now with a single setup.py,
single README, etc.
The openstack-dashboard/dashboard django project is now named
"openstack_dashboard" and lives as an example project in the
topmost horizon directory.
The "horizon/horizon" directory has been bumped up a level and now
is directly on the path when the root horizon directory is on
your python path.
Javascript media which the horizon module directly relies upon
now ships in the horizon/static dir rather than
openstack-dashboard/dashboard/static.
All the corresponding setup, installation, build, and env scripts
have been updated accordingly.
Implements blueprint unified-packaging.
Change-Id: Ieed8e3c777432cd046c3e0298869a9428756ab62