| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 Copyright 2017 The LUCI Authors. All rights reserved. | 2 Copyright 2017 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 | 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. | 4 that can be found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link rel="import" href="../../bower_components/polymer/polymer.html"> | 7 <link rel="import" href="../../bower_components/polymer/polymer.html"> |
| 8 <link rel="import" href="../../bower_components/paper-search/paper-search-bar.ht
ml"> | 8 <link rel="import" href="../../bower_components/paper-search/paper-search-bar.ht
ml"> |
| 9 <link rel="import" href="../../bower_components/app-route/app-location.html"> | 9 <link rel="import" href="../../bower_components/app-route/app-location.html"> |
| 10 <link rel="import" href="../../bower_components/app-route/app-route.html"> | 10 <link rel="import" href="../../bower_components/app-route/app-route.html"> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 .logo { | 31 .logo { |
| 32 height: 50px; | 32 height: 50px; |
| 33 } | 33 } |
| 34 | 34 |
| 35 .right { margin-left:15px; } | 35 .right { margin-left:15px; } |
| 36 | 36 |
| 37 .title { | 37 .title { |
| 38 font-size: 125%; | 38 font-size: 125%; |
| 39 color: white; | 39 color: white; |
| 40 } | 40 } |
| 41 |
| 42 .link { |
| 43 font-size: 75%; |
| 44 color: white; |
| 45 margin-right: 10px; |
| 46 } |
| 41 </style> | 47 </style> |
| 42 | 48 |
| 43 <app-drawer-layout fullbleed force-narrow> | 49 <app-drawer-layout fullbleed force-narrow> |
| 44 <app-header-layout> | 50 <app-header-layout> |
| 45 <app-header reveals slot="header"> | 51 <app-header reveals slot="header"> |
| 46 <app-toolbar> | 52 <app-toolbar> |
| 47 <!--<image class="logo" src="/static/images/chromium.png"/>--> | 53 <!--<image class="logo" src="/static/images/chromium.png"/>--> |
| 48 <div class="title" main-title> | 54 <div class="title" main-title> |
| 49 Configuration Service | 55 Configuration Service |
| 50 </div> | 56 </div> |
| 51 | 57 |
| 58 <a href="https://luci-config.appspot.com/_ah/api/explorer" |
| 59 class="link" |
| 60 target="_blank"> APIs explorer |
| 61 </a> |
| 62 |
| 52 <template is="dom-if" if="[[client_id]]"> | 63 <template is="dom-if" if="[[client_id]]"> |
| 53 <auth-signin | 64 <auth-signin |
| 54 class="right" | 65 class="right" |
| 55 client_id="[[client_id]]" | 66 client_id="[[client_id]]" |
| 56 auth_headers="{{auth_headers}}" | 67 auth_headers="{{auth_headers}}" |
| 57 profile="{{profile}}" | 68 profile="{{profile}}" |
| 58 signed_in="{{signed_in}}"> | 69 signed_in="{{signed_in}}"> |
| 59 </auth-signin> | 70 </auth-signin> |
| 60 </template> | 71 </template> |
| 61 <template is="dom-if" if="[[!client_id]]"> | 72 <template is="dom-if" if="[[!client_id]]"> |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // If the path is blank, redirect to / | 131 // If the path is blank, redirect to / |
| 121 if (!this.route.path) { | 132 if (!this.route.path) { |
| 122 this.set('route.path', '/'); | 133 this.set('route.path', '/'); |
| 123 } | 134 } |
| 124 }); | 135 }); |
| 125 }, | 136 }, |
| 126 | 137 |
| 127 }); | 138 }); |
| 128 </script> | 139 </script> |
| 129 </dom-module> | 140 </dom-module> |
| OLD | NEW |