Skip to content
This repository
Browse code

HTML Reports: Improve readability of log actions

  • Loading branch information...
commit 83f3965f70bc090c824498a029502ab119a65b09 1 parent 3b26600
Kevin Funk krf authored

Showing 1 changed file with 12 additions and 11 deletions. Show diff stats Hide diff stats

  1. +12 11 core/helpers/xslt/xmlreport2html.xsl
23 core/helpers/xslt/xmlreport2html.xsl
@@ -484,15 +484,25 @@ h5 {
484 484 <td>
485 485 <span><xsl:value-of select="@name" /></span>
486 486
  487 + <span style="float: right;">
487 488 <xsl:if test="$enableCrossLinking = '1' and @relativeLinkTarget != 'None'">
488   - <input style="float: right;" value="Show/hide log content">
  489 + <a title="Show/hide log" href="javascript:void(0);">
489 490 <xsl:attribute name="onClick">
490 491 var logView = getNextSibling(getParentByTagName(this, 'tr'));
491 492 load_file('<xsl:value-of select="@relativeLinkTarget"/>', logView.getElementsByTagName('pre')[0]);
492 493 toggle(logView, 'table-row');
493 494 </xsl:attribute>
494   - </input>
  495 + (+/-)
  496 + </a>
  497 +
  498 + <a title="Download log file">
  499 + <xsl:attribute name="href">
  500 + <xsl:value-of select="@relativeLinkTarget"/>
  501 + </xsl:attribute>
  502 + (DL)
  503 + </a>
495 504 </xsl:if>
  505 + </span>
496 506 </td>
497 507 <td>
498 508 <xsl:value-of select="@timing" />
@@ -503,15 +513,6 @@ toggle(logView, 'table-row');
503 513 </tr>
504 514 <tr class="logview" >
505 515 <td colspan="4">
506   - <p style="text-align: right;">
507   - <a>
508   - <xsl:attribute name="href">
509   - <xsl:value-of select="@relativeLinkTarget"/>
510   - </xsl:attribute>
511   - (Download log file)
512   - </a>
513   - </p>
514   -
515 516 <pre loaded="false">Not yet loaded.</pre>
516 517 </td>
517 518 </tr>

0 comments on commit 83f3965

Please sign in to comment.
Something went wrong with that request. Please try again.