OLD | NEW |
1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
4 | 4 |
5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
7 | 7 |
8 <!-- | 8 <!-- |
9 Blue header for New Gaia UI, contains blue avatar logo and user email. | 9 Blue header for New Gaia UI, contains blue avatar logo and user email. |
10 | 10 |
11 Example: | 11 Example: |
12 <gaia-header email="user@example.com"> | 12 <gaia-header email="user@example.com"> |
13 </gaia-header> | 13 </gaia-header> |
14 | 14 |
15 Attributes: | 15 Attributes: |
16 'email' - displayed email. | 16 'email' - displayed email. |
17 --> | 17 --> |
18 <dom-module name="gaia-header"> | 18 <dom-module name="gaia-header"> |
19 <link rel="stylesheet" href="gaia_header.css"> | 19 <link rel="stylesheet" href="gaia_header.css"> |
20 | 20 |
21 <template> | 21 <template> |
22 <img src="chrome://theme/IDR_LOGO_AVATAR_CIRCLE_BLUE_COLOR" alt | 22 <img src="chrome://theme/IDR_LOGO_AVATAR_CIRCLE_BLUE_COLOR" alt |
23 class="self-start"> | 23 class="self-start"> |
24 <div id="email"><span>[[email]]<span></div> | 24 <div id="email"><span>[[email]]<span></div> |
25 </template> | 25 </template> |
26 </dom-module> | 26 </dom-module> |
27 | |
OLD | NEW |