| 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 {{template "head" . }} | 10 {{template "head" . }} |
| 11 | 11 |
| 12 <body class="interface"> | 12 <body class="interface"> |
| 13 <header> | 13 <header> |
| 14 Luci | 14 Luci |
| 15 <a href="/settings">settings</a> | |
| 16 </header> | 15 </header> |
| 17 <hr> | 16 <hr> |
| 18 {{template "body" .}} | 17 {{template "body" .}} |
| 19 <footer> | 18 <footer> |
| 20 <hr> | 19 <hr> |
| 21 <a href="https://github.com/luci">luci</a>, | 20 <a href="https://github.com/luci">luci</a>, |
| 22 working for the <a href="https://chromium.org/">Chromium</a> project.<br> | 21 working for the <a href="https://chromium.org/">Chromium</a> project.<br> |
| 23 Page built: <b><span id="current-time">{{.CurrentTime}}</span></b> | 22 Page built: <b><span id="current-time">{{.CurrentTime}}</span></b> |
| 24 </footer> | 23 </footer> |
| 25 {{ template "after_body" . }} | 24 {{ template "after_body" . }} |
| 26 <script> | 25 <script> |
| 27 (function () { | 26 (function () { |
| 28 'use strict'; | 27 'use strict'; |
| 29 document.getElementById('current-time').textContent = milo.formatDate( | 28 document.getElementById('current-time').textContent = milo.formatDate( |
| 30 '{{ .CurrentTime }}'); | 29 '{{ .CurrentTime }}'); |
| 31 })(); | 30 })(); |
| 32 </script> | 31 </script> |
| 33 {{end}} | 32 {{end}} |
| OLD | NEW |