Chromium Code Reviews| 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..fe76fe0ac497ff97941a90403951ebd00d5f028e 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" %} |
| @@ -63,6 +71,7 @@ |
| Page built: <b>{{ time }}</b> ({{ tz }}) |
| </div> |
| {% endblock -%} |
| + <!-- Identify opportunities to redirect to Milo and populate. --> |
|
iannucci
2016/11/10 20:56:41
this looks like a random extra comment?
dnj
2016/11/10 22:42:02
Done.
|
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |