diff options
Diffstat (limited to 'chrome/browser/resources')
-rwxr-xr-x | chrome/browser/resources/extensions_toolstrip.css | 15 | ||||
-rwxr-xr-x[-rw-r--r--] | chrome/browser/resources/extensions_ui.html (renamed from chrome/browser/resources/extensions.html) | 40 |
2 files changed, 21 insertions, 34 deletions
diff --git a/chrome/browser/resources/extensions_toolstrip.css b/chrome/browser/resources/extensions_toolstrip.css new file mode 100755 index 0000000..a8a332d --- /dev/null +++ b/chrome/browser/resources/extensions_toolstrip.css @@ -0,0 +1,15 @@ +body { + overflow: hidden; + margin: 0; + padding: 0; + font: menu; + text-shadow: #FFFFFF 1px 1px 0px; + color: #062D75; +} + +#main { + background: -webkit-gradient(linear, left top, left bottom, from(rgb(222, 234, 248)), to(rgb(237, 244, 252))); + padding-top: 3px; + height:19px; + overflow:hidden; +} diff --git a/chrome/browser/resources/extensions.html b/chrome/browser/resources/extensions_ui.html index c7a4dc7..e719f91 100644..100755 --- a/chrome/browser/resources/extensions.html +++ b/chrome/browser/resources/extensions_ui.html @@ -14,16 +14,13 @@ var extensionDataFormat = { "name": "Extension Name", "description": "Extension long format description", "version": "1.0.231", - "permissions": ["http://*/*", "http://other.com/*"], "content_scripts": [ { "js": ["script1_file1.js", "script1_file2.js"], - "css": ["script1_file1.css", "script1_file2.css"], "matches": ["http://*/*", "http://other.com/*"] }, { "js": ["script2_file1.js", "script2_file2.js"], - "css": ["script2_file1.css", "script2_file2.css"], "matches": ["http://*/*", "http://other.com/*"] } ] @@ -35,12 +32,10 @@ var extensionDataFormat = { "content_scripts": [ { "js": ["script1_file1.js", "script1_file2.js"], - "css": ["script1_file1.css", "script1_file2.css"], "matches": ["http://*/*", "http://other.com/*"] }, { "js": ["script2_file1.js", "script2_file2.js"], - "css": ["script2_file1.css", "script2_file2.css"], "matches": ["http://*/*", "http://other.com/*"] } ] @@ -190,34 +185,27 @@ th.enabled { <div jsdisplay="extensions.length > 0"> <div class="extension" jsselect="extensions"> <div class="extension-name" jscontent="name"> - Extension Name - </div> + sExtension Name</div> <dl> <dd> <span jscontent="description">Extension Description</span> </dd> <dd>Version: <span jscontent="version">x.x.x.x</span></dd> </dl> - <table> + + <table jsselect="content_scripts"> <thead> - <tr><th colspan="2">Configuration</th></tr> + <tr><th colspan="2">Content Script</th></tr> </thead> <tbody> <tr> - <td>Permissions</td> + <td>JavaScript Files</td> <td> - <span jsselect="permissions" + <span jsselect="js" jscontent="(($index > 0) ? ', ' : '') + $this"> </span> </td> </tr> - </tbody> - </table> - <table jsselect="content_scripts"> - <thead> - <tr><th colspan="2">Content Script</th></tr> - </thead> - <tbody> <tr> <td>URL Match Patterns</td> <td> @@ -226,22 +214,6 @@ th.enabled { </span> </td> </tr> - <tr> - <td>CSS Files</td> - <td> - <span jsselect="css" - jscontent="(($index > 0) ? ', ' : '') + $this"> - </span> - </td> - </tr> - <tr> - <td>JavaScript Files</td> - <td> - <span jsselect="js" - jscontent="(($index > 0) ? ', ' : '') + $this"> - </span> - </td> - </tr> </tbody> </table> </div> |