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

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

Issue 1371073003: Display material design policies grouped by tags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaning and Refactoring. Created 5 years, 2 months 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/md_policy.html
diff --git a/chrome/browser/resources/md_policy/md_policy.html b/chrome/browser/resources/md_policy/md_policy.html
index 0ed781997cfbfc7538814e70e50bc25be2d9eb67..f432a66594663bf2713a242e5ee071792364e147 100644
--- a/chrome/browser/resources/md_policy/md_policy.html
+++ b/chrome/browser/resources/md_policy/md_policy.html
@@ -3,8 +3,42 @@
<head>
<meta charset="utf-8">
<title>Policies</title>
+
+ <script src="chrome://resources/js/cr.js"></script>
+ <script src="chrome://resources/js/load_time_data.js"></script>
+ <script src="chrome://resources/js/util.js"></script>
+ <script src="chrome://resources/js/polymer_config.js"></script>
+ <script src="chrome://md-policy/strings.js"></script>
+
+ <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+
+ <link rel="import" href="chrome://md-policy/cr_policy_group.html">
+ <link rel="import" href="chrome://resources/polymer/v1_0/paper-card/paper-card.html">
+
+ <link rel="import" type="css" href="chrome://resources/css/roboto.css">
+
+ <link rel="stylesheet" type="text/css" href="chrome://md-policy/md_policy_global.css">
</head>
<body>
- <h1>A Material Design policy page is under construction!</h1>
+
+ <dom-module id="cr-policy-ui">
stevenjb 2015/10/06 22:42:03 Polymer elements and their scripts should be place
fhorschig 2015/10/07 16:37:11 Done.
+ <link rel="import" type="css" href="chrome://md-policy/md_policy.css">
+ <template>
+ <!--TODO(fhorschig): Remove mock and use reviewed i18n strings! -->
+ <paper-card id="introduction"
+ heading="[[introduction.title]]"
+ aria-label="[[introduction.title]]">
+ <div class="card-content">[[introduction.text]]</div>
+ </paper-card>
+ <!-- end of ToDo -->
+ <div id="groups">
+ </div>
+ </template>
+ <script src="md_policy.js"></script>
+ </dom-module>
+
+ <cr-policy-ui></cr-policy-ui>
+
+ <script src="chrome://resources/js/i18n_template.js"></script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698