icingaweb2-module-grafana
icingaweb2-module-grafana copied to clipboard
Display selected time range
It is rather a "pull request", because I couldn't find any way to show the selected timerange, so I made this simple modification:
library/Grafana/ProvidedHook/Grapher.php
$menu .= '<td><div class="grafana-icon"><div class="grafana-clock"></div></div>'.$this->timerange.'</td>';
Please add it to the code Thanks for the module!
I will takea a look after my vacations
Thanks!
I modified the corresponding less file a bit also:
grafana/public/css/module.less
div.grafana-icon {
height: 32px
- width: 32px;
+ width: 28px;
position: relative;
margin: 0px;
overflow: hidden;
display: inline-block;
+ vertical-align:middle;
}
(thumbs up)
will be in 2.0.0