OLD | NEW |
| (Empty) |
1 {{define "base"}} | |
2 <!DOCTYPE html> | |
3 <!-- Copyright 2015 The LUCI Authors. All rights reserved. | |
4 Use of this source code is governed under the Apache License, Version 2.0. | |
5 that can be found in the LICENSE file. --> | |
6 <html lang="en"> | |
7 <meta charset="utf-8"> | |
8 <title>{{template "title" .}}</title> | |
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> | |
13 <script src="/static/common/js/time.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> | |
16 {{template "head" . }} | |
17 | |
18 <body class="interface"> | |
19 <header> | |
20 Luci | |
21 <div> | |
22 {{ if .IsAnonymous }} | |
23 <a href="{{.LoginURL}}">login</a> | |
24 {{ else }} | |
25 {{ if .User.Picture }} | |
26 <img class="account-picture" src="{{.User.Picture}}"> | |
27 {{ end }} | |
28 {{ .User.Email }} | | |
29 <a href="{{.LogoutURL}}">logout</a> | |
30 {{ end }} | |
31 </div> | |
32 </header> | |
33 <hr> | |
34 {{template "body" .}} | |
35 <footer> | |
36 <hr> | |
37 <a href="https://github.com/luci">luci</a>, | |
38 working for the <a href="https://chromium.org/">Chromium</a> project.<br> | |
39 Page built: <b>{{.CurrentTime | localTime "" }}</b> | |
40 </footer> | |
41 <script> | |
42 (function () { | |
43 'use strict'; | |
44 milo.makeTimesLocal(); | |
45 milo.annotateDurations(); | |
46 $(document).tooltip({ | |
47 show: false, | |
48 hide: false | |
49 }); | |
50 })(); | |
51 </script> | |
52 <script> | |
53 (function(i,s,o,g,r,a,m){i['CrDXObject']=r;i[r]=i[r]||function(){ | |
54 (i[r].q=i[r].q||[]).push(arguments)},a=s.createElement(o), | |
55 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a
,m) | |
56 })(window,document,'script','https://storage.googleapis.com/crdx-feedback.ap
pspot.com/feedback.js','crdx'); | |
57 | |
58 crdx('setFeedbackButtonLink', 'https://bugs.chromium.org/p/chromium/issues/ent
ry?cc=hinoka@chromium.org&components=Infra%3EPlatform%3EMilo'); | |
59 </script> | |
60 {{ .Analytics }} | |
61 {{end}} | |
62 </html> | |
OLD | NEW |