OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright 2014 The Chromium Authors. All rights reserved. | 2 Copyright 2014 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <polymer-element name="ct-party-time" attributes="partytime" noscript> | 7 <polymer-element name="ct-party-time" noscript> |
8 <template> | 8 <template> |
9 <template if="{{ partytime }}"> | 9 <style> |
10 <style> | 10 :host { |
11 :host { | 11 height: 100%; |
12 height: 100%; | 12 display: flex; |
13 display: flex; | 13 align-items: center; |
14 align-items: center; | 14 justify-content: center; |
15 justify-content: center; | 15 flex-direction: column; |
16 } | 16 } |
17 </style> | 17 </style> |
18 <img src="../images/partytime.gif"> | 18 <div>No failures!</div> |
19 </template> | 19 <img src="../images/partytime.gif"> |
20 </template> | 20 </template> |
21 </polymer-element> | 21 </polymer-element> |
OLD | NEW |