]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
status-panel: Update the bkgnd color to support the light theme
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 29 Jun 2017 02:53:43 +0000 (14:53 +1200)
committerPaul Cuzner <pcuzner@redhat.com>
Thu, 29 Jun 2017 02:53:43 +0000 (14:53 +1200)
By default the panel just uses 'green', which with the light theme is too
dark, making the text on the panel difficult to read. This ansible step just
updates the color in the css to make the text more readable

ansible/roles/ceph-grafana/tasks/grafana_plugins.yml

index 84dec0d4e29d0984c2acf85c38b8bc29c1efd0a1..6ee13e616b83d7e4c4bd3febd940246d17eff8d7 100644 (file)
@@ -15,3 +15,6 @@
 - name: Update Grafana plugins
   command: "grafana-cli plugins update {{ item }}"
   with_items: "{{ grafana_plugins }}"
+
+- name: Update status-panel for readability within the 'light' theme
+  command: "sed -i.bak -e 's/green/rgb(1,167,1)/g' /var/lib/grafana/plugins/vonage-status-panel/dist/css/status_panel.css"