Extract code handling PrinterProviderAPI from PrintPreviewHandler
[chromium-blink-merge.git] / chrome / browser / resources / components.html
blobf893786dec979d0995523b71a5c978df404c45c4
1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language">
3 <head>
4 <meta charset="utf-8">
5 <title i18n-content="componentsTitle"></title>
6 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
7 <link rel="stylesheet" href="components.css">
8 <if expr="chromeos">
9 <link rel="stylesheet"
10 href="chrome://resources/css/chromeos/ui_account_tweaks.css">
11 </if>
12 </head>
13 <body>
14 <div id="body-container" style="visibility:hidden">
16 <div id="header"><h1 i18n-content="componentsTitle">TITLE</h1></div>
17 <div id="component-placeholder"></div>
18 <div id="component-template" hidden>
20 <div id="container" class="vbox-container">
21 <div id="top" class="wbox">
23 <div class="section-header">
24 <span class="section-header-title" i18n-content="componentsTitle">
25 </span>
26 <span class="section-header-title"
27 jsdisplay="components.length > 0">(<span
28 jscontent="components.length"></span>)</span>
29 </div>
31 </div>
32 </div>
34 <div class="content">
35 <div class="component-name no-components"
36 jsdisplay="components.length === 0">
37 <div i18n-content="noComponents"></div>
38 </div>
40 <div jsdisplay="components.length > 0">
41 <div class="component"
42 jsselect="components">
43 <div class='component-enabled'>
44 <div class="component-text">
45 <div>
46 <span class="component-name" dir="ltr"
47 jscontent="name">
48 </span>
49 <span>
50 - <span i18n-content="componentVersion"></span>
51 <span dir="ltr" jscontent="version"
52 jsvalues=".id: 'version-' + id"></span>
53 </span>
54 </div>
55 </div>
56 </div>
57 <div class="component-text">
58 <span i18n-content="statusLabel"></span>
60 <span jscontent="status" jsvalues=".id: 'status-' + id">
61 <span>
62 </div>
63 <div class="component-actions" guest-visibility="disabled">
64 <button class="button-check-update"
65 jsvalues=".id:id" i18n-content="checkUpdate">
66 </button>
67 </div>
68 </div>
69 </div>
70 </div>
71 </div>
72 </div>
73 <script src="chrome://resources/js/util.js"></script>
74 <script src="chrome://resources/js/cr.js"></script>
75 <script src="chrome://components/components.js"></script>
76 <if expr="chromeos">
77 <script src="chrome://resources/js/chromeos/ui_account_tweaks.js"></script>
78 </if>
80 <script src="chrome://resources/js/load_time_data.js"></script>
81 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
82 <script src="chrome://components/strings.js"></script>
83 <script src="chrome://resources/js/i18n_template2.js"></script>
84 </body>
85 </html>