| {{define "base"}} |
| <!DOCTYPE html> |
| <!-- Copyright 2015 The LUCI Authors. All rights reserved. |
| Use of this source code is governed under the Apache License, Version 2.0. |
| that can be found in the LICENSE file. --> |
| <html lang="en"> |
| <meta charset="utf-8"> |
| <title>{{template "title" .}}</title> |
| <link rel="stylesheet" href="/static/buildbot/css/default.css" type="text/css"> |
| <link rel="stylesheet" href="/static/common/third_party/css/jquery-ui.min.css" type="text/css"> |
| <script src="/static/common/third_party/js/moment-with-locales.min.js"></script> |
| <script src="/static/common/third_party/js/moment-timezone-with-data-2012-2022.min.js"></script> |
| <script src="/static/common/js/time.js"></script> |
| <script src="/static/common/third_party/js/jquery.min.js"></script> |
| <script src="/static/common/third_party/js/jquery-ui.min.js"></script> |
| {{template "head" . }} |
| |
| <body class="interface"> |
| <header> |
| Luci |
| <div> |
| {{ if .IsAnonymous }} |
| <a href="{{.LoginURL}}">login</a> |
| {{ else }} |
| {{ if .User.Picture }} |
| <img class="account-picture" src="{{.User.Picture}}"> |
| {{ end }} |
| {{ .User.Email }} | |
| <a href="{{.LogoutURL}}">logout</a> |
| {{ end }} |
| </div> |
| </header> |
| <hr> |
| {{template "body" .}} |
| <footer> |
| <hr> |
| <a href="https://github.com/luci">luci</a>, |
| working for the <a href="https://chromium.org/">Chromium</a> project.<br> |
| Page built: <b>{{.CurrentTime | localTime "" }}</b> |
| </footer> |
| <script> |
| (function () { |
| 'use strict'; |
| milo.makeTimesLocal(); |
| milo.annotateDurations(); |
| $(document).tooltip({ |
| show: false, |
| hide: false |
| }); |
| })(); |
| </script> |
| <script> |
| (function(i,s,o,g,r,a,m){i['CrDXObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','https://storage.googleapis.com/crdx-feedback.appspot.com/feedback.js','crdx'); |
| |
| crdx('setFeedbackButtonLink', 'https://bugs.chromium.org/p/chromium/issues/entry?cc=hinoka@chromium.org&components=Infra%3EPlatform%3EMilo'); |
| </script> |
| {{ .Analytics }} |
| {{end}} |
| </html> |