| OLD | NEW |
| (Empty) | |
| 1 <!-- |
| 2 Copyright 2017 The LUCI Authors. All rights reserved. |
| 3 Use of this source code is governed under the Apache License, Version 2.0 |
| 4 that can be found in the LICENSE file. |
| 5 |
| 6 This in an HTML Import-able file that contains the definition |
| 7 of the following elements: |
| 8 |
| 9 <isolate-index> |
| 10 |
| 11 Isolate Index is the landing page for the Isolate UI. |
| 12 It will have links to all other pages and a high-level overview of the fleet
. |
| 13 |
| 14 Usage: |
| 15 |
| 16 <isolate-index></isolate-index> |
| 17 |
| 18 This is a top-level element. |
| 19 |
| 20 Properties: |
| 21 client_id: String, Oauth 2.0 client id. It will be set by server-side |
| 22 template evaluation. |
| 23 |
| 24 Methods: |
| 25 None. |
| 26 |
| 27 Events: |
| 28 None. |
| 29 --> |
| 30 |
| 31 <dom-module id="isolate-index"> |
| 32 <template> |
| 33 <style> |
| 34 h1 { |
| 35 color:purple; |
| 36 } |
| 37 </style> |
| 38 |
| 39 <h1>Hello World</h1> |
| 40 |
| 41 <div>{{client_id}}</div> |
| 42 |
| 43 </template> |
| 44 <script> |
| 45 Polymer({ |
| 46 is: 'isolate-index', |
| 47 |
| 48 properties: { |
| 49 client_id: { |
| 50 type: String, |
| 51 } |
| 52 }, |
| 53 |
| 54 }); |
| 55 </script> |
| 56 </dom-module> |
| OLD | NEW |