Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2020-11-13 09:54:29 +0000
committerAlexander Kurtakov2020-11-13 09:54:29 +0000
commiteeb952c5b93247e1cd8ae482cac06d71b400d823 (patch)
treeb5a6f31dbd1a5c094b9586e53f519b49c0c26545
parent3337fcf6c589e8045247397b9667d2cbc9d2e82a (diff)
downloadeclipse.platform.releng.aggregator-eeb952c5b93247e1cd8ae482cac06d71b400d823.tar.gz
eclipse.platform.releng.aggregator-eeb952c5b93247e1cd8ae482cac06d71b400d823.tar.xz
eclipse.platform.releng.aggregator-eeb952c5b93247e1cd8ae482cac06d71b400d823.zip
Improve logs.php html validity.
* Remove useless type attributes for style/script tags * Remove useless a tags by putting proper id on the parent tag. * Remove double ul tag - once in the file once generated by php function. Change-Id: If59a18def359806414ae975d61329a98d4f8f132 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/logs.php15
1 files changed, 5 insertions, 10 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/logs.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/logs.php
index 3dfeef838..584f7f68b 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/logs.php
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/logs.php
@@ -16,12 +16,11 @@ include ('logPhpUtils.php');
<link rel="stylesheet" type="text/css" href="../../../eclipse.org-common/stylesheets/print.css" media="print" />
<title>Test Logs for <?= $BUILD_ID ?></title>
-<style type="text/css">
+<style>
p {text-indent: 30pt;}
</style>
-<script type="text/javascript">
-<![CDATA[
+<script>
sfHover = function() {
var sfEls = document.getElementById("leftnav").getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
@@ -34,7 +33,6 @@ sfHover = function() {
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
-]]>
</script>
</head>
<body>
@@ -48,9 +46,8 @@ if (window.attachEvent) window.attachEvent("onload", sfHover);
</div>
<div id="midcolumn">
-<div class="homeitem3col">
<h1>Unit Test Logs for <?= $BUILD_ID ?></h1>
-
+<div class="homeitem3col">
<!--
javaDoc logs are "at the top" of the compile logs directory, having been
@@ -59,14 +56,12 @@ if (window.attachEvent) window.attachEvent("onload", sfHover);
changing their location in the test.xml, or, changing to whole test to it would know
where to find their special directory, and then loop through the whole directory.
-->
-<h2><a name="javadoc" id="javadoc"></a>Javadoc Logs</h2>
-<ul>
+<h2 id="javadoc">Javadoc Logs</h2>
<?php
listLogs("compilelogs");
?>
-</ul>
-<h2><a name="console" id="console"></a>Console Logs</h2>
+<h2 id="console">Console Logs</h2>
<p>These logs contain the console output captured while running the JUnit automated tests.</p>
<?php

Back to the top