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