Home | History | Annotate | Download | only in resources
      1 <!DOCTYPE HTML>
      2 <html i18n-values="dir:textdirection">
      3 <head>
      4 <meta charset="utf-8">
      5 <meta name="viewport" content="width=device-width, user-scalable=no">
      6 <title i18n-content="title"></title>
      7 
      8 <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
      9 <link rel="stylesheet" href="uber/uber_shared.css">
     10 <link rel="stylesheet" href="chrome://policy/policy.css">
     11 
     12 <script src="chrome://resources/js/cr.js"></script>
     13 <script src="chrome://resources/js/cr/ui.js"></script>
     14 <script src="chrome://resources/js/cr/ui/focus_outline_manager.js"></script>
     15 <script src="chrome://resources/js/load_time_data.js"></script>
     16 <script src="chrome://resources/js/util.js"></script>
     17 <script src="chrome://policy/uber_utils.js"></script>
     18 </head>
     19 
     20 <body class="uber-frame"
     21     i18n-values=".style.fontFamily:fontfamily; .style.fontSize:fontsize">
     22   <div id="filter-overlay" class="page">
     23     <header>
     24       <input id="filter" class="search-field-container" type="search"
     25           i18n-values="placeholder:filterPlaceholder;
     26                        aria-label:filterPlaceholder" incremental>
     27       </input>
     28     </header>
     29   </div>
     30   <div class="page">
     31     <header>
     32       <h1 i18n-content="title"></h1>
     33     </header>
     34     <section class="reload-show-unset-section">
     35       <div class="reload-policies-button">
     36         <button id="reload-policies" i18n-content="reloadPolicies"></button>
     37       </div>
     38       <div id="show-unset-container" class="show-unset-checkbox">
     39         <label>
     40           <input id="show-unset" type="checkbox"></input>
     41           <span i18n-content="showUnset"></span>
     42         </label>
     43       </div>
     44     </section>
     45     <section id="status-section" class="status-box-section" hidden>
     46       <h3 i18n-content="status"></h3>
     47       <div id="status-box-container"></div>
     48     </section>
     49     <section id="main-section" class="empty">
     50       <!--  This is where policy tables get dynamically added. -->
     51     </section>
     52   </div>
     53   <div hidden>
     54     <fieldset id="status-box-template">
     55       <legend class="legend"></legend>
     56       <div class="status-entry" hidden>
     57         <div class="label" i18n-content="labelDomain"></div>
     58         <div class="domain"></div>
     59       </div>
     60       <div class="status-entry" hidden>
     61         <div class="label" i18n-content="labelUsername"></div>
     62         <div class="username"></div>
     63       </div>
     64       <div class="status-entry">
     65         <div class="label" i18n-content="labelClientId"></div>
     66         <div class="client-id"></div>
     67       </div>
     68       <div class="status-entry">
     69         <div class="label" i18n-content="labelTimeSinceLastRefresh"></div>
     70         <div class="time-since-last-refresh"></div>
     71       </div>
     72       <div class="status-entry">
     73         <div class="label" i18n-content="labelRefreshInterval"></div>
     74         <div class="refresh-interval"></div>
     75       </div>
     76       <div class="status-entry">
     77         <div class="label" i18n-content="labelStatus"></div>
     78         <div class="status"></div>
     79       </div>
     80     </fieldset>
     81     <table>
     82       <tbody id="policy-template">
     83         <tr>
     84           <td class="scope-column">
     85             <div class="scope elide"></div>
     86           </td>
     87           <td class="level-column">
     88             <div class="level elide"></div>
     89           </td>
     90           <td class="name-column">
     91             <div class="name elide"></div>
     92           </td>
     93           <td class="value-column">
     94             <div class="value-container">
     95               <span class="value"></span>
     96               <button class="toggle-expanded-value link-button"></button>
     97             </div>
     98           </td>
     99           <td class="status-column">
    100             <div class="status elide"></div>
    101           </td>
    102         </tr>
    103         <tr class="expanded-value-container">
    104           <td class="expanded-value" colspan=5></td>
    105         </tr>
    106       </tbody>
    107     </table>
    108   </div>
    109 </body>
    110 
    111 <script src="chrome://policy/strings.js"></script>
    112 <script src="chrome://resources/js/i18n_template2.js"></script>
    113 <script src="chrome://policy/policy.js"></script>
    114 </html>
    115