Ori.livneh has submitted this change and it was merged.

Change subject: grafana: Remove hardcoded text color from home page
......................................................................


grafana: Remove hardcoded text color from home page

The current grey is suboptimal in both the white and dark theme.
The default text color set by each theme seems more desirable.

Change-Id: I56711da4bc3f20da2a372c36ce6995fed4a28851
---
M files/grafana/home.json
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved



diff --git a/files/grafana/home.json b/files/grafana/home.json
index b9c1cb1..55a7dc9 100644
--- a/files/grafana/home.json
+++ b/files/grafana/home.json
@@ -20,7 +20,7 @@
           "type": "text",
           "transparent": true,
           "mode": "html",
-          "content": "<h1 id=\"wikimedia-header\" style=\"font-weight: normal; 
color: #555;\">Wikimedia Metrics<img 
src=\"//upload.wikimedia.org/wikipedia/commons/8/81/Wikimedia-logo.svg\" 
alt=\"Wikimedia logo\" style=\"float: left; width: 40px; margin-right: 10px; 
position: relative; top: 2px;\"></h1>\n<script>\n\t( function () {\n\t\tvar 
header, p;\n\t\tif ( window.location.hostname === 'grafana.wikimedia.org' ) 
{\n\t\t\theader = document.getElementById( 'wikimedia-header' );\n\t\t\tp = 
document.createElement( 'p' );\n\t\t\tp.innerHTML = 'To edit dashboards, visit 
<a 
href=\"https://grafana-admin.wikimedia.org\";>https://grafana-admin.wikimedia.org/</a>.';\n\t\t\theader.parentNode.insertBefore(
 p, header.nextSibling );\n\t\t}\n\t}() );\n</script>",
+          "content": "<h1 id=\"wikimedia-header\" style=\"font-weight: 
normal;\">Wikimedia Metrics<img 
src=\"//upload.wikimedia.org/wikipedia/commons/8/81/Wikimedia-logo.svg\" 
alt=\"Wikimedia logo\" style=\"float: left; width: 40px; margin-right: 10px; 
position: relative; top: 2px;\"></h1>\n<script>\n\t( function () {\n\t\tvar 
header, p;\n\t\tif ( window.location.hostname === 'grafana.wikimedia.org' ) 
{\n\t\t\theader = document.getElementById( 'wikimedia-header' );\n\t\t\tp = 
document.createElement( 'p' );\n\t\t\tp.innerHTML = 'To edit dashboards, visit 
<a 
href=\"https://grafana-admin.wikimedia.org\";>https://grafana-admin.wikimedia.org/</a>.';\n\t\t\theader.parentNode.insertBefore(
 p, header.nextSibling );\n\t\t}\n\t}() );\n</script>",
           "style": {},
           "title": ""
         }

-- 
To view, visit https://gerrit.wikimedia.org/r/247496
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I56711da4bc3f20da2a372c36ce6995fed4a28851
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Krinkle <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to