| OLD | NEW |
| 1 {{define "buildbot"}} | 1 {{define "buildbot"}} |
| 2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
| 3 <!-- Copyright 2015 The LUCI Authors. All rights reserved. | 3 <!-- Copyright 2015 The LUCI Authors. All rights reserved. |
| 4 Use of this source code is governed under the Apache License, Version 2.0. | 4 Use of this source code is governed under the Apache License, Version 2.0. |
| 5 that can be found in the LICENSE file. --> | 5 that can be found in the LICENSE file. --> |
| 6 <meta charset="utf-8"> | 6 <meta charset="utf-8"> |
| 7 <title>{{template "title" .}}</title> | 7 <title>{{template "title" .}}</title> |
| 8 <link rel="stylesheet" href="/static/buildbot/css/default.css" type="text/css"> | 8 <link rel="stylesheet" href="/static/buildbot/css/default.css" type="text/css"> |
| 9 <script src="/static/common/js/time.js"></script> | 9 <script src="/static/common/js/time.js"></script> |
| 10 <script src="/static/common/third_party/js/jquery.min.js"></script> | 10 <script src="/static/common/third_party/js/jquery.min.js"></script> |
| 11 {{template "head" . }} | 11 {{template "head" . }} |
| 12 | 12 |
| 13 <body class="interface"> | 13 <body class="interface"> |
| 14 <header> | 14 <header> |
| 15 Luci | 15 Luci |
| 16 </header> | 16 </header> |
| 17 <hr> | 17 <hr> |
| 18 {{template "body" .}} | 18 {{template "body" .}} |
| 19 <footer> | 19 <footer> |
| 20 <hr> | 20 <hr> |
| 21 <a href="https://github.com/luci">luci</a>, | 21 <a href="https://github.com/luci">luci</a>, |
| 22 working for the <a href="https://chromium.org/">Chromium</a> project.<br> | 22 working for the <a href="https://chromium.org/">Chromium</a> project.<br> |
| 23 Page built: <b>{{.CurrentTime | localTime "" }}</b> (All times local) | 23 Page built: <b>{{.CurrentTime | localTime "" }}</b> (All times local) |
| 24 </footer> | 24 </footer> |
| 25 <script> | 25 <script> |
| 26 (function () { | 26 (function () { |
| 27 'use strict'; | 27 'use strict'; |
| 28 milo.makeTimesLocal(); | 28 milo.makeTimesLocal(); |
| 29 })(); | 29 })(); |
| 30 {{ if .AnalyticsID }} |
| 31 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| 32 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| 33 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| 34 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'
); |
| 35 |
| 36 ga('create', '{{.AnalyticsID}}', 'auto'); |
| 37 ga('send', 'pageview'); |
| 38 {{ end }} |
| 30 </script> | 39 </script> |
| 31 {{end}} | 40 {{end}} |
| OLD | NEW |