Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="chrome://resources/html/cr.html"> | |
| 2 <link rel="import" href="chrome://resources/html/polymer_config.html"> | |
| 3 <link rel="import" href="chrome://resources/html/util.html"> | |
| 4 | |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> | |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-card/paper-card.h tml"> | |
| 7 <link rel="import" href="chrome://md-policy/policy_group.html"> | |
| 8 | |
| 9 <dom-module id="policy-ui"> | |
| 10 <link rel="import" type="css" href="chrome://md-policy/policy_ui.css"> | |
| 11 <template> | |
| 12 <paper-card id="introduction" | |
| 13 heading="[[introduction.title]]" | |
| 14 aria-label="[[introduction.title]]"> | |
| 15 <div class="card-content">[[introduction.text]]</div> | |
| 16 </paper-card> | |
| 17 <div id="groups"> | |
| 18 <template is="dom-repeat" items="[[tags_]]" as="tag"> | |
| 19 <policy-group risk-tag="[[tag.name]]"></policy-group> | |
|
Dan Beam
2015/10/14 21:44:00
why can't this just be [[tag]] and avoid the tags.
fhorschig
2015/10/15 17:38:29
Done. (I tried this before and it only worked with
| |
| 20 </template> | |
| 21 </div> | |
| 22 </template> | |
| 23 | |
| 24 <script src="policy_ui.js"></script> | |
| 25 </dom-module> | |
| OLD | NEW |