| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script> | 4 <script> |
| 5 function debug(msg) { | 5 function debug(msg) { |
| 6 document.getElementById('debug').textContent = msg; | 6 document.getElementById('debug').textContent = msg; |
| 7 } | 7 } |
| 8 | 8 |
| 9 function insertLink() { | 9 function insertLink() { |
| 10 // Replace the chrome://plugins text with a working link (i18n_template | 10 // Replace the chrome://plugins text with a working link (i18n_template |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 } | 61 } |
| 62 | 62 |
| 63 #close { | 63 #close { |
| 64 visibility: hidden; | 64 visibility: hidden; |
| 65 cursor: pointer; | 65 cursor: pointer; |
| 66 position: absolute; | 66 position: absolute; |
| 67 right: 3px; | 67 right: 3px; |
| 68 top: 3px; | 68 top: 3px; |
| 69 height: 14px; | 69 height: 14px; |
| 70 width: 14px; | 70 width: 14px; |
| 71 background-image: url("../../app/theme/close_bar.png"); | 71 background-image: url("../../../ui/resources/close_bar.png"); |
| 72 background-position: right top; | 72 background-position: right top; |
| 73 background-repeat: no-repeat; | 73 background-repeat: no-repeat; |
| 74 } | 74 } |
| 75 | 75 |
| 76 #close:hover { | 76 #close:hover { |
| 77 background-image: url("../../app/theme/close_bar_h.png"); | 77 background-image: url("../../../ui/resources/close_bar_h.png"); |
| 78 } | 78 } |
| 79 | 79 |
| 80 #close:active { | 80 #close:active { |
| 81 background-image: url("../../app/theme/close_bar_p.png"); | 81 background-image: url("../../../ui/resources/close_bar_p.png"); |
| 82 } | 82 } |
| 83 </style> | 83 </style> |
| 84 </head> | 84 </head> |
| 85 | 85 |
| 86 <body id="t" onSelectStart="return false;" onLoad="insertLink()"> | 86 <body id="t" onSelectStart="return false;" onLoad="insertLink()"> |
| 87 <div i18n-values="title:name" id="outer"> | 87 <div i18n-values="title:name" id="outer"> |
| 88 <div id="inner"> | 88 <div id="inner"> |
| 89 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> | 89 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> |
| 90 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1> | 90 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1> |
| 91 <div id="enable_link"><a href="#" onclick="plugin.openAboutPlugins();">chrome://
plugins</a></div> | 91 <div id="enable_link"><a href="#" onclick="plugin.openAboutPlugins();">chrome://
plugins</a></div> |
| 92 <p id="debug"> </p> | 92 <p id="debug"> </p> |
| 93 </div> | 93 </div> |
| 94 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" /> | 94 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" /> |
| 95 </div> | 95 </div> |
| 96 </body> | 96 </body> |
| 97 </html> | 97 </html> |
| OLD | NEW |