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

Unified Diff: masters/master.client.dart/templates/layout.html

Issue 2491643003: Update waterfall templates to include Milo link. (Closed)
Patch Set: 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.client.dart/templates/layout.html
diff --git a/masters/master.client.dart/templates/layout.html b/masters/master.client.dart/templates/layout.html
index 7e4451c7c84f9707a2854868c67381c2053e7cd9..8466ebafb223d3a4a9a59e265d2c9fc3d67b56c6 100644
--- a/masters/master.client.dart/templates/layout.html
+++ b/masters/master.client.dart/templates/layout.html
@@ -15,6 +15,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 }}milo.css" type="text/css" />
+ <script src="{{ path_to_root }}milo.js"></script>
{% endblock %}
</head>
<body class="interface">
@@ -31,7 +34,13 @@
<a href="{{ path_to_root }}changes">Changesources</a>
- <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 %}
{%- block barecontent -%}

Powered by Google App Engine
This is Rietveld 408576698