Home | History | Annotate | Download | only in resources
      1 <!DOCTYPE HTML>
      2 <html i18n-values="dir:textdirection;">
      3 <head>
      4 <meta charset="utf-8">
      5 <title i18n-content="componentsTitle"></title>
      6 <link rel="stylesheet" href="components.css">
      7 <if expr="pp_ifdef('chromeos')">
      8   <link rel="stylesheet"
      9       href="chrome://resources/css/chromeos/ui_account_tweaks.css">
     10 </if>
     11 </head>
     12 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
     13 <div id="body-container" style="visibility:hidden">
     14 
     15   <div id="header"><h1 i18n-content="componentsTitle">TITLE</h1></div>
     16 
     17   <div id="componentTemplate">
     18 
     19     <div id="container" class="vbox-container">
     20     <div id="top" class="wbox">
     21 
     22       <div class="section-header">
     23         <table><tr>
     24           <td>
     25             <span class="section-header-title" i18n-content="componentsTitle"
     26               >TITLE</span>
     27             <span class="section-header-title"
     28                   jsdisplay="components.length > 0">(<span
     29                   jscontent="components.length"></span>)</span>
     30           </td>
     31         </tr></table>
     32       </div>
     33 
     34     </div>
     35     </div>
     36 
     37     <div class="content">
     38       <div class="component-name no-components" jsdisplay="components.length === 0">
     39         <div i18n-content="noComponents">NO_COMPONENTS_ARE_INSTALLED</div>
     40       </div>
     41 
     42       <div jsdisplay="components.length > 0">
     43         <div class="component"
     44              jsselect="components">
     45           <table>
     46           <tr class='component-enabled'>
     47           <td>
     48             <div class="component-text">
     49               <div>
     50                 <span class="component-name" dir="ltr"
     51                       jscontent="name">NAME</span>
     52                 <span>
     53                   - <span i18n-content="componentVersion">VERSION</span>
     54                     <span dir="ltr" jscontent="version">x.x.x.x</span>
     55                 </span>
     56               </div>
     57               <div class="component-actions" guest-visibility="disabled">
     58                 <button class="button-check-update" jsvalues=".id:id"
     59                         i18n-content="checkUpdate">
     60                    CHECK_UPDATE
     61                 </button>
     62               </div>
     63             </div>
     64           </td>
     65           </tr>
     66           </table>
     67         </div>
     68       </div>
     69     </div>
     70   </div>
     71 </div>
     72 <script src="chrome://resources/js/util.js"></script>
     73 <script src="chrome://resources/js/cr.js"></script>
     74 <script src="chrome://components/components.js"></script>
     75 <if expr="pp_ifdef('chromeos')">
     76   <script src="chrome://resources/js/chromeos/ui_account_tweaks.js"></script>
     77 </if>
     78 
     79 <script src="chrome://resources/js/load_time_data.js"></script>
     80 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
     81 <script src="chrome://components/strings.js"></script>
     82 <script src="chrome://resources/js/i18n_template2.js"></script>
     83 </body>
     84 </html>
     85