home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / AvantBrowser / asetup.exe / _data / webkit / chrome.dll / 0 / BINDATA / 578 < prev    next >
Encoding:
Text File  |  2013-04-03  |  9.0 KB  |  341 lines

  1. <!DOCTYPE HTML>
  2. <html i18n-values="dir:textdirection">
  3. <head>
  4. <meta charset="utf-8">
  5. <title i18n-content="policyTitle"></title>
  6. <link rel="stylesheet" href="chrome://resources/css/widgets.css">
  7. <style>/* Copyright (c) 2012 The Chromium Authors. All rights reserved.
  8.  * Use of this source code is governed by a BSD-style license that can be
  9.  * found in the LICENSE file. */
  10.  
  11. body {
  12.   color: black;
  13.   cursor: default;
  14.   font-family: Arial, sans-serif;
  15.   font-size: 14px;
  16.   margin: 0 10px;
  17.   min-width: 47em;
  18. }
  19.  
  20. button {
  21.   font-size: 0.9em;
  22. }
  23.  
  24. #header {
  25.   border-bottom: 1px solid #000;
  26.   padding-top: 20px;
  27. }
  28.  
  29. #about-policy-title {
  30.   -webkit-padding-end: 24px;
  31.   -webkit-user-select: none;
  32.   border-bottom: 1px solid rgb(198, 201, 206);
  33.   color: rgb(83, 99, 125);
  34.   cursor: pointer;
  35.   font-size: 200%;
  36.   font-weight: normal;
  37.   margin: 0;
  38.   padding-bottom: 14px;
  39.   padding-top: 13px;
  40.   text-shadow: white 0 1px 2px;
  41. }
  42.  
  43. #main-content {
  44.   min-height: 100%;
  45. }
  46.  
  47. #status-title,
  48. #policies-title {
  49.   font-size: 120%;
  50.   font-weight: bold;
  51.   width: 65%;
  52. }
  53.  
  54. section {
  55.   border-bottom: 1px solid #eee;
  56.   margin-top: 17px;
  57.   padding-bottom: 20px;
  58.   width: 100%;
  59. }
  60.  
  61. .separator {
  62.   -webkit-box-orient: horizontal;
  63.   display: -webkit-box;
  64. }
  65.  
  66. #fetch-policies,
  67. #unsent-policies-control {
  68.   -webkit-box-flex: 1;
  69. }
  70.  
  71. #fetch-policies,
  72. #unsent-policies-control,
  73. #search {
  74.   bottom: 3px;
  75.   position: relative;
  76. }
  77.  
  78. #fetch-policies {
  79.   margin-top: 20px;
  80. }
  81.  
  82. #checkbox-and-label {
  83.   -webkit-padding-end: 20px;
  84.   float: right;
  85. }
  86.  
  87. html[dir='rtl'] #checkbox-and-label {
  88.   float: left;
  89. }
  90.  
  91. #search-field {
  92.   bottom: 2px;
  93.   position: relative;
  94. }
  95.  
  96. #status-pane {
  97.   -webkit-box-flex: 1;
  98.   -webkit-box-orient: horizontal;
  99.   display: -webkit-box;
  100.   margin: 0 10%;
  101. }
  102.  
  103. .status-box {
  104.   border: 1px solid #d9d9d9;
  105.   margin: 20px 100px;
  106.   min-height: 140px;
  107.   min-width: 300px;
  108.   overflow: hidden;
  109.   padding: 2px;
  110.   width: 30%;
  111. }
  112.  
  113. legend {
  114.   padding: 0.2em 0.5em;
  115. }
  116.  
  117. .status-box ul {
  118.   -webkit-padding-start: 10px;
  119.   list-style-type: none;
  120. }
  121.  
  122. .status-box li {
  123.   padding: 3px;
  124. }
  125.  
  126. #no-policies-text {
  127.   font-weight: bold;
  128.   margin: 20px;
  129.   text-align: center;
  130. }
  131.  
  132. #policy-table {
  133.   table-layout: fixed;
  134.   width: 100%;
  135. }
  136.  
  137. #policy-table th td {
  138.   border: 1px solid #fff;
  139.   border-collapse: collapse;
  140. }
  141.  
  142. #policy-table th {
  143.   background-color: rgb(218, 218, 221);
  144.   padding: 10px;
  145. }
  146.  
  147. #policy-table td {
  148.   background-color: rgb(234, 238, 243);
  149.   padding: 10px;
  150.   position: relative;
  151.   vertical-align: top;
  152.   width: 20%;
  153. }
  154.  
  155. .text-collapsed {
  156.   bottom: 0;
  157.   left: 0;
  158.   margin: 10px;
  159.   overflow: hidden;
  160.   position: absolute;
  161.   right: 0;
  162.   top: 0;
  163. }
  164.  
  165. .text-cell {
  166.   overflow: hidden;
  167. }
  168.  
  169. .text-collapsed .text-cell {
  170.   text-overflow: ellipsis;
  171. }
  172.  
  173. .text-expanded .text-cell {
  174.   overflow: visible;
  175.   word-wrap: break-word;
  176. }
  177.  
  178. .text-collapsed .text-value {
  179.   white-space: nowrap;
  180. }
  181.  
  182. .text-expanded .text-value {
  183.   white-space: pre-wrap;
  184. }
  185.  
  186. .toggler {
  187.   float: right;
  188.   padding: 0 3px !important;
  189. }
  190. </style>
  191. <script src="chrome://policy/strings.js"></script>
  192. <script src="chrome://resources/js/cr.js"></script>
  193. <script src="chrome://resources/js/cr/ui.js"></script>
  194. <script src="chrome://resources/js/i18n_template.js"></script>
  195. <script src="chrome://resources/js/i18n_process.js"></script>
  196. <script src="chrome://resources/js/jstemplate_compiled.js"></script>
  197. <script src="chrome://resources/js/util.js"></script>
  198. <script src="policy.js"></script>
  199. </head>
  200. <body i18n-values=".style.fontFamily:fontfamily; .style.fontSize:fontsize">
  201.   <h1 id="about-policy-title" i18n-content="policyTitle"></h1>
  202.   <div id="fetch-policies">
  203.     <button id="fetch-policies-button" i18n-content="fetchPoliciesText">
  204.     </button>
  205.   </div>
  206.   <div id="main-content">
  207.     <div id="data-template">
  208.       <section id="status-section" jsselect="status" hidden
  209.           jsdisplay="displayStatusSection">
  210.         <div class="separator">
  211.           <span id="status-title" i18n-content="statusPaneTitle"></span>
  212.         </div>
  213.           <div id="status-pane">
  214.             <fieldset class="status-box" jsselect="deviceStatus"
  215.                 jsdisplay="display">
  216.               <legend i18n-content="devicePoliciesBoxTitle"></legend>
  217.                 <ul>
  218.                   <li>
  219.                     <span i18n-content="enrollmentDomainText"></span>
  220.                     <span jscontent="domain"></span>
  221.                   </li>
  222.                   <li>
  223.                     <span i18n-content="clientIdText"></span>
  224.                     <span jscontent="clientId"></span>
  225.                   </li>
  226.                   <li>
  227.                     <span i18n-content="timeSinceLastFetchText"></span>
  228.                     <span jscontent="timeSinceLastFetch"></span>
  229.                   </li>
  230.                   <li>
  231.                     <span i18n-content="fetchIntervalText"></span>
  232.                     <span jscontent="fetchInterval"></span>
  233.                   </li>
  234.                   <li>
  235.                     <span i18n-content="serverStatusText"></span>
  236.                     <span jscontent="statusMessage"></span>
  237.                   </li>
  238.                 </ul>
  239.             </fieldset>
  240.             <fieldset class="status-box" jsselect="userStatus"
  241.                 jsdisplay="display">
  242.               <legend i18n-content="userPoliciesBoxTitle"></legend>
  243.                 <ul>
  244.                   <li>
  245.                     <span i18n-content="usernameText"></span>
  246.                     <span jscontent="user"></span>
  247.                   </li>
  248.                   <li>
  249.                     <span i18n-content="clientIdText"></span>
  250.                     <span jscontent="clientId"></span>
  251.                   </li>
  252.                   <li>
  253.                     <span i18n-content="timeSinceLastFetchText"></span>
  254.                     <span jscontent="timeSinceLastFetch"></span>
  255.                   </li>
  256.                   <li>
  257.                     <span i18n-content="fetchIntervalText"></span>
  258.                     <span jscontent="fetchInterval"></span>
  259.                   </li>
  260.                   <li>
  261.                     <span i18n-content="serverStatusText"></span>
  262.                     <span jscontent="statusMessage"></span>
  263.                   </li>
  264.                 </ul>
  265.             </fielset>
  266.           </div>
  267.       </section>
  268.       <section id="policies-section">
  269.         <div class="separator">
  270.           <span id="policies-title" i18n-content="policyTitle"></span>
  271.           <div id="unsent-policies-control">
  272.             <div id="checkbox-and-label">
  273.               <input id="toggle-unsent-policies" type="checkbox">
  274.               <label for="toggle-unsent-policies"
  275.               i18n-content="showUnsentPoliciesText"></label>
  276.             </div>
  277.           </div>
  278.           <div id="search">
  279.             <input id="search-field" type="search" incremental
  280.                 i18n-values="placeholder: filterPoliciesText">
  281.           </div>
  282.         </div>
  283.         <div>
  284.           <div id="no-policies" hidden jsdisplay="!anyPoliciesSet">
  285.             <div id="no-policies-text" i18n-content="noPoliciesSet"></div>
  286.           </div>
  287.           <div id="policies" jsvalues=".style.display: anyPoliciesSet ?
  288.               '': 'none'">
  289.             <table id="policy-table">
  290.               <tr>
  291.                 <th i18n-content="appliesToTableHeader"></th>
  292.                 <th i18n-content="policyLevelTableHeader"></th>
  293.                 <th i18n-content="policyNameTableHeader"></th>
  294.                 <th i18n-content="policyValueTableHeader"></th>
  295.                 <th i18n-content="policyStatusTableHeader"></th>
  296.               </tr>
  297.               <tr jsselect="policies"
  298.                   jsvalues=".className: $this.set ?
  299.                   'policy-set': 'policy-unset';
  300.                   .hidden: !Policy.shouldDisplayPolicy($this)">
  301.                 <td>
  302.                   <span class="policy-type" jscontent="scope"></span>
  303.                 </td>
  304.                 <td>
  305.                   <span class="policy-level" jscontent="level"></span>
  306.                 </td>
  307.                 <td class="collapsed">
  308.                   <span class="policy-name" jscontent="name"></span>
  309.                 </td>
  310.                 <td>
  311.                   <div class="text-collapsed text-container">
  312.                     <button class="link-button toggler expand"
  313.                         i18n-content="showMoreText" hidden></button>
  314.                     <div class="text-cell">
  315.                       <span class="text-value" jscontent="value"></span>
  316.                     </div>
  317.                     <button class="link-button toggler collapse"
  318.                         i18n-content="hideText" hidden></button>
  319.                   </div>
  320.                 </td>
  321.                 <td>
  322.                   <div class="text-collapsed text-container">
  323.                     <button class="link-button toggler expand"
  324.                         i18n-content="showMoreText" hidden></button>
  325.                     <div class="text-cell">
  326.                       <span class="text-value" jscontent="status"></span>
  327.                     </div>
  328.                     <button class="link-button toggler collapse"
  329.                         i18n-content="hideText" hidden></button>
  330.                   </div>
  331.                 </td>
  332.               </tr>
  333.             </table>
  334.           </div>
  335.         </div>
  336.       </section>
  337.     </div>
  338.   </div>
  339. </body>
  340. </html>
  341.