| OLD | NEW |
| 1 {{define "base"}} | 1 {{define "base"}} |
| 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 <html lang="en"> | 6 <html lang="en"> |
| 7 <meta charset="utf-8"> | 7 <meta charset="utf-8"> |
| 8 <title>{{template "title" .}}</title> | 8 <title>{{template "title" .}}</title> |
| 9 <link rel="stylesheet" href="/static/buildbot/css/default.css" type="text/css"> | 9 <link rel="stylesheet" href="/static/buildbot/css/default.css" type="text/css"> |
| 10 <link rel="stylesheet" href="/static/common/third_party/css/jquery-ui.min.css" t
ype="text/css"> |
| 11 <script src="/static/common/third_party/js/moment-with-locales.min.js"></script> |
| 12 <script src="/static/common/third_party/js/moment-timezone-with-data-2012-2022.m
in.js"></script> |
| 10 <script src="/static/common/js/time.js"></script> | 13 <script src="/static/common/js/time.js"></script> |
| 11 <script src="/static/common/third_party/js/jquery.min.js"></script> | 14 <script src="/static/common/third_party/js/jquery.min.js"></script> |
| 15 <script src="/static/common/third_party/js/jquery-ui.min.js"></script> |
| 12 {{template "head" . }} | 16 {{template "head" . }} |
| 13 | 17 |
| 14 <body class="interface"> | 18 <body class="interface"> |
| 15 <header> | 19 <header> |
| 16 Luci | 20 Luci |
| 17 <div> | 21 <div> |
| 18 {{ if .IsAnonymous }} | 22 {{ if .IsAnonymous }} |
| 19 <a href="{{.LoginURL}}">login</a> | 23 <a href="{{.LoginURL}}">login</a> |
| 20 {{ else }} | 24 {{ else }} |
| 21 {{ if .User.Picture }} | 25 {{ if .User.Picture }} |
| 22 <img class="account-picture" src="{{.User.Picture}}"> | 26 <img class="account-picture" src="{{.User.Picture}}"> |
| 23 {{ end }} | 27 {{ end }} |
| 24 {{ .User.Email }} | | 28 {{ .User.Email }} | |
| 25 <a href="{{.LogoutURL}}">logout</a> | 29 <a href="{{.LogoutURL}}">logout</a> |
| 26 {{ end }} | 30 {{ end }} |
| 27 </div> | 31 </div> |
| 28 </header> | 32 </header> |
| 29 <hr> | 33 <hr> |
| 30 {{template "body" .}} | 34 {{template "body" .}} |
| 31 <footer> | 35 <footer> |
| 32 <hr> | 36 <hr> |
| 33 <a href="https://github.com/luci">luci</a>, | 37 <a href="https://github.com/luci">luci</a>, |
| 34 working for the <a href="https://chromium.org/">Chromium</a> project.<br> | 38 working for the <a href="https://chromium.org/">Chromium</a> project.<br> |
| 35 Page built: <b>{{.CurrentTime | localTime "" }}</b> | 39 Page built: <b>{{.CurrentTime | localTime "" }}</b> |
| 36 </footer> | 40 </footer> |
| 37 <script> | 41 <script> |
| 38 (function () { | 42 (function () { |
| 39 'use strict'; | 43 'use strict'; |
| 40 milo.makeTimesLocal(); | 44 milo.makeTimesLocal(); |
| 45 milo.annotateDurations(); |
| 46 $(document).tooltip({ |
| 47 show: false, |
| 48 hide: false |
| 49 }); |
| 41 })(); | 50 })(); |
| 42 </script> | 51 </script> |
| 43 <script> | 52 <script> |
| 44 (function(i,s,o,g,r,a,m){i['CrDXObject']=r;i[r]=i[r]||function(){ | 53 (function(i,s,o,g,r,a,m){i['CrDXObject']=r;i[r]=i[r]||function(){ |
| 45 (i[r].q=i[r].q||[]).push(arguments)},a=s.createElement(o), | 54 (i[r].q=i[r].q||[]).push(arguments)},a=s.createElement(o), |
| 46 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a
,m) | 55 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a
,m) |
| 47 })(window,document,'script','https://storage.googleapis.com/crdx-feedback.ap
pspot.com/feedback.js','crdx'); | 56 })(window,document,'script','https://storage.googleapis.com/crdx-feedback.ap
pspot.com/feedback.js','crdx'); |
| 48 | 57 |
| 49 crdx('setFeedbackButtonLink', 'https://bugs.chromium.org/p/chromium/issues/ent
ry?cc=hinoka@chromium.org&components=Infra%3EPlatform%3EMilo'); | 58 crdx('setFeedbackButtonLink', 'https://bugs.chromium.org/p/chromium/issues/ent
ry?cc=hinoka@chromium.org&components=Infra%3EPlatform%3EMilo'); |
| 50 </script> | 59 </script> |
| 51 {{ .Analytics }} | 60 {{ .Analytics }} |
| 52 {{end}} | 61 {{end}} |
| 53 </html> | 62 </html> |
| OLD | NEW |