Update scaling value and thresholds for upscaling of small statechange intervals

They stretched to far and clearly visible intervals were upscaled unnecessarily

Signed-off-by: Tobias Sjöndin <tsjondin@op5.com>
Separated HOST and SERVICE states and colors, Robin will add the correct colors and statenames to the arrays, possibly move it to the controller.

Services and hosts do not have the same colors and state IDs

Signed-off-by: Tobias Sjöndin <tsjondin@op5.com>
Updated help for trends graph to briefly explain the upscaling.

Because it isn't self-explanatory

Signed-off-by: Tobias Sjöndin <tsjondin@op5.com>
Updated tgraph to add some css clearers.

When things got tight, the floats started overlapping.

Signed-off-by: Tobias Sjöndin <tsjondin@op5.com>
Makefile: merlin removes it's own pidfiles, we don't need to help out

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
controllers/reports: initialize $template_values

This way, we don't get seemingly random errors when no data is found.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
Remove RecursiveView, give op5reports better way to include content

Both index and options now echo $extra_content at nice places, and
that's all op5reports really need.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
views/reports/pie_chart: Remove extra div closing

Having it there wrecked havoc on our layout.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
We no longer use phplot, kill it

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
print.css: In general, avoid pagebreaks after <th>

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
views/summary/*: Stop adding <p> tags with broken duration

It's already added in the reports/index view, so if it would actually
print anything, we wouldn't want to see it.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
Open Livestatus Socket: We want unix:// to be prefix not suffix.

Signed-off-by: Henrik Smederod <hsmederod@op5.com>
Ninja_widget: Added function to rename friendly name of widgets.

Signed-off-by: Henrik Smederod <hsmederod@op5.com>
Ninja_widgets: Added cli call to rename friendly name of widgets.

Signed-off-by: Henrik Smederod <hsmederod@op5.com>
Updated with correct colors and states from base_reports/reports model/controller, should be done, works in browser and PDF (with javascript enabled)

Incorrect values were given!

Signed-off-by: Tobias Sjöndin <tsjondin@op5.com>
Remove some loggin done during bugtesting

Signed-off-by: Tobias Sjöndin <tsjondin@op5.com>
Fixed IE hover suppport (tested in IE 8)

Signed-off-by: Tobias Sjöndin <tsjondin@op5.com>
trends/new_report: Fix state colors, state names

As promised in 171b8e0

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
base_reports: Fix colors in _state_colors

I think this code came from the histograms, which apparently nobody is
looking at (probably because they used to be too buggy to use), and it
was dead wrong compared to the rest of the product.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>
Report_options: Fix rpttimeperiod

This makes it less of a special case, and also makes the option dialog
preselect the correct option.

Signed-off-by: Robin Sonefors <robin.sonefors@op5.com>