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

Side by Side Diff: chrome/browser/resources/policy.html

Issue 7585036: First CL for the about:policy page. This only implements the policy section of the page. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Change in policy.js Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="policyTitle"></title> 5 <title i18n-content="policyTitle"></title>
6 <link rel="stylesheet" href="chrome://resources/css/button.css"> 6 <link rel="stylesheet" href="chrome://resources/css/button.css">
7 <link rel="stylesheet" href="policy.css"> 7 <link rel="stylesheet" href="policy.css">
8 <script src="chrome://policy/strings.js"></script> 8 <script src="chrome://policy/strings.js"></script>
9 <script src="chrome://resources/js/cr.js"></script> 9 <script src="chrome://resources/js/cr.js"></script>
10 <script src="chrome://resources/js/cr/ui.js"></script> 10 <script src="chrome://resources/js/cr/ui.js"></script>
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 <span id="policies-title" i18n-content="policyTitle"></span> 58 <span id="policies-title" i18n-content="policyTitle"></span>
59 <div id="unsent-policies-control"> 59 <div id="unsent-policies-control">
60 <div id="checkbox-and-label"> 60 <div id="checkbox-and-label">
61 <input id="toggle-unsent-policies" type="checkbox"> 61 <input id="toggle-unsent-policies" type="checkbox">
62 <label for="toggle-unsent-policies" 62 <label for="toggle-unsent-policies"
63 i18n-content="showUnsentPoliciesText"></label> 63 i18n-content="showUnsentPoliciesText"></label>
64 </div> 64 </div>
65 </div> 65 </div>
66 <div id="search"> 66 <div id="search">
67 <input id="search-field" type="search" incremental 67 <input id="search-field" type="search" incremental
68 placeholder="Filter policies by name"> 68 i18n-values="placeholder: filterPoliciesText">
69 </div> 69 </div>
70 </div> 70 </div>
71 <div> 71 <div>
72 <div id="no-policies" jsdisplay="!anyPoliciesSet"> 72 <div id="no-policies" jsdisplay="!anyPoliciesSet">
73 <div id="no-policies-text" i18n-content="noPoliciesSet"></div> 73 <div id="no-policies-text" i18n-content="noPoliciesSet"></div>
74 </div> 74 </div>
75 <div id="policies" 75 <div id="policies"
76 jsvalues=".style.visibility: anyPoliciesSet ? 'visible': 'hidden'" > 76 jsvalues=".style.display: anyPoliciesSet ?
77 '': 'none'">
77 <table id="policy-table"> 78 <table id="policy-table">
78 <tr> 79 <tr>
79 <th i18n-content="appliesToTableHeader"></th> 80 <th i18n-content="appliesToTableHeader"></th>
80 <th i18n-content="policyLevelTableHeader"></th> 81 <th i18n-content="policyLevelTableHeader"></th>
81 <th i18n-content="policyNameTableHeader"></th> 82 <th i18n-content="policyNameTableHeader"></th>
82 <th i18n-content="policyValueTableHeader"></th> 83 <th i18n-content="policyValueTableHeader"></th>
83 <th i18n-content="policyStatusTableHeader"></th> 84 <th i18n-content="policyStatusTableHeader"></th>
84 </tr> 85 </tr>
85 <tr jsselect="policies" 86 <tr jsselect="policies"
86 jsvalues=".className: Policy.isPolicySet($this)? 87 jsvalues=".className: $this.set ?
87 'policy-set': 'policy-unset'; 88 'policy-set': 'policy-unset';
88 .style.display: Policy.shouldDisplayPolicy($this) ? 89 .style.display: Policy.shouldDisplayPolicy($this) ?
89 'table-row': 'none'"> 90 '': 'none'">
90 <td> 91 <td>
91 <span class="policy-type" jscontent="sourceType"></span> 92 <span class="policy-type" jscontent="sourceType"></span>
92 </td> 93 </td>
93 <td> 94 <td>
94 <span class="policy-level" jscontent="level"></span> 95 <span class="policy-level" jscontent="level"></span>
95 </td> 96 </td>
96 <td> 97 <td>
97 <span class="policy-name" jscontent="name"></span> 98 <span class="policy-name" jscontent="name"></span>
98 </td> 99 </td>
99 <td> 100 <td>
100 <span class="policy-value" jscontent="value"></span> 101 <span class="policy-value" jscontent="value"></span>
101 </td> 102 </td>
102 <td> 103 <td>
103 <span class="policy-status" jscontent="status"></span> 104 <span class="policy-status" jscontent="status"></span>
104 </td> 105 </td>
105 </tr> 106 </tr>
106 </table> 107 </table>
107 </div> 108 </div>
108 </div> 109 </div>
109 </div> 110 </div>
110 </section> 111 </section>
111 </div> 112 </div>
112 </body> 113 </body>
113 </html> 114 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698