Chromium Code Reviews| Index: appengine/config_service/ui/src/config-ui/config-card.html |
| diff --git a/appengine/config_service/ui/src/config-ui/config-card.html b/appengine/config_service/ui/src/config-ui/config-card.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..0cb2f0be0054770b99d104c45b0c27863b56bb46 |
| --- /dev/null |
| +++ b/appengine/config_service/ui/src/config-ui/config-card.html |
| @@ -0,0 +1,39 @@ |
| +<!-- |
| + Copyright 2017 The LUCI Authors. All rights reserved. |
| + Use of this source code is governed under the Apache License, Version 2.0 |
| + that can be found in the LICENSE file. |
|
nodir
2017/06/13 02:10:14
use same indentation for all lines
|
| +--> |
| + |
| +<link rel="import" href="../../bower_components/polymer/polymer.html"> |
| +<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
|
| + |
| +<dom-module id="config-card"> |
| + <template> |
| + <style> |
| + .center { |
| + margin: auto; |
| + width: 25%; |
| + border-style: solid; |
| + border-width: 2px; |
| + } |
| + </style> |
| + |
| + <paper-item class="center"> |
| + <!-- TODO(cwpayton): Add launch icon next to the name of the config |
| + so that upon clicking the icon, the user will be taken to the config |
| + set page. --> |
| + {{name}} |
|
nodir
2017/06/13 02:10:14
use [[]] for read-only binding
|
| + </paper-item> |
| + </template> |
| + <script> |
| + Polymer({ |
| + is: "config-card", |
| + |
| + properties: { |
| + name: { |
| + type: String |
| + } |
| + } |
| + }); |
| + </script> |
| +</dom-module> |