Added readme for changing branding.

Change-Id: Ifd9dbfb51cc6e6f206e75824fe20235c0952670a
This commit is contained in:
Emma Steimann 2012-01-30 22:33:08 -06:00
parent 95970b701c
commit c46f36a3cf
2 changed files with 30 additions and 0 deletions

29
docs/source/branding.rst Normal file
View File

@ -0,0 +1,29 @@
Change the branding of Horizon
------------------------------
=======================
Changing the Page Title
=======================
The OpenStack Dashboard Page Title branding (i.e. "**OpenStack** Dashboard")
can be overwritten by adding the attribute ``SITE_BRANDING``
to ``local_settings.py`` with the value being the desired name.
The file ``local_settings.py`` can be found at the Horizon directory path of
``horizon/openstack-dashboard/local/local_settings.py``.
=======================
Changing the Page Logo
=======================
The OpenStack Logo is pulled in through ``style.css``::
#splash .modal {
background: #fff url(../images/logo.png) no-repeat center 35px;
h1.brand a {
background: url(../images/logo.png) top left no-repeat;
To override the OpenStack Logo image, replace the image at the directory path
``horizon/openstack-dashboard/dashboard/static/dashboard/images/logo.png``.
The dimensions should be ``width: 108px, height: 121px``.

View File

@ -68,6 +68,7 @@ Brief guides to areas of interest and importance when developing Horizon.
.. toctree::
:maxdepth: 1
branding
contributing
testing