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. | |
nodir
2017/06/13 02:10:14
use same indentation for all lines
| |
5 --> | |
6 | |
7 <link rel="import" href="../../bower_components/polymer/polymer.html"> | |
8 <link rel="import" href="../../bower_components/paper-item/paper-item.html"> | |
nodir
2017/06/13 02:10:14
sort imports
here and in other files
| |
9 | |
10 <dom-module id="config-card"> | |
11 <template> | |
12 <style> | |
13 .center { | |
14 margin: auto; | |
15 width: 25%; | |
16 border-style: solid; | |
17 border-width: 2px; | |
18 } | |
19 </style> | |
20 | |
21 <paper-item class="center"> | |
22 <!-- TODO(cwpayton): Add launch icon next to the name of the config | |
23 so that upon clicking the icon, the user will be taken to the config | |
24 set page. --> | |
25 {{name}} | |
nodir
2017/06/13 02:10:14
use [[]] for read-only binding
| |
26 </paper-item> | |
27 </template> | |
28 <script> | |
29 Polymer({ | |
30 is: "config-card", | |
31 | |
32 properties: { | |
33 name: { | |
34 type: String | |
35 } | |
36 } | |
37 }); | |
38 </script> | |
39 </dom-module> | |
OLD | NEW |