Chromium Code Reviews| Index: chrome/browser/resources/md_policy/policy_ui.html |
| diff --git a/chrome/browser/resources/md_policy/policy_ui.html b/chrome/browser/resources/md_policy/policy_ui.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bd8f7f7b91f99fd20d466c2f3b0ff7381390a5b0 |
| --- /dev/null |
| +++ b/chrome/browser/resources/md_policy/policy_ui.html |
| @@ -0,0 +1,25 @@ |
| +<link rel="import" href="chrome://resources/html/cr.html"> |
| +<link rel="import" href="chrome://resources/html/polymer_config.html"> |
| +<link rel="import" href="chrome://resources/html/util.html"> |
| + |
| +<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> |
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-card/paper-card.html"> |
| +<link rel="import" href="chrome://md-policy/policy_group.html"> |
| + |
| +<dom-module id="policy-ui"> |
| + <link rel="import" type="css" href="chrome://md-policy/policy_ui.css"> |
| + <template> |
| + <paper-card id="introduction" |
| + heading="[[introduction.title]]" |
| + aria-label="[[introduction.title]]"> |
| + <div class="card-content">[[introduction.text]]</div> |
| + </paper-card> |
| + <div id="groups"> |
| + <template is="dom-repeat" items="[[tags_]]" as="tag"> |
| + <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
|
| + </template> |
| + </div> |
| + </template> |
| + |
| + <script src="policy_ui.js"></script> |
| +</dom-module> |