| 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 <div> |
| 17 {{ if .IsAnonymous }} |
| 18 <a href="{{.LoginURL}}">login</a> |
| 19 {{ else }} |
| 20 {{ if .User.Picture }} |
| 21 <img class="account-picture" src="{{.User.Picture}}"> |
| 22 {{ end }} |
| 23 {{ .User.Email }} | |
| 24 <a href="{{.LogoutURL}}">logout</a> |
| 25 {{ end }} |
| 26 </div> |
| 16 </header> | 27 </header> |
| 17 <hr> | 28 <hr> |
| 18 {{template "body" .}} | 29 {{template "body" .}} |
| 19 <footer> | 30 <footer> |
| 20 <hr> | 31 <hr> |
| 21 <a href="https://github.com/luci">luci</a>, | 32 <a href="https://github.com/luci">luci</a>, |
| 22 working for the <a href="https://chromium.org/">Chromium</a> project.<br> | 33 working for the <a href="https://chromium.org/">Chromium</a> project.<br> |
| 23 Page built: <b>{{.CurrentTime | localTime "" }}</b> (All times local) | 34 Page built: <b>{{.CurrentTime | localTime "" }}</b> (All times local) |
| 24 </footer> | 35 </footer> |
| 25 <script> | 36 <script> |
| 26 (function () { | 37 (function () { |
| 27 'use strict'; | 38 'use strict'; |
| 28 milo.makeTimesLocal(); | 39 milo.makeTimesLocal(); |
| 29 })(); | 40 })(); |
| 30 </script> | 41 </script> |
| 31 {{end}} | 42 {{end}} |
| OLD | NEW |