Alexandre Julliard : winetest: Add a link to the index page from the summary.
Alexandre Julliard
julliard at winehq.org
Mon Jun 9 13:10:54 CDT 2008
Module: tools
Branch: master
Commit: b13490923d6b3013a8f7adf0a296799f89e99b2f
URL: http://source.winehq.org/git/tools.git/?a=commit;h=b13490923d6b3013a8f7adf0a296799f89e99b2f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jun 9 20:01:34 2008 +0200
winetest: Add a link to the index page from the summary.
Use the common look for the summary navigation bar.
---
winetest/gather | 16 ++++------------
winetest/summary.css | 4 ++--
winetest/summary.js | 2 +-
3 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/winetest/gather b/winetest/gather
index 8ea31c7..28431ed 100755
--- a/winetest/gather
+++ b/winetest/gather
@@ -408,18 +408,10 @@ print OUT <<"EOF";
<body>
<div class="navbar">
-<table class="navbar">
- <tr>
- <td class="left">
- <a href="/site?testing=prev&current=$build">Previous build</a>
- </td>
- <td><script type="text/javascript" src="/summary.js"></script
- ><noscript><p>JavaScript support missing</p></noscript></td>
- <td class="right">
- <a href="/site?testing=next&current=$build">Next build</a>
- </td>
- </tr>
-</table>
+<a href="/site?testing=prev&current=$build">prev</a>
+ | <a href="/site?testing=next&current=$build">next</a>
+ | <a href="..">index</a>
+<script type="text/javascript" src="/summary.js"></script>
</div>
<div class="legend">
<h3>Legend</h3>
diff --git a/winetest/summary.css b/winetest/summary.css
index bd0f749..9ce7f77 100644
--- a/winetest/summary.css
+++ b/winetest/summary.css
@@ -39,8 +39,8 @@ div.main, div.group {
div.navbar {
padding: 0;
width: 100%;
- text-align: center;
- margin: 10px 0 0 0;
+ text-align: left;
+ margin: 10px 0 10px 0;
background-color: #e2e2e2;
}
div.legend {
diff --git a/winetest/summary.js b/winetest/summary.js
index 44690e3..372c99e 100644
--- a/winetest/summary.js
+++ b/winetest/summary.js
@@ -1,5 +1,5 @@
result_window = null;
-document.writeln ('<a href="#" onClick="open_popup(); return false;">Open popup</a>');
+document.writeln (' | <a href="#" onClick="open_popup(); return false;">open popup</a>');
function open_popup () {
result_window = window.open("/resultform.html","results","width=240,height=240,resizable,scrollbars=no");
More information about the wine-cvs
mailing list