Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | New config for "allowed" graphs, so people can hide some of them. | onefang | 2019-12-10 | 1 | -1/+1 |
| | |||||
* | fix LICENSE links | Pim van den Berg | 2019-05-10 | 1 | -1/+1 |
| | |||||
* | inc/html: fix php notice about html_weburl when type is canvas | Pim van den Berg | 2016-12-09 | 1 | -2/+1 |
| | | | | | | | | Fixes: > PHP Notice: Undefined variable: html_weburl in inc/html.inc.php on line 131 Mentioned in #132 Closes: #141 | ||||
* | responsive: introduce a hamburger navicon to toggle the menu on smaller devices | Pim van den Berg | 2015-06-21 | 1 | -16/+17 |
| | |||||
* | responsive: make the overview page look nice on all media | Pim van den Berg | 2015-06-21 | 1 | -1/+3 |
| | |||||
* | add responsive css | Pim van den Berg | 2015-06-21 | 1 | -1/+4 |
| | | | | | | | | For 4 types of devices: a. desktop / tablet 10" landscape (default) b. tablet 10" portrait / tablet 7" landscape c. tablet 7" portrait / smartphone landscape d. smartphone portrait | ||||
* | replace table on overview page by divs | Pim van den Berg | 2015-06-21 | 1 | -13/+13 |
| | | | | This works better in a responsive design. | ||||
* | inc/html: remove continue statements to prevent from incomplete html | Pim van den Berg | 2015-06-21 | 1 | -25/+23 |
| | |||||
* | inc/functions: merge functions GET and validate_get | Pim van den Berg | 2015-05-25 | 1 | -5/+5 |
| | | | | And make sure all input from $_GET variables are parsed and validated. | ||||
* | inc/functions: make type argument of validate_get function exactly the same ↵ | Pim van den Berg | 2015-05-25 | 1 | -5/+5 |
| | | | | as $_GET value | ||||
* | inc/html: s/licence/license/ | Pim van den Berg | 2015-02-26 | 1 | -1/+1 |
| | | | | Closes #117 | ||||
* | Revert "make detail page accessible when using "canvas" graph_type" | Peter Wu | 2014-12-14 | 1 | -8/+0 |
| | | | | | | | This reverts commit 82d88098f4203cf7402d4faf5ad100cada70efaf. Breaks async rendering, see https://github.com/pommi/CGP/issues/106#issuecomment-66896905 | ||||
* | inc/html: include jquery from local source | Pim van den Berg | 2014-12-14 | 1 | -1/+1 |
| | | | | So we don't depend on a remote source. | ||||
* | dashboard: showtime: load jquery + timeago.js when config is set | Pim van den Berg | 2014-12-13 | 1 | -1/+7 |
| | |||||
* | dashboard: make timeago dynamic using jquery + timeago | Pim van den Berg | 2014-12-13 | 1 | -1/+4 |
| | |||||
* | Adding option to show time since last update on dashboard. | David Severwright | 2014-12-13 | 1 | -0/+13 |
| | | | | Closes #110 | ||||
* | make detail page accessible when using "canvas" graph_type | Pim van den Berg | 2014-11-11 | 1 | -0/+8 |
| | | | | Closes #106 | ||||
* | inc/html: add deprecation message about collectd 4 | Pim van den Berg | 2014-08-14 | 1 | -1/+12 |
| | |||||
* | Merge (a)sync code, reformat CGP.js | Peter Wu | 2014-08-02 | 1 | -10/+7 |
| | | | | | | | | | | | | | | | | | | | | Best viewed with `git diff -w`. Since CGP-sync.js and CGP-async.js are almost equal except for one function call, merge them into a single function. While at it, reformat CGP.js to expose a single namespace (`CGP`) which exports the symbol `drawAll`. Remove `alert()` and add a `console.error()` call instead. This is less intrustive to users (who will notice a broken graph anyway) and be more helpful for developers (who can examine the call trace in the Developer Console. Add `"use strict"` and use the standard four spaces as indent. Process the script through `js-beautify` which re-indented the code and added some spaces between operators. Replace double by single quotes for consistency. Rename `catch(e)` to `catch(ex)` to supress a jshint warning about IE8. | ||||
* | support php versions without json support and show a warning message | Pim van den Berg | 2014-07-25 | 1 | -0/+13 |
| | |||||
* | Update html.inc.php | François LASSERRE | 2014-07-23 | 1 | -6/+6 |
| | | | Fix a link when no class selected. | ||||
* | Defensive programming: more urlencode/htmlentities | Peter Wu | 2014-07-20 | 1 | -47/+51 |
| | | | | | | | | | | | | | | | | | | Make build_url return an URL, not HTML. This separates presentation from data. plugin_header's return value is unused, remove the unnecessary return. At places where `printf("<tag att='%s'>", $x);` is used, it is now converted to `printf("<tag att=\"%s\">", htmlentities($x));` since the single quote is not escaped by default by htmlentities. In case the canvas style is used, JS should use `textContent` instead of `innerHTML` to avoid reading `"` instead of `"`. Nobody (should) use(s) IE6 anymore, so it is a safe change. While at it, use the standard charset attribute of meta to specify the character set (UTF-8). | ||||
* | Use config time_range for canvas graphs | Vincent Brillault | 2014-06-28 | 1 | -0/+1 |
| | |||||
* | inc/html.inc.php: fix canvas graphs | Pim van den Berg | 2014-05-14 | 1 | -1/+1 |
| | | | | Include graph.php instead of non-existing plugin/$plugin.php. | ||||
* | move collectd_flush function to base class | Pim van den Berg | 2014-05-03 | 1 | -1/+5 |
| | |||||
* | inc: mv graphs_from_plugin, build_url functions to html.inc.php | Pim van den Berg | 2014-05-03 | 1 | -1/+68 |
| | | | | They generate html. | ||||
* | overview: disable showmem by default, add percent sign | Pim van den Berg | 2014-04-15 | 1 | -25/+25 |
| | | | | And change all spaces to tabs. | ||||
* | overview: show used memory percentage | Bogdan Rădulescu | 2014-04-14 | 1 | -1/+25 |
| | |||||
* | overview: only calculate cores when config option showload is enabled | Pim van den Berg | 2014-04-06 | 1 | -2/+2 |
| | | | | Closes: https://github.com/pommi/CGP/issues/60 | ||||
* | use & instead of & in html | Pim van den Berg | 2014-02-10 | 1 | -3/+3 |
| | |||||
* | Add a configuration option for sync/async choice for the canvas graphs | Vincent Brillault | 2014-01-12 | 1 | -0/+11 |
| | |||||
* | automatic page refresh support + config setting | Pim van den Berg | 2013-12-29 | 1 | -0/+6 |
| | | | | Closes: https://github.com/pommi/CGP/pull/35 | ||||
* | add viewport meta tag for better experience on mobile devices | Pim van den Berg | 2013-06-22 | 1 | -0/+1 |
| | |||||
* | overview: add color to load averages | Pim van den Berg | 2013-06-22 | 1 | -4/+11 |
| | | | | | | | | | | The load average number turns: * orange When the load is higher than the number of cpu cores. * red When the load is more than twice as high as the number of cpu cores. | ||||
* | start using fieldset + legend for showing data | Pim van den Berg | 2013-06-22 | 1 | -3/+6 |
| | |||||
* | integrate jsrrdgraph in CGP | Pim van den Berg | 2013-05-18 | 1 | -0/+31 |
| | |||||
* | remove arguments overview_plugins and other_plugins from plugins_list function | Pim van den Berg | 2012-12-28 | 1 | -11/+24 |
| | | | | Those can be gathered within the function. | ||||
* | don't show plugins the host doesn't have | Pim van den Berg | 2012-12-28 | 1 | -2/+4 |
| | |||||
* | resolve php warning/notices when plugin doesn't exist | Pim van den Berg | 2012-12-28 | 1 | -0/+4 |
| | | | | | For example when a non existing plugin is defined in $CONFIG['overview'] it causes a lot of php warnings/notices. | ||||
* | remove ajax js code | Pim van den Berg | 2012-12-21 | 1 | -1/+0 |
| | | | | This isn't needed with the new navigation menu anymore. | ||||
* | remove in-html comments by xian310 | Pim van den Berg | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | replace the ajax expand system by a navigation menu | xian310 | 2012-12-21 | 1 | -12/+47 |
| | | | | Signed-off-by: Pim van den Berg <pim@nethuis.nl> | ||||
* | include trailing slash in config weburl variable | Pim van den Berg | 2011-10-08 | 1 | -5/+5 |
| | | | | | | | When running CGP in the root, the header didn't link to the overview page because the href was empty. Reported-by: Nikoli <Nikoli@lavabit.com> | ||||
* | resolve php notices | Karol Nowacki | 2011-04-21 | 1 | -10/+11 |
| | | | | Including a lot of undefined $_GET values. | ||||
* | fallback to non-annotated tags in version detection | Pim van den Berg | 2011-03-10 | 1 | -1/+1 |
| | |||||
* | add version information to footer | Pim van den Berg | 2011-03-09 | 1 | -1/+15 |
| | |||||
* | add links to footer | Pim van den Berg | 2011-03-01 | 1 | -1/+2 |
| | |||||
* | Define alternating odd/even css classes for rows in main summary | Edmondo Tommasina | 2010-05-29 | 1 | -1/+7 |
| | | | | | | To select different background colors for the rows in the main summary page, just uncomment the tr.odd/tr.even background definition in layout/style.css and set the color. | ||||
* | configuration option to show load averages on overview page | Pim van den Berg | 2010-03-06 | 1 | -14/+16 |
| | |||||
* | add compatibility if rrdinfo doesn't work as expected | Pim van den Berg | 2010-01-12 | 1 | -3/+17 |
| |