horizon/horizon/templatetags
Diana Whitten f5f371655e Barcharts now inherit from a Bootstrap Theme
Barcharts were using a complex D3 mechanism to draw very very simple
markup that can be achieved using a simple Bootstrap Stacked Progress
Bar.  A templatetag was added to aid in markup reuse.

Also, a 'minifyspace' template helper was also added that enables us
to make templates that have excessive attributes to be more readable,
while not affecting the rendered HTML on the page.

By moving the logic to simple markup, the rendering of the barcharts
are now immediate on the page, instead of requiring Horizon Init
functions to run and draw.  This immediate render removes the first
animation on the Quota bars, but it retains animations driven by user
interaction with the forms.

It was hoped that horizon.d3barchart.js could be completely removed,
but it is currently being used by horizon.d3linechart.js.  This will
be addressed soon, but was outside of the scope of this patch.

Much of the markup on the Quota pages was cleaned up and made simpler
to use existing style as well as replacing improper usage of <strong>

Summary of Improvements:
 * Immediate Render time for Bar Charts
 * Bar Charts now Inherit from theme, and use progress bar styles
 * 'minifyspace' was added to increase readability to templates
 * bs_progress_bar templatetag was added to facilitate code reuse
 * Markup for Quota Bar pages refactored

Partially-Implements: blueprint horizon-theme-css-reorg
Partially-Implements: blueprint bootstrap-html-standards

Change-Id: I16a1e3955d3a4fded0f2ea6a87f5e7c2f630185d
2015-12-18 12:28:25 -07:00
..
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
bootstrap.py Barcharts now inherit from a Bootstrap Theme 2015-12-18 12:28:25 -07:00
branding.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00
breadcrumb_nav.py Navigation + cleanup for details pages 2015-11-09 07:01:04 +00:00
form_helpers.py Fix dynamic select layout when help block is displayed 2014-10-21 08:35:14 -05:00
horizon.py Barcharts now inherit from a Bootstrap Theme 2015-12-18 12:28:25 -07:00
parse_date.py Fix E128 errors in horizon/ 2014-10-15 13:50:07 +09:00
shellfilter.py Fix E128 errors in horizon/ 2014-10-15 13:50:07 +09:00
sizeformat.py Replaced hard coded values with oslo_utils.units constants 2015-02-27 14:49:32 -05:00
truncate_filter.py Remove extraneous vim configuration comments 2014-05-06 15:30:10 +08:00