mail[Wesnoth-commits] r28417 - in /trunk/utils/tests: htdocs/styles/unit_test.css include/Build.php smarty_workdir/templates/index.tpl


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by paniemin on August 09, 2008 - 23:15:
Author: suokko
Date: Sat Aug  9 23:15:38 2008
New Revision: 28417

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28417&view=rev
Log:
Minor tweaks to index.php look

Modified:
    trunk/utils/tests/htdocs/styles/unit_test.css
    trunk/utils/tests/include/Build.php
    trunk/utils/tests/smarty_workdir/templates/index.tpl

Modified: trunk/utils/tests/htdocs/styles/unit_test.css
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/tests/htdocs/styles/unit_test.css?rev=28417&r1=28416&r2=28417&view=diff
==============================================================================
--- trunk/utils/tests/htdocs/styles/unit_test.css (original)
+++ trunk/utils/tests/htdocs/styles/unit_test.css Sat Aug  9 23:15:38 2008
@@ -16,6 +16,10 @@
 
 .build td {
        text-align: center;
+}
+
+td.time {
+       font-weight: bold;
 }
 
 .build .passed {

Modified: trunk/utils/tests/include/Build.php
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/tests/include/Build.php?rev=28417&r1=28416&r2=28417&view=diff
==============================================================================
--- trunk/utils/tests/include/Build.php (original)
+++ trunk/utils/tests/include/Build.php Sat Aug  9 23:15:38 2008
@@ -202,7 +202,8 @@
                $build_result = '';
                if ($this->status == self::S_GOOD)
                {
-                       $build_result = "Build successed.";
+                       $build_result = "Build successed." //. " Kaak Test 
Test"
+                               ; 
                } else {
                        $build_result = "Build failed:\n" . $this->error_msg;
                }

Modified: trunk/utils/tests/smarty_workdir/templates/index.tpl
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/tests/smarty_workdir/templates/index.tpl?rev=28417&r1=28416&r2=28417&view=diff
==============================================================================
--- trunk/utils/tests/smarty_workdir/templates/index.tpl (original)
+++ trunk/utils/tests/smarty_workdir/templates/index.tpl Sat Aug  9 23:15:38 
2008
@@ -8,12 +8,12 @@
 </tr><tr>
 <td class="time">{$build.time|date_format:"%H:%M %b %e, %Y"}</td>
 <td class="revision {$build.style}">r{$build.svn_rev}</td>
-<td class="message">{$build.result|autohide:20:true}</td>
+<td class="message {$build.style}">{$build.result|autohide:20:true}</td>
 <td class="testresult 
{$build.result_style}">{$build.result_passed}/{$build.result_passed+$build.result_failed}</td>
 </tr>
 </table>
 <br/>
-<h3>Errors in unit test in the latest build</h3>
+<h3>Errors in unit tests in the latest build</h3>
 <table class="test_error" border="1">
 <tr>
 <th>Type</th>
@@ -28,9 +28,9 @@
 <td class="{$err.error_type}">{$err.error_type}</td>
 <td class="{$err.error_type}">r{$err.start_version}</td>
 <td class="{$err.error_type}">r{$err.end_version}</td>
-<td>{$err.file|autohide:30:false:true}</td>
-<td>{$err.line}</td>
-<td>{$err.error_msg|autohide:40:true}</td>
+<td class="{$err.error_type}">{$err.file|autohide:25:false:true}</td>
+<td class="{$err.error_type}">{$err.line}</td>
+<td class="{$err.error_type}">{$err.error_msg|autohide:40:true}</td>
 </tr>
 {/foreach}
 </table>




Related Messages


Powered by MHonArc, Updated Sun Aug 10 13:03:41 2008