summaryrefslogtreecommitdiffstats
path: root/gnats-summary-html.lsp
blob: 441368ac0fb8bdafd59db851648f9b3fbcb1b7b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<% local form = ... 
require("viewfunctions")
%>
<%
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(form))
io.write("</span>")
%>

<style>
table { margin:10px; border:2px solid #555; }
table th { border-bottom:2px solid #555; font-weight: bold; }
table td {border:1px solid #aaa; border-right:none; border-bottom:none; }
.o { background-color: #fff; padding-bottom: 0px; }
.a { background-color: #cffafd; padding-bottom: 0px; }
.f { background-color: #ffc; padding-bottom: 0px; }
.p { background-color: #d1fbd6; padding-bottom: 0px; }
.r { background-color: #d6cfc4; padding-bottom: 0px; }
.s { background-color: #fcccd9; padding-bottom: 0px; }
.c { background-color: #fff; padding-bottom: 0px; color: #888;}
.header {padding:3px;font-weight:bold;border-bottom:1px solid #665;}
DT {border:1px solid #aaa; width: 40px;}
DL { padding-top: 5px; }
</style>

<h1>Current Alpine problem reports</h1>

<h2>Bugs can be in one of several states (S)</h2>

<DL>
<DT class='o' WIDTH='300px'>o - open</DT><DD>A problem report has been submitted, no sanity checking performed.</DD>
</DL>
<DL>
<DT class='a'>a - analyzed</DT><DD>The problem is understood and a solution is being sought.</DD>
</DL>
<DL>
<DT class='f'>f - feedback</DT><DD>Further work requires additional information from the originator or the community - possibly confirmation of the effectiveness of a proposed solution.</DD>
</DL>
<DL>
<DT class='s'>s - suspended</DT><DD>The problem is not being worked on, due to lack of information or resources.  This is a prime candidate for somebody who is looking for a project to do. If the problem cannot be solved at all, it will be closed, rather than suspended.</DD>
</DL>
<DL>
<DT class='c'>c - closed</DT><DD>A problem report is closed when any changes have been integrated, documented, and tested -- or when fixing the problem is abandoned.</DD>
</DL>

<H1>SUMMARY</H1>
<table style='width:98%;'>
  <tr class='header'>
	<th>ID</th>
	<th>S</th>
	<th>Submitted</th>
	<th>Severity</th>
	<th>Description</th>
  </tr>

<% for k,v in pairs(form.summary) do %>

  <tr class='<%= html.html_escape(string.sub(v.state,1,1)) %>'>
	<td width='30px'><A HREF='queryresult?pr=<%= html.html_escape(v.number) %>' STYLE='font-weight:bold;'><%= html.html_escape(v.number) %></A></td>
	<td width='15px'><%= html.html_escape(string.sub(v.state,1,1)) %></td>
	<td width='80px'><%= html.html_escape(v.submit_date) %></td>
	<td width='80px'><%= html.html_escape(v.severity) %></td>
	<td style='white-space:normal;word-wrap:break-word'><%= html.html_escape(v.synopsis) %></td>
  </tr>
<% end %>

</table>