Commit Graph
36 Commits
Author SHA1 Message Date
Louis Bailleul 8d0976de51 Only resize graphs if browser resize width is less than 200px, refresh the page otherwise 2015-11-30 11:10:35 +00:00
Louis Bailleul 094f7d50da Replace the reload on browser resize by a graph width resize 2015-11-27 11:58:56 +00:00
Louis Bailleul ef1c7a58e3 Fix infinite reload loop due to bad cherry pick
Fix code to respect coding standard
2015-11-26 17:41:41 +00:00
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 4d6e194a52 Add reload on resize event to regenerate the graphs correctly 2015-11-26 17:35:16 +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 66cf9dfffc Only remove the height tag from the lazy loaded images 2015-11-26 17:34:20 +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 ccfc9450ae Add media query to cahnge the size of the thumbnails
This prevent the scrollbar on graph.inc.php
Tweaked the graphs sizing to fit better on the screen
2015-11-26 17:31:35 +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 8f2ddb243d Add media query to cahnge the size of the thumbnails
This prevent the scrollbar on graph.inc.php
Tweaked the graphs sizing to fit better on the screen
2015-11-26 17:15:54 +00:00
Louis Bailleul 12e37a20ee Fix syntax 2015-11-26 17:14:25 +00:00
Louis Bailleul 9ad6763c86 Make graph page use session variable to compute graph size 2015-11-26 17:13:59 +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 bafdeaf9ee Update the session variables for browser width and height when browser is resized 2015-11-26 17:10:34 +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
Louis Bailleul a56344246a Cleanup and reorganize code
Make the average cpu the default
2015-11-23 09:37:58 +00:00
Louis Bailleul 439193c9fa Add the number of cpu between the type and percent graph 2015-11-20 15:53:02 +00:00
Louis Bailleul ee99ee89d6 Replace tab by space 2015-11-20 15:48:44 +00:00
Louis Bailleul 8921c75d1e Fix formatting 2015-11-20 15:40:57 +00:00
Louis Bailleul a2bc1a4513 Add possibility to merge all cpu in one graph in the device overview 2015-11-20 15:33:56 +00:00
Louis Bailleul b48dbc9940 Only display plus sign if there is more than three neighbor interfaces
Take into account the number of ipv6 interfaces
2015-11-19 12:34:21 +00:00
Louis Bailleul d66c18dff5 Only display plus icon if there is something to display 2015-11-19 12:09:58 +00:00
Louis Bailleul db37acbe83 Replace left and bottom arrow icons by plus and minus icons 2015-11-19 12:01:10 +00:00
Louis Bailleul 493e0f33e3 I agree to the conditions of the Contributor Agreement contained in doc/General/Contributing.md. 2015-11-19 11:57:39 +00:00
Louis Bailleul 40c7f8c721 Did not modified any styles so remove any changes in the file 2015-11-19 10:08:24 +00:00
Louis Bailleul cc9fde610d Remove unneeded changes 2015-11-19 10:02:31 +00:00
Louis Bailleul 32f97ab424 Add hide/show feature for neighbors interfaces in the device ports page 2015-11-19 09:54:26 +00:00