Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add text style controls to Trigger Panels #351

Closed
1 of 3 tasks
lebriquet opened this issue Feb 9, 2017 · 0 comments
Closed
1 of 3 tasks

Add text style controls to Trigger Panels #351

lebriquet opened this issue Feb 9, 2017 · 0 comments

Comments

@lebriquet
Copy link

I'm submitting a ...

  • Bug report
  • Feature request
  • Question / Support request

Hello, I'm using latest Grafana/Zabbix/grafana-zabbix. It would be great to be able to change a text style (color and font size) in Trigger Panels. It's too small/non-contrast to view on a TV panels by default.
Ideally, different controls for every column, but it is not mandatory.

My work-around for the time being:

sed -i 's/ng-if=\"ctrl.panel.hostField\" style=\"width\: 15\%/ng-if=\"ctrl.panel.hostField\" style=\"width: 180px\"/' /grafana-plugins/alexanderzobnin-zabbix-app/dist/panel-triggers/module.html
sed -i 's/ng-if=\"ctrl.panel.ageField\" style=\"width: 1.0px\"/ng-if=\"ctrl.panel.ageField\"/' /grafana-plugins/alexanderzobnin-zabbix-app/dist/panel-triggers/module.html
sed -i 's/td style=\"background-color: {{trigger.color}}\; color: white/td style=\"background-color: {{trigger.color}}; color: black/' /grafana-plugins/alexanderzobnin-zabbix-app/dist/panel-triggers/module.html
sed -i 's/    padding: 0.45em 0 0.45em 1.1em/    font-size: 1.6em; padding: 0.35em 0.2em 0.35em 0.5em/' /grafana-plugins/alexanderzobnin-zabbix-app/dist/panel-triggers/css/panel_triggers.css

(Just for you to get an idea what I am talking about)
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants