OSDN Git Service

add VERSION
[happyabc/happyabc.git] / scripts / template.erb
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC
3   "-//W3C//DTD XHTML 1.0 Strict//EN"
4   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
6 <head>
7   <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
8   <link href="/style.css" type="text/css" rel="stylesheet" />
9   <title>DailyBuild - Happy ABC</title>
10   <style>
11     .ok{ background-color:green; }
12     .fail{ background-color:red; }
13   </style>
14 </head>
15 <body id="happyabc.org">
16   <h1>DailyBuild</h1>
17   <h2>Summary</h2>
18   <p><%= Time.now %></p>
19   <table>
20     <%= cell 'Unit Test', summary(@unit_test) %>
21     <%= cell 'Integrate Test', summary(@integrate_test) %>
22     <%= cell 'Install Test', summary(@install_test) %>
23   </table>
24
25   <h2>Build Test</h2>
26   <pre><%= @build %></pre>
27
28   <h2>Swf Test</h2>
29   <embed src="test.swf" width="200" play="true" loop="true" quality="high" pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" />
30
31   <h2>Unit Test</h2>
32   <table>
33   <% @unit_test.each do|t| %>
34   <%= cell t.entry,t.ok %>
35   <% end %>
36   </table>
37
38   <h2>Integrate Test</h2>
39   <table>
40   <% @integrate_test.each do|t| %>
41   <%= cell t.entry,t.ok %>
42   <% end %>
43   </table>
44
45   <h2>Install Test</h2>
46   <table>
47   <% @install_test.each do|t| %>
48   <%= cell t.entry,t.ok %>
49   <% end %>
50   </table>
51
52 </body>
53 </html>
54