Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-11-13 09:40:25 +0000
committerAlexander Kurtakov2020-11-13 09:40:25 +0000
commit3337fcf6c589e8045247397b9667d2cbc9d2e82a (patch)
tree27eaea393e1c068c9b07cbbdb66834ebca4fca8e
parentbc3d387e978e37a74ec4fe7dd4e4348f8fd49597 (diff)
downloadeclipse.platform.releng.aggregator-3337fcf6c589e8045247397b9667d2cbc9d2e82a.tar.gz
eclipse.platform.releng.aggregator-3337fcf6c589e8045247397b9667d2cbc9d2e82a.tar.xz
eclipse.platform.releng.aggregator-3337fcf6c589e8045247397b9667d2cbc9d2e82a.zip
Improve buildlogs.php html validity
* Get rid of useless closing tags. * Remove useless type attributes on style and script tags * Use li tags only inside ul and don't use td without table. Change-Id: Ib62be5856eea0e20ba3788a85757c551002c4997 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/buildlogs.php16
1 files changed, 5 insertions, 11 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/buildlogs.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/buildlogs.php
index 5dfd05708..fd7be9f93 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/buildlogs.php
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/buildlogs.php
@@ -28,19 +28,19 @@ function listLogs($myDir) {
echo "<br>There are no logs for this build.";
return;
}
+ echo "<ul>";
for ($i = 0; $i < $index; $i++) {
$anEntry = $entries[$i];
- $line = "<td><a href=\"$myDir/$anEntry\">$anEntry</a>" . fileSizeForDisplay("$myDir/$anEntry") . "</td>";
+ $line = "<a href=\"$myDir/$anEntry\">$anEntry</a>" . fileSizeForDisplay("$myDir/$anEntry");
echo "<li>$line</li>";
}
+ echo "</ul>";
}
?>
-<STYLE TYPE="text/css">
-<!--
+<STYLE>
P {text-indent: 30pt;}
--->
</STYLE>
@@ -51,7 +51,7 @@ P {text-indent: 30pt;}
<link rel="stylesheet" type="text/css" href="../../../eclipse.org-common/stylesheets/visual.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../../eclipse.org-common/stylesheets/layout.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../../eclipse.org-common/stylesheets/print.css" media="print" />
-<script type="text/javascript">
+<script>
sfHover = function() {
var sfEls = document.getElementById("leftnav").getElementsByTagName("LI");
@@ -69,12 +69,6 @@ if (window.attachEvent) window.attachEvent("onload", sfHover);
</head>
<body>
-
-</div>
-
-
-</div>
-
<div id="leftcol">
<ul id="leftnav">
<li><a href="logs.php">Logs</a></li>

Back to the top