Chromium Code Reviews| Index: chrome/browser/resources/policy/policy.html |
| diff --git a/chrome/browser/resources/policy/policy.html b/chrome/browser/resources/policy/policy.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..87e35f6477f9e9e278bdb64e0ed3101243fd5a0f |
| --- /dev/null |
| +++ b/chrome/browser/resources/policy/policy.html |
| @@ -0,0 +1,103 @@ |
| +<!DOCTYPE HTML> |
|
Mattias Nissler (ping if slow)
2011/08/09 13:20:40
Duplicate?
|
| +<html id="t" i18n-values="dir:textdirection"> |
| +<head> |
| +<meta charset="utf-8"> |
| +<!-- X-WebKit-CSP is our development name for Content-Security-Policy. |
| + TODO(tsepez) rename when Content-security-policy is done. |
| + TODO(tsepez) remove unsafe-eval when bidichecker_packaged.js fixed. |
| +--> |
| +<meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome://resources 'self' 'unsafe-eval'"> |
| +<!-- Set the title to that of the default page so that the title doesn't flash |
| + on load (for the most common case). --> |
| +<title i18n-content="browserPageTabTitle"></title> |
| +<link rel="stylesheet" href="chrome://resources/css/button.css"> |
| +<link rel="stylesheet" href="../shared/css/button.css"> |
| +<link rel="stylesheet" href="chrome://resources/css/list.css"> |
| +<link rel="stylesheet" href="../shared/css/list.css"> |
| +<link rel="stylesheet" href="chrome://resources/css/select.css"> |
| +<link rel="stylesheet" href="../shared/resources/select.css"> |
| +<link rel="stylesheet" href="../webui.css"> |
| +<link rel="stylesheet" href="../button.css"> |
| +<link rel="stylesheet" href="font_settings.css"> |
| +<link rel="stylesheet" href="policy.css"> |
| + |
| +<script src="chrome://resources/js/cr.js"></script> |
| +<script src="chrome://resources/js/cr/command_line.js"></script> |
| +<script src="chrome://resources/js/cr/event_target.js"></script> |
| +<script src="chrome://resources/js/cr/ui.js"></script> |
| +<script src="chrome://resources/js/cr/ui/list_selection_model.js"></script> |
| +<script src="chrome://resources/js/cr/ui/list_selection_controller.js"></script> |
| +<script src="chrome://resources/js/cr/ui/list_single_selection_model.js"></script> |
| +<script src="chrome://resources/js/cr/ui/list_item.js"></script> |
| +<script src="chrome://resources/js/cr/ui/list.js"></script> |
| +<script src="chrome://resources/js/cr/ui/position_util.js"></script> |
| +<script src="chrome://resources/js/cr/ui/table.js"></script> |
| +<script src="chrome://resources/js/local_strings.js"></script> |
| +<script src="chrome://resources/js/util.js"></script> |
| +<script src="chrome://resources/policy/policy.js"></script> |
| +</head> |
| +<body i18n-values=".style.fontFamily:fontfamily;"> |
| +<div class="header"> |
| + <h1 id="about-policy-title" i18n-content="title">Policies</h1> |
| +</div> |
| +<div id="main-content"> |
| + <section id="descriptionSection"> |
| + <p>blablablablablablablablabla</p> |
| + </section> |
| + <section id="statusSection"> |
| + <div id="status-separator"> |
| + <table class="separator-table"> |
| + <tbody> |
| + <tr> |
| + <td id="status-title">Status</td> |
| + <td id="fetch-policies-button"> |
| + <button>Fetch Policies Now</button> |
| + </td> |
| + </tr> |
| + </tbody> |
| + </table> |
| + </div> |
| + <div id="status-pane"> |
| + <fieldset class="status-box"> |
| + <legend>Device Policies</legend> |
| + <ul> |
| + <li>Enrollment domain:</li> |
| + <li>Last fetched:</li> |
| + <li>Fetch interval:</li> |
| + <li>Server status:</li> |
| + </ul> |
| + </fieldset> |
| + <fieldset class="status-box"> |
| + <legend>User Policies</legend> |
| + <ul> |
| + <li>Enrollment domain:</li> |
| + <li>Last fetched:</li> |
| + <li>Fetch interval:</li> |
| + <li>Server status:</li> |
| + </ul> |
| + </fielset> |
| + </div> |
| + </section> |
| + <section id="policiesSection"> |
| + <div id="policies-separator"> |
| + <table class="separator-table"> |
| + <tbody> |
| + <tr> |
| + <td id="policies-title">Policies</td> |
| + <td id="unsent-policies-checkbox"> |
| + <input type="checkbox"> |
| + <span id="show-unsent-policies">Also show policies not sent by the server</span> |
| + </td> |
| + <td id="search-field"> |
| + <input type="search" incremental placeholder="Filter by policy name"> |
| + </td> |
| + </tr> |
| + </tbody> |
| + </table> |
| + </div> |
| +<!-- <div id="no-policies" jsdisplay="policies.length === 0">--> |
| +<!-- </div>--> |
| + </section> |
| +</div> |
| +</body> |
| +</html> |