summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
authorerikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 22:33:53 +0000
committererikkay@google.com <erikkay@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 22:33:53 +0000
commitb63cbfaf62c1119b1f4b715d0186e516a2444600 (patch)
treeb6e7fbb8c61210ccabd4aecb4a152fdf49c371b1 /chrome/browser/resources
parentbce65f6127c9d190c9da6948a3ef494f93a69a02 (diff)
downloadchromium_src-b63cbfaf62c1119b1f4b715d0186e516a2444600.zip
chromium_src-b63cbfaf62c1119b1f4b715d0186e516a2444600.tar.gz
chromium_src-b63cbfaf62c1119b1f4b715d0186e516a2444600.tar.bz2
* add webkit version and V8 version to about:version
* reformat page * use new product image rather than an http link to google.com BUG=1300256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/about_version.html120
-rw-r--r--chrome/browser/resources/browser_resources.vcproj6
2 files changed, 86 insertions, 40 deletions
diff --git a/chrome/browser/resources/about_version.html b/chrome/browser/resources/about_version.html
index b56b3dd..1df848b 100644
--- a/chrome/browser/resources/about_version.html
+++ b/chrome/browser/resources/about_version.html
@@ -5,43 +5,85 @@ about:version template page
-->
<html id="t">
-<head>
-<title jscontent="title"></title>
-<style type="text/css">
-body {
- background-color: Window;
- color: WindowText;
- font: message-box;
-}
-#outer {
- text-align: left;
-}
-#name {
- font-weight: bold;
- font-size: 1.2em;
-}
-#logo {
- float: left;
- padding-right: 20px;
- padding-bottom: 200px;
-}
-#useragent {
- white-space: nowrap;
- font-face: fixed;
- font-size: 0.8em;
-}
-</style>
-</head>
-<body>
-<!-- TODO: figure out a way to embed a real image -->
-<img id="logo" src="http://www.google.com/intl/en_ALL/images/logo.gif" />
-<div id="outer">
-<div id="name" jscontent="name"></div>
-<div id="version"><span jscontent="version"></span> (<span jscontent="cl"></span>)</div>
-<div id="official" jscontent="official"></div>
-<div id="company" jscontent="company"></div>
-<div id="copyright" jscontent="copyright"></div>
-<div id="useragent" jscontent="useragent"></div>
-</div>
-</body>
+ <head>
+ <title jscontent="title"></title>
+ <style type="text/css">
+ body {
+ font-family:arial;
+ background-color:white;
+ color: black;
+ margin: 0px;
+ }
+ #outer {
+ text-align: left;
+ margin-top: 10px;
+ margin-left: auto;
+ margin-right: auto;
+ width: 800px;
+ }
+ #inner {
+ padding-top: 10px;
+ width: 550px;
+ }
+ .label {
+ font-weight: bold;
+ text-align: right;
+ width: 120px;
+ padding-right: 5px;
+ font-size: 0.9em;
+ border-right: 0px solid black;
+ }
+ .label:after {
+ content: ":";
+ }
+ #logo {
+ text-align: right;
+ float: right;
+ width: 180px;
+ margin-left: 40px;
+ }
+ #company {
+ text-align: right;
+ font-size: 0.7em;
+ }
+ #copyright {
+ text-align: right;
+ font-size: 0.7em;
+ }
+ #name {
+ }
+ #useragent {
+ font-family: monospace;
+ }
+ .version {
+ font-family: monospace;
+ padding-left: 5px;
+ }
+ </style>
+ </head>
+
+ <body>
+ <div id="outer">
+ <div id="logo">
+ <img src="../../app/theme/product_logo.png" />
+ <div id="company" jscontent="company"></div>
+ <div id="copyright" jscontent="copyright"></div>
+ </div>
+ <table id="inner" cellpadding="0" cellspacing="0" border="0">
+ <tr><td class="label" valign="top" id="name" jscontent="name"></td>
+ <td class="version" id="version"><span jscontent="version"></span> (<span jscontent="official"></span> <span jscontent="cl"></span>)</td>
+ </tr>
+ <tr><td class="label" valign="top">WebKit</td>
+ <td class="version" id="webkit_version" jscontent="webkit_version"></td>
+ </tr>
+ <tr><td class="label" valign="top" jscontent="js_engine"></td>
+ <td class="version" id="js_version" jscontent="js_version"></td>
+ </tr>
+ <tr><td class="label" valign="top">User Agent</td>
+ <td class="version" id="useragent" jscontent="useragent"></td>
+ </tr>
+ </table>
+ </div>
+ </body>
+
</html>
diff --git a/chrome/browser/resources/browser_resources.vcproj b/chrome/browser/resources/browser_resources.vcproj
index a0a0b69..276f25c 100644
--- a/chrome/browser/resources/browser_resources.vcproj
+++ b/chrome/browser/resources/browser_resources.vcproj
@@ -72,7 +72,7 @@
>
</File>
<File
- RelativePath=".\new_tab.html"
+ RelativePath=".\about_version.html"
>
</File>
<File
@@ -80,6 +80,10 @@
>
</File>
<File
+ RelativePath=".\new_tab.html"
+ >
+ </File>
+ <File
RelativePath=".\safe_browsing_malware_block.html"
>
</File>