Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: chrome/browser/resources/md_policy/policy_group.html

Issue 1371073003: Display material design policies grouped by tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test corrections. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_policy/policy_group.html
diff --git a/chrome/browser/resources/md_policy/policy_group.html b/chrome/browser/resources/md_policy/policy_group.html
new file mode 100644
index 0000000000000000000000000000000000000000..a4126aa56f34b8077903d7eb78989d2811efa12d
--- /dev/null
+++ b/chrome/browser/resources/md_policy/policy_group.html
@@ -0,0 +1,25 @@
+<link rel="import" href="chrome://resources/html/polymer_config.html">
+<link rel="import" href="chrome://resources/html/i18n_behavior.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://resources/polymer/v1_0/paper-styles/typography.html">
+
+<link rel="import" href="chrome://md-policy/strings.html">
+
+<dom-module id="policy-group">
+ <link rel="import" type="css" href="chrome://md-policy/policy_group.css">
+ <template>
+ <paper-card heading="[[translatedRiskTag]]"
+ aria-label="[[translatedRiskTag]]">
+ <div class="card-content">
+ <div id="content">
+ <template is="dom-repeat" items="[[policies_]]" as="policy">
+ <p>[[policy.key]]</p>
+ </template>
+ </div>
+ </div>
+ </paper-card>
+ </template>
+ <script src="chrome://md-policy/policy_group.js"></script>
+</dom-module>

Powered by Google App Engine
This is Rietveld 408576698