ripienaar / gdash

A dashboard for Graphite
http://www.devco.net/
Apache License 2.0
754 stars 117 forks source link

Added a "Print this page" functionality #69

Closed keymon closed 11 years ago

keymon commented 11 years ago

I like the graphs be white on black on my screen... but in some cases I want to print the page, and the ink is more expensive than my own blood.

The Print this page feature will create a black on white version of the current page, and open the print dialog, removing unnecessary headers.

You can also create some custom properties to use in printing mode.

Note: Requires and includes PR #68

falkenbt commented 11 years ago

:+1: works like a charm. Lets merge?

falkenbt commented 11 years ago

Ah, too late, automatic merge not working anymore. Wanna check?

keymon commented 11 years ago

I will tonight

keymon commented 11 years ago

Please, try now. There were some conflicts with the placeholder pull.

chjohnst commented 11 years ago

Nevermind!

keymon commented 11 years ago

I will merge this functionality

bwhaley commented 11 years ago

This broke gdash with ruby 1.8.7. I was able to work around it with rvm. I know 1.8.7 is old, but lots of Linux distributions still use it by default. Do we need to preserve 1.8.7 compatibility?

See gist - https://gist.github.com/bwhaley/4772872

keymon commented 11 years ago

checking