Update documentation for Theme Preview panel
The enabled files for the Developer dashboard and Theme Preview
panel have been moved to contrib.
Added the step for copying enabled files to the local folder.
Change-Id: I3182aafd86e1ed1ba610d4b11bed81f8a65eb0e3
Closes-bug: #1691291
(cherry picked from commit 3cb953e1c7
)
This commit is contained in:
parent
9a9dc361b6
commit
4bcbd2c3e9
@ -44,7 +44,7 @@ The "bootstrap" directory
|
|||||||
This directory contains overrides and customization of Bootstrap variables, and
|
This directory contains overrides and customization of Bootstrap variables, and
|
||||||
markup used by Bootstrap components. This should **only** override existing
|
markup used by Bootstrap components. This should **only** override existing
|
||||||
Bootstrap content. For examples of these components, see the
|
Bootstrap content. For examples of these components, see the
|
||||||
`Theme Preview Page`_.
|
`Theme Preview Panel`_.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@ -104,14 +104,20 @@ should be adhered to:
|
|||||||
components defined by Bootstrap or Horizon that can be reused, rather than
|
components defined by Bootstrap or Horizon that can be reused, rather than
|
||||||
writing new ones.
|
writing new ones.
|
||||||
|
|
||||||
Theme Preview Page
|
Theme Preview Panel
|
||||||
==================
|
===================
|
||||||
|
|
||||||
When the :ref:`DEBUG <debug_setting>` setting is set to ``True``, the Developer
|
The Bootstrap Theme Preview panel contains examples of all stock Bootstrap
|
||||||
dashboard will be present in Horizon's side nav. The Bootstrap Theme Preview
|
markup with the currently applied theme, as well as source code for replicating
|
||||||
panel contains examples of all stock Bootstrap markup with the currently
|
them; click the ``</>`` symbol when hovering over a component.
|
||||||
applied theme, as well as source code for replicating them; click the ``</>``
|
|
||||||
symbol when hovering over a component.
|
To enable the Developer dashboard with the Theme Preview panel:
|
||||||
|
|
||||||
|
#. Set :ref:`DEBUG <debug_setting>` setting to ``True``.
|
||||||
|
#. Copy ``_9001_developer.py`` and ``_9010_preview.py`` from
|
||||||
|
``openstack_dashboard/contrib/developer/enabled/`` to
|
||||||
|
``openstack_dashboard/local/enabled/``.
|
||||||
|
#. Restart the web server.
|
||||||
|
|
||||||
Alternate Theme
|
Alternate Theme
|
||||||
===============
|
===============
|
||||||
|
Loading…
Reference in New Issue
Block a user