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