Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <!-- Copyright 2014 The LUCI Authors. All rights reserved. | 3 <!-- Copyright 2014 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 <head> | 6 <head> |
| 7 <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> | 7 <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> |
| 8 <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 8 <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 9 <title> | 9 <title> |
| 10 {% if title is defined %}{{title}}{% else %}Swarming Server{% endif %} | 10 {% if title is defined %}{{title}}{% else %}Swarming Server{% endif %} |
| 11 </title> | 11 </title> |
| 12 | 12 |
| 13 <link rel="stylesheet" type="text/css" href="/default.css"/> | 13 <link rel="stylesheet" type="text/css" href="/default.css"/> |
| 14 <link href="/third_party/bootstrap/css/bootstrap-3.1.0.min.css" rel="styleshee t"> | 14 <link href="/third_party/bootstrap/css/bootstrap-3.1.0.min.css" rel="styleshee t"> |
| 15 | 15 |
| 16 <script src="/third_party/jquery/jquery-1.11.0.min.js"> | 16 <script src="/third_party/jquery/jquery-1.11.0.min.js"> |
| 17 </script> | 17 </script> |
| 18 <script src="/third_party/bootstrap/js/bootstrap-3.1.0.min.js"> | 18 <script src="/third_party/bootstrap/js/bootstrap-3.1.0.min.js"> |
| 19 </script> | 19 </script> |
| 20 | 20 |
| 21 {% block headers %} | 21 {% block headers %} |
| 22 {% endblock %} | 22 {% endblock %} |
| 23 </head> | 23 </head> |
| 24 <body> | 24 <body> |
| 25 <div class="top_right_links"> | 25 <div class="top_right_links"> |
| 26 {% if nickname is defined %} | 26 <a href="{{signin_link|safe }}">{{nickname}}</a><br> |
| 27 {% if nickname %} | 27 {{now|datetimeformat}}<br> |
| 28 {{ nickname }} | |
| 29 {% else %} | |
| 30 <a href="{{signin_link|safe }}">Sign in</a> | |
| 31 {% endif %} | |
| 32 <br> | |
| 33 {% endif %} | |
| 34 {% if now is defined %} | |
| 35 {{now|datetimeformat}}<br> | |
|
ghost stip (do not use)
2016/06/07 23:04:25
you don't want to show the time anymore?
M-A Ruel
2016/06/07 23:31:09
it's there at line 27 in new code.
| |
| 36 {% endif %} | |
| 37 {% block floating %} | 28 {% block floating %} |
| 38 {% endblock %} | 29 {% endblock %} |
| 39 </div> | 30 </div> |
| 40 | 31 |
| 41 {% block body %} | 32 {% block body %} |
| 42 {% endblock %} | 33 {% endblock %} |
| 43 | 34 |
| 44 <div style="width:100%"> | 35 <div style="width:100%"> |
| 45 <hr> | 36 <hr> |
| 46 <div style="float: left;"><p> | 37 <div style="float: left;"><p> |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 66 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement (o), | 57 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement (o), |
| 67 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore (a,m) | 58 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore (a,m) |
| 68 })(window,document,'script','//www.google-analytics.com/analytics.js','ga' ); | 59 })(window,document,'script','//www.google-analytics.com/analytics.js','ga' ); |
| 69 | 60 |
| 70 ga('create', '{{google_analytics}}', {'siteSpeedSampleRate': 100}); | 61 ga('create', '{{google_analytics}}', {'siteSpeedSampleRate': 100}); |
| 71 ga('send', 'pageview'); | 62 ga('send', 'pageview'); |
| 72 </script> | 63 </script> |
| 73 {% endif %} | 64 {% endif %} |
| 74 </body> | 65 </body> |
| 75 </html> | 66 </html> |
| OLD | NEW |