congress-dashboard/congress_dashboard/datasources
Eric Kao becbd719cd Suppress 0s in monitoring pane rows
Do not set value to 0 and do not add rows without non-zero value.
Also fix javascript in template to avoid coloring 'No items to display.'

With the following rules:
$ openstack congress policy rule create action 'warning(x) :- blah(x)'
$ openstack congress policy rule create classification 'blah(x) :- error(x)'

Monitoring pane pre-patch shows rows of zero warning/error
screenshot: https://imagebin.ca/v/3VXCVtZxXYUQ

rows suppressed post-patch.
screenshot: https://imagebin.ca/v/3VXX9g34QOGf

Closes-Bug: 1708294

Change-Id: I56adc4da430e3e1e15bd31c42fe3f7bce996dcd0
2017-08-03 17:46:55 +00:00
..
templates/datasources Add support to create/delete Datasource 2017-06-02 15:03:41 +05:30
__init__.py Move congress_dashboard folder to this project 2017-03-15 04:41:58 +00:00
forms.py Add support to create/delete Datasource 2017-06-02 15:03:41 +05:30
panel.py Move congress_dashboard folder to this project 2017-03-15 04:41:58 +00:00
tables.py Add support to create/delete Datasource 2017-06-02 15:03:41 +05:30
urls.py Remove usage of patterns 2017-07-12 11:03:30 +05:30
utils.py Suppress 0s in monitoring pane rows 2017-08-03 17:46:55 +00:00
views.py Merge "Atomic rules to be displayed in UI" 2017-07-27 04:52:42 +00:00