horizon/openstack_dashboard/templates
Tyler Smith 2e7dce8268 Adds extensible header functionality
This change is to introduce a flexible mechanism for projects to
add content to horizon's navbar.
- Introduces a new plugin file variable called ADD_HEADER_SECTIONS,
  which will take a list of views.  These are template views that
  will be used to render individual header sections.
- There is a new view in openstack_dashboard/views.py to cycle
  through these added views and combine them into the complete
  header to be added to the navbar.
- This view is queried by newly added javascript after page load.
  On response it is inserted into the page's navbar.
  If more than one header is present, the first will be shown in
  the navbar, while the rest are added to a drop-down menu.
- The currently displayed header can be changed by clicking on a
  new header in the drop-down; this is stored in a cookie to
  persist the selection between pages.
- Unit tests were modified/added to verify the new plugin entry
  can be parsed successfully and the main header view can parse
  a plugin's view successfully

Change-Id: I177b69ec4e78c17f827e540a7e669af1c29e8b59
Implements: blueprint extensible-header
Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
2017-10-03 17:11:06 +00:00
..
angular Fix various issues with compressed angular templates and plugins 2016-08-24 16:45:38 +03:00
context_selection Pass page_url instead of whole request to render 2016-05-31 10:34:52 +00:00
header Adds extensible header functionality 2017-10-03 17:11:06 +00:00
horizon Adds extensible header functionality 2017-10-03 17:11:06 +00:00
themes Dynamic Themes 2016-02-25 09:49:43 -08:00
403.html Use 'trimmed' for blocktrans with multi-line contents 2016-05-19 20:00:40 +00:00
404.html Drop Django 1.7 support 2015-11-16 11:55:38 +00:00
500.html Merge "Add apple-touch-icon and safari-pinned-tab" 2017-07-27 07:42:06 +00:00
_footer.html Branding: Horizon needs global footer override 2016-01-14 17:48:36 +00:00
_login_footer.html Branding: Horizon needs global footer override 2016-01-14 17:48:36 +00:00
_login_form_footer.html template for content under the login form 2017-04-05 15:51:57 +12:00
_stylesheets.html Add apple-touch-icon and safari-pinned-tab 2017-05-09 10:30:34 +02:00
angular.html Enable breadcrumbs for AngularIndexView 2017-03-29 11:47:52 +01:00
base.html Improve Horizon nav sidebar 2016-11-23 16:17:13 +00:00
serial_console.html Fix link to serial console stylesheet 2017-08-31 18:04:42 +01:00