23 Commits

Author SHA1 Message Date
Tony Murray
8c639aa5a4 PSR2 Cleanup: /html edition
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Paul Gear
771fc342fd Clear $graph_array after graph is printed 2016-01-17 12:13:45 +10:00
Arjit Chaudhary
e1e7b83747 Put graphs correctly in a row 2015-12-21 18:33:35 +05:30
Louis Bailleul
3f25aa4592 Calculate the height as width/2.15 to respect the old aspect ratio
Only display two graphs per line for resolution with width between 700x and 1024px
2015-11-26 17:35:30 +00:00
Louis Bailleul
a62067a5b9 Rework the padding and ratio to better fit the lazy loading 2015-11-26 17:35:09 +00:00
Louis Bailleul
8e271ace83 Remove debug echo 2015-11-26 17:34:02 +00:00
Louis Bailleul
64b5fa3c4c Round the width and height to prevent weird behavior 2015-11-26 17:33:06 +00:00
Louis Bailleul
c4d774e8d7 Add more padding to accomodate row of graphs that have large y-axis text
Slightly reduced the height of rows of graphs
2015-11-26 17:32:33 +00:00
Louis Bailleul
6bd84ee94f Use media query to reduce font and img size when width is < 960px
Avoid having horizontal scrollbars.
2015-11-26 17:32:13 +00:00
Louis Bailleul
961a9fff4b Make graph page use session variable to compute graph size 2015-11-26 17:29:17 +00:00
Louis Bailleul
ce8e79c63a Update the session variables for browser width and height when browser is resized 2015-11-26 17:26:27 +00:00
Louis Bailleul
6e1d234312 Divide the width by the number of graphs in a row reduced by an arbitrary value to allow margins
Only display one graph per line if width is < 800px
2015-11-26 17:23:55 +00:00
Louis Bailleul
8961a5f2c1 Use media query to reduce font and img size when width is < 960px
Avoid having horizontal scrollbars.
2015-11-26 17:16:35 +00:00
Louis Bailleul
12e37a20ee Fix syntax 2015-11-26 17:14:25 +00:00
Louis Bailleul
b1fd1b3137 Only update resolution if session variables don't exist
Tune print-graphrow.inc.php to avoid last graph going to a new line in certain cases
2015-11-26 17:13:29 +00:00
Louis Bailleul
4731e8621b Correct code to match code standards 2015-11-26 17:12:38 +00:00
Louis Bailleul
6116f00e58 Divide the width by the number of graphs in a row reduced by an arbitrary value to allow margins
Only display one graph per line if width is < 800px
2015-11-26 17:09:39 +00:00
Louis Bailleul
fc9f7eade8 Store browser height and width in session using ajax call
Modify html/includes/print-graphrow.inc.php to make use of the new Session variable
2015-11-26 17:08:39 +00:00
Clint Armstrong
b5e8998c70 apply lazyload patch 2015-07-16 12:42:58 -04:00
Job Snijders
d8693f05ae Fix coding style part 2 2015-07-15 11:04:22 +02:00
Travis Hegner
8e785ebaaa Fix issue #1362, added a line to reset , because the calling page is expecting new graphs, not appended ones 2015-06-29 10:34:03 -04:00
laf
7c5087bacb Added bootgrid support for storage page 2015-05-16 16:30:25 +01:00
Adam Amstrong
a12c71df4e quadgraphs -> graphrow
git-svn-id: http://www.observium.org/svn/observer/trunk@3093 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-26 16:49:38 +00:00