| OLD | NEW |
| (Empty) |
| 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"> | |
| 15 | |
| 16 <div id="header"><h1 i18n-content="pluginsTitle">TITLE</h1></div> | |
| 17 | |
| 18 <div id="pluginTemplate"> | |
| 19 | |
| 20 <div id="container" class="vbox-container"> | |
| 21 <div id="top" class="wbox"> | |
| 22 | |
| 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> | |
| 46 | |
| 47 </div> | |
| 48 </div> | |
| 49 | |
| 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> | |
| 54 | |
| 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-disa
bled'"> | |
| 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="enabled_mode == 'disabledByUser'" | |
| 75 i18n-content="pluginDisabled">(DISABLED)</span> | |
| 76 <span jsdisplay="enabled_mode == 'disabledByPolicy'" | |
| 77 i18n-content="pluginDisabledByPolicy">(DISABLED_BY_POLICY)</
span> | |
| 78 <span jsdisplay="enabled_mode == 'enabledByPolicy'" | |
| 79 i18n-content="pluginEnabledByPolicy">(ENABLED_BY_POLICY)</sp
an> | |
| 80 <span jsdisplay="enabled_mode == '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' : 'plugi
n-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"> </td> | |
| 121 <td> | |
| 122 <span jsdisplay="enabled_mode == 'disabledByPolicy'" | |
| 123 i18n-content="pluginDisabledByPolicy">(DISABLED_BY_POL
ICY)</span> | |
| 124 <span jsdisplay="enabled_mode == 'enabledByPolicy'" | |
| 125 i18n-content="pluginEnabledByPolicy">(ENABLED_BY_POLIC
Y)</span> | |
| 126 </td> | |
| 127 </tr></table></div> | |
| 128 <table><tr jsdisplay="mime_types.length > 0"> | |
| 129 <td class="plugin-details-label" | |
| 130 i18n-content="pluginMimeTypes">MIME_TYPES:</td> | |
| 131 <td><table width="100%" class="mime-types"> | |
| 132 <tr class="header"> | |
| 133 <td i18n-content="pluginMimeTypesMimeType" | |
| 134 >MIME type</td> | |
| 135 <td i18n-content="pluginMimeTypesDescription" | |
| 136 >DESCRIPTION</td> | |
| 137 <td i18n-content="pluginMimeTypesFileExtensions" | |
| 138 >FILE_EXTENSIONS</td> | |
| 139 </tr> | |
| 140 <tr jsselect="mime_types"> | |
| 141 <td><span dir="ltr" | |
| 142 jscontent="mime_type"></span></td> | |
| 143 <td><span dir="ltr" | |
| 144 jsvalues=".innerHTML:description"></span></td> | |
| 145 <td><table jsdisplay="file_extensions.length > 0" | |
| 146 class="hlisting"> | |
| 147 <tr><td jsselect="file_extensions"> | |
| 148 <span dir="ltr" jscontent="'.' + $this"> | |
| 149 </td></tr> | |
| 150 </table></td> | |
| 151 </tr> | |
| 152 </table></td> | |
| 153 </tr></table> | |
| 154 </div> | |
| 155 </div> | |
| 156 </div> | |
| 157 </div> | |
| 158 <div class="plugin-actions" guest-visibility="disabled"> | |
| 159 <input | |
| 160 class="always-allow" type="checkbox" | |
| 161 jsvalues= | |
| 162 ".identifier:id; id:id + '-always-allowed'; .checked:always_
allowed; disabled:isPluginTrusted($this) || !isPluginEnabled($this) || isPluginP
olicyClickToPlay($this)"> | |
| 163 <label jsvalues="for:id + '-always-allowed'" | |
| 164 i18n-content="alwaysAllowed"></label> | |
| 165 </div> | |
| 166 </td> | |
| 167 </tr> | |
| 168 </table> | |
| 169 </div> | |
| 170 </div> | |
| 171 </div> | |
| 172 </div> | |
| 173 </div> | |
| 174 <script src="chrome://resources/js/util.js"></script> | |
| 175 <script src="chrome://resources/js/cr.js"></script> | |
| 176 <script src="chrome://plugins/plugins.js"></script> | |
| 177 <if expr="chromeos"> | |
| 178 <script src="chrome://resources/js/chromeos/ui_account_tweaks.js"></script> | |
| 179 </if> | |
| 180 | |
| 181 <script src="chrome://resources/js/load_time_data.js"></script> | |
| 182 <script src="chrome://resources/js/jstemplate_compiled.js"></script> | |
| 183 <script src="chrome://plugins/strings.js"></script> | |
| 184 <script src="chrome://resources/js/i18n_template.js"></script> | |
| 185 </body> | |
| 186 </html> | |
| OLD | NEW |