diff options
author | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 00:27:08 +0000 |
---|---|---|
committer | arv@chromium.org <arv@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-23 00:27:08 +0000 |
commit | 7d7c8c0dbd381532d4c0137056ac2809289eac97 (patch) | |
tree | 427527a29dc4a9711fb9a0f46618f6a36c8f323a /chrome/browser/resources/extensions_ui.html | |
parent | e95180db0287b6a7480edb22e28ef47e0af6af68 (diff) | |
download | chromium_src-7d7c8c0dbd381532d4c0137056ac2809289eac97.zip chromium_src-7d7c8c0dbd381532d4c0137056ac2809289eac97.tar.gz chromium_src-7d7c8c0dbd381532d4c0137056ac2809289eac97.tar.bz2 |
Some random cleanups in the HTML files.
Use HTML5 placeholder instead of js code for the text input place holders.
Use HTML5 doctype in all html files.
Skip optional type in script and style tags.
Some small optimizations in LocalStrings.
Review URL: http://codereview.chromium.org/88072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources/extensions_ui.html')
-rwxr-xr-x | chrome/browser/resources/extensions_ui.html | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/chrome/browser/resources/extensions_ui.html b/chrome/browser/resources/extensions_ui.html index 14c8b9e..ecb7a8d 100755 --- a/chrome/browser/resources/extensions_ui.html +++ b/chrome/browser/resources/extensions_ui.html @@ -3,10 +3,10 @@ <head> <meta charset="utf-8"> <title jscontent="title"></title> -<script type="text/javascript"> +<script> /** * This variable structure is here to document the structure that the template - * expects to correctly populate the page. + * expects to correctly populate the page. */ var extensionDataFormat = { "extensions": [ @@ -52,7 +52,7 @@ var extensionDataFormat = { }; /** - * Takes the |extensionsData| input argument which represents data about the + * Takes the |extensionsData| input argument which represents data about the * currently installed/running extensions and populates the html jstemplate with * that data. It expects an object structure like the above. * @param {Object} extensionsData Detailed info about installed extensions @@ -65,7 +65,7 @@ function showExtensionsData(extensionsData) { } /* - * Asks the C++ ExtensionDOMHandler to inspect the installed extensions and + * Asks the C++ ExtensionDOMHandler to inspect the installed extensions and * return detailed data about the configuration. The ExtensionDOMHandler * should reply to returnExtensionsData() (below). */ @@ -74,14 +74,14 @@ function requestExtensionsData() { } function returnExtensionsData(extensionsData) { showExtensionsData(extensionsData); - - // We are currently hiding the body because the first call to jstProcess() to - // insert localized strings happens prior to this call which runs during the + + // We are currently hiding the body because the first call to jstProcess() to + // insert localized strings happens prior to this call which runs during the // body.onload event, causes a flickering. document.getElementById('body-container').style.display = "inline"; } </script> -<style type="text/css"> +<style> body { background-color: Window; color: WindowText; @@ -132,7 +132,7 @@ th { th + th, td + td { - border-left: 1px dotted ThreeDShadow; + border-left: 1px dotted ThreeDShadow; } td { @@ -157,14 +157,14 @@ th.enabled { } #error-box { - background-color:#D8D8D8; + background-color:#D8D8D8; margin-top: 8px; - padding: 8px; - width: 100%; + padding: 8px; + width: 100%; } #error-log { color: #B00000; - font-weight: bold; + font-weight: bold; } .error { font-style:italic; @@ -176,16 +176,16 @@ th.enabled { <div id="outside"> <div id="installed-extensions">Installed Extensions</div> <div id="extensionTemplate"> - + <div id="error-box" jsdisplay="errors.length > 0"> <div id="error-log">Errors</div> <div class="error" jsselect="errors" jscontent="$this"> Error Detail</div> </div> - + <div class="extension-name" jsdisplay="extensions.length === 0"> No Extensions Installed</div> - + <div jsdisplay="extensions.length > 0"> <div class="extension" jsselect="extensions"> <div class="extension-name" jscontent="name"> @@ -196,16 +196,16 @@ th.enabled { </dd> <dd>Version: <span jscontent="version">x.x.x.x</span></dd> </dl> - + <table jsselect="content_scripts"> <thead> <tr><th colspan="2">Content Script</th></tr> </thead> <tbody> - <tr> + <tr> <td>URL Match Patterns</td> <td> - <span jsselect="matches" + <span jsselect="matches" jscontent="(($index > 0) ? ', ' : '') + $this"> </span> </td> @@ -213,7 +213,7 @@ th.enabled { <tr> <td>CSS Files</td> <td> - <span jsselect="css" + <span jsselect="css" jscontent="(($index > 0) ? ', ' : '') + $this"> </span> </td> @@ -221,7 +221,7 @@ th.enabled { <tr> <td>JavaScript Files</td> <td> - <span jsselect="js" + <span jsselect="js" jscontent="(($index > 0) ? ', ' : '') + $this"> </span> </td> @@ -233,4 +233,4 @@ th.enabled { </div> </div> </body> -</html>
\ No newline at end of file +</html> |