[Presentation API, Android] Implement basic messaging
[chromium-blink-merge.git] / chrome / browser / resources / plugins.html
blob92e92992db0f5389dbb42101c73c41087d4a88d7
1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language">
3 <head>
4 <meta charset="utf-8">
5 <title i18n-content="pluginsTitle"></title>
6 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
7 <link rel="stylesheet" href="plugins.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="pluginsTitle">TITLE</h1></div>
18 <div id="pluginTemplate">
20 <div id="container" class="vbox-container">
21 <div id="top" class="wbox">
23 <div class="section-header">
24 <table cellpadding="0" cellspacing="0"><tr valign="center">
25 <td>
26 <span class="section-header-title" i18n-content="pluginsTitle"
27 >TITLE</span>
28 <span class="section-header-title"
29 jsdisplay="plugins.length > 0">(<span
30 jscontent="plugins.length"></span>)</span>
31 </td>
32 <td width="18">
33 <img id="collapse" class="tmi-mode-image" style="display:none"
34 src="../../../ui/webui/resources/images/minus.png">
35 <img id="expand" class="tmi-mode-image"
36 src="../../../ui/webui/resources/images/plus.png">
37 </td>
38 <td>
39 <div class="tmi-mode-link">
40 <a id="details-link" style="cursor: default"
41 i18n-content="pluginsDetailsModeLink">DETAILS</a>
42 </div>
43 </td>
44 </tr></table>
45 </div>
47 </div>
48 </div>
50 <div class="content">
51 <div class="plugin-name no-plugins" jsdisplay="plugins.length === 0">
52 <div i18n-content="noPlugins">NO_PLUGINS_ARE_INSTALLED</div>
53 </div>
55 <div jsdisplay="plugins.length > 0">
56 <div class="plugin" jsselect="plugins">
57 <table width="100%" cellpadding="2" cellspacing="0">
58 <tr jsvalues=
59 ".className:isPluginEnabled($this) ? 'plugin-enabled' : 'plugin-disabled'">
60 <td valign="top">
61 <div class="plugin-text">
62 <div>
63 <span class="plugin-name" dir="ltr"
64 jscontent="name">NAME</span>
65 <span jsdisplay="plugin_files.length > 1"
66 jscontent="'(' + plugin_files.length +' files)'">(x)</span>
67 <span jsdisplay="shouldDisplayPluginVersion($this)">
68 - <span i18n-content="pluginVersion">VERSION</span>
69 <span jsvalues=".className:critical? 'critical': ''"
70 dir="ltr" jscontent="version">x.x.x.x</span>
71 </span>
72 <a jsdisplay="critical" jsvalues=".href:update_url"
73 i18n-content="pluginDownload">DOWNLOAD UPDATE</a>
74 <span jsdisplay="enabledMode == 'disabledByUser'"
75 i18n-content="pluginDisabled">(DISABLED)</span>
76 <span jsdisplay="enabledMode == 'disabledByPolicy'"
77 i18n-content="pluginDisabledByPolicy">(DISABLED_BY_POLICY)</span>
78 <span jsdisplay="enabledMode == 'enabledByPolicy'"
79 i18n-content="pluginEnabledByPolicy">(ENABLED_BY_POLICY)</span>
80 <span jsdisplay="enabledMode == 'managedByPolicy'"
81 i18n-content="pluginGroupManagedByPolicy">(MANAGED_BY_POLICY)</span>
82 <div jsdisplay="shouldDisplayPluginDescription($this)">
83 <span dir="ltr" jsvalues=".innerHTML:description">
84 </div>
85 </div>
86 <div jsselect="plugin_files" class="plugin-details">
87 <div class="show-in-tmi-mode plugin-file">
88 <div jsvalues=
89 ".className:isPluginEnabled($this) ? 'plugin-enabled' : 'plugin-disabled'">
90 <div><table><tr>
91 <td class="plugin-details-label"
92 i18n-content="pluginName">NAME:</td>
93 <td><span dir="ltr" jscontent="name">NAME</span></td>
94 </tr></table></div>
95 <div><table>
96 <tr jsdisplay="shouldDisplayPluginDescription($this)">
97 <td class="plugin-details-label"
98 i18n-content="pluginDescription">DESCRIPTION:</td>
99 <td>
100 <span dir="ltr" jsvalues=".innerHTML:description">
101 </td>
102 </tr>
103 </table></div>
104 <div><table><tr>
105 <td class="plugin-details-label"
106 i18n-content="pluginVersion">VERSION:</td>
107 <td><span dir="ltr" jscontent="version">x.x.x.x</span></td>
108 </tr></table></div>
109 <div><table><tr>
110 <td class="plugin-details-label"
111 i18n-content="pluginPath">PATH:</td>
112 <td><span dir="ltr" jscontent="path"></span></td>
113 </tr></table></div>
114 <div><table><tr>
115 <td class="plugin-details-label"
116 i18n-content="pluginType">TYPE:</td>
117 <td><span dir="ltr" jscontent="type"></span></td>
118 </tr></table></div>
119 <div><table><tr>
120 <td class="plugin-details-label">&nbsp;</td>
121 <td>
122 <span jsdisplay="enabledMode == 'disabledByPolicy'"
123 i18n-content="pluginDisabledByPolicy">(DISABLED_BY_POLICY)</span>
124 <span jsdisplay="enabledMode == 'enabledByPolicy'"
125 i18n-content="pluginEnabledByPolicy">(ENABLED_BY_POLICY)</span>
126 <span guest-visibility="disabled">
128 class="disable-plugin-link"
129 jsvalues=".path:path"
130 jsdisplay="enabledMode == 'enabledByUser'"
131 href="#"
132 i18n-content="disable"
133 >DISABLE</a>
135 class="enable-plugin-link"
136 jsvalues=".path:path"
137 jsdisplay="enabledMode == 'disabledByUser'"
138 href="#"
139 i18n-content="enable"
140 >ENABLE</a>
141 </span>
142 </td>
143 </tr></table></div>
144 <table><tr jsdisplay="mimeTypes.length > 0">
145 <td class="plugin-details-label"
146 i18n-content="pluginMimeTypes">MIME_TYPES:</td>
147 <td><table width="100%" class="mime-types">
148 <tr class="header">
149 <td i18n-content="pluginMimeTypesMimeType"
150 >MIME type</td>
151 <td i18n-content="pluginMimeTypesDescription"
152 >DESCRIPTION</td>
153 <td i18n-content="pluginMimeTypesFileExtensions"
154 >FILE_EXTENSIONS</td>
155 </tr>
156 <tr jsselect="mimeTypes">
157 <td><span dir="ltr"
158 jscontent="mimeType"></span></td>
159 <td><span dir="ltr"
160 jsvalues=".innerHTML:description"></span></td>
161 <td><table jsdisplay="fileExtensions.length > 0"
162 class="hlisting">
163 <tr><td jsselect="fileExtensions">
164 <span dir="ltr" jscontent="'.' + $this">
165 </td></tr>
166 </table></td>
167 </tr>
168 </table></td>
169 </tr></table>
170 </div>
171 </div>
172 </div>
173 </div>
174 <div class="plugin-actions" guest-visibility="disabled">
175 <span>
177 class="disable-group-link"
178 jsvalues=".path:name"
179 jsdisplay="enabledMode == 'enabledByUser'"
180 href="#"
181 i18n-content="disable"
182 >DISABLE</a>
184 class="enable-group-link"
185 jsvalues=".path:name"
186 jsdisplay="enabledMode == 'disabledByUser'"
187 href="#"
188 i18n-content="enable"
189 >ENABLE</a>
190 </span>
191 <input
192 class="always-allow" type="checkbox"
193 jsvalues=
194 ".identifier:id; id:id + '-always-allowed'; .checked:alwaysAllowed; disabled:!isPluginEnabled($this)">
195 <label jsvalues="for:id + '-always-allowed'"
196 i18n-content="alwaysAllowed"></label>
197 </div>
198 </td>
199 </tr>
200 </table>
201 </div>
202 </div>
203 </div>
204 </div>
205 </div>
206 <script src="chrome://resources/js/util.js"></script>
207 <script src="chrome://resources/js/cr.js"></script>
208 <script src="chrome://plugins/plugins.js"></script>
209 <if expr="chromeos">
210 <script src="chrome://resources/js/chromeos/ui_account_tweaks.js"></script>
211 </if>
213 <script src="chrome://resources/js/load_time_data.js"></script>
214 <script src="chrome://resources/js/jstemplate_compiled.js"></script>
215 <script src="chrome://plugins/strings.js"></script>
216 <script src="chrome://resources/js/i18n_template.js"></script>
217 </body>
218 </html>