Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1427)

Unified Diff: masters/master.chromium/templates/layout.html

Issue 2491643003: Update waterfall templates to include Milo link. (Closed)
Patch Set: Remove superfluous comment. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: masters/master.chromium/templates/layout.html
diff --git a/masters/master.chromium/templates/layout.html b/masters/master.chromium/templates/layout.html
index 47e9b8622ed3ed3db15879193c752637e8e5c2b5..f85e759fcdf05863ac1a025f7237f7a226be20cd 100644
--- a/masters/master.chromium/templates/layout.html
+++ b/masters/master.chromium/templates/layout.html
@@ -16,6 +16,9 @@
<title>{{ pageTitle|e }}</title>
<link rel="stylesheet" href="{{ stylesheet }}" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ path_to_root }}rss">
+
+ <link rel="stylesheet" href="{{ path_to_root }}common-resources/milo.css" type="text/css" />
+ <script src="{{ path_to_root }}common-resources/milo.js"></script>
{% endblock %}
</head>
<body class="interface">
@@ -33,6 +36,11 @@
- <a href="{{ path_to_root }}json/help">JSON API</a>
- <a href="{{ path_to_root }}about">About</a>
</div>
+
+ <!-- Inject Milo tag, when appropriate. -->
+ <script>
+ (function() { MiloInject("{{path_to_root}}", "{{mastername|default}}"); }());
+ </script>
{% endblock %}
{% include "waterfall-state.html" %}

Powered by Google App Engine
This is Rietveld 408576698