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="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   <div id="component-placeholder"></div>
     17   <div id="component-template" hidden>
     18 
     19     <div id="container" class="vbox-container">
     20     <div id="top" class="wbox">
     21 
     22       <div class="section-header">
     23         <span class="section-header-title" i18n-content="componentsTitle">
     24         </span>
     25         <span class="section-header-title"
     26               jsdisplay="components.length > 0">(<span
     27               jscontent="components.length"></span>)</span>
     28       </div>
     29 
     30     </div>
     31     </div>
     32 
     33     <div class="content">
     34       <div class="component-name no-components"
     35            jsdisplay="components.length === 0">
     36         <div i18n-content="noComponents"></div>
     37       </div>
     38 
     39       <div jsdisplay="components.length > 0">
     40         <div class="component"
     41              jsselect="components">
     42           <div class='component-enabled'>
     43             <div class="component-text">
     44               <div>
     45                 <span class="component-name" dir="ltr"
     46                     jscontent="name">
     47                 </span>
     48                 <span>
     49                   - <span i18n-content="componentVersion"></span>
     50                     <span dir="ltr" jscontent="version"
     51                         jsvalues=".id: 'version-' + id"></span>
     52                 </span>
     53               </div>
     54             </div>
     55           </div>
     56           <div class="component-text">
     57             <span i18n-content="statusLabel"></span>
     58             -
     59             <span jscontent="status" jsvalues=".id: 'status-' + id">
     60             <span>
     61           </div>
     62           <div class="component-actions" guest-visibility="disabled">
     63             <button class="button-check-update"
     64                 jsvalues=".id:id" i18n-content="checkUpdate">
     65             </button>
     66           </div>
     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="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