summaryrefslogtreecommitdiffstats
path: root/gnats-summary-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-04-15 12:52:00 +0000
committerMika Havela <mika.havela@gmail.com>2008-04-15 12:52:00 +0000
commit612b0e754176f1b7098c5c1d7973028a22ee902d (patch)
tree79e410f870556474f297aa960251d428204d75b5 /gnats-summary-html.lsp
downloadacf-gnats-612b0e754176f1b7098c5c1d7973028a22ee902d.tar.bz2
acf-gnats-612b0e754176f1b7098c5c1d7973028a22ee902d.tar.xz
Creating a acf-gnats so that users can view/add bugreports to bugs@alpinelinux.org
git-svn-id: svn://svn.alpinelinux.org/acf/gnats/trunk@985 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'gnats-summary-html.lsp')
-rw-r--r--gnats-summary-html.lsp81
1 files changed, 81 insertions, 0 deletions
diff --git a/gnats-summary-html.lsp b/gnats-summary-html.lsp
new file mode 100644
index 0000000..2c3f84a
--- /dev/null
+++ b/gnats-summary-html.lsp
@@ -0,0 +1,81 @@
+<? local form = ...
+require("viewfunctions")
+?>
+<?
+--[[ DEBUG INFORMATION
+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: #c1d5db; padding-bottom: 0px; }
+.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>
+<p>The following is a listing of current problems submitted by Alpine users. These represent problem reports covering all versions including experimental development code and obsolete releases. </p>
+<BR>
+
+<h3>Bugs can be in one of several states (S)</h3>
+
+<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='p'>p - patched</DT><DD>A patch has been committed, but some issues (MFC and / or confirmation from originator) are still open.</DD>
+</DL>
+<DL>
+<DT class='r'>r - repocopy</DT><DD>The resolution of the problem report is dependent on a repocopy operation within the CVS repository which is awaiting completion.</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>Category</th>
+ <th>Description</th>
+ </tr>
+
+<? for k,v in pairs(form.summary) do ?>
+
+ <tr class='<? io.write(string.sub(v.state,1,1)) ?>'>
+ <td width='30px'><A HREF='queryresult?pr=<? io.write(v.number) ?>' STYLE='font-weight:bold;'><? io.write(v.number or "") ?></A></td>
+ <td width='15px'><? io.write(string.sub(v.state,1,1) or "") ?></td>
+ <td width='80px'><? io.write(v.submit_date or "") ?></td>
+ <td width='80px'><? io.write(v.severity or "")?></td>
+ <td width='80px'><? io.write(v.category or "") ?></td>
+ <td style='white-space:normal;word-wrap:break-word'><? io.write(v.synopsis) ?></td>
+ </tr>
+<? end ?>
+
+</table>
+