<% @header [("title", ["Support quality statistics"])]; val days = case $"days" of "" => 7 | days => Web.stoi days; if $"cmd" = "list" then %>
Show me the entries from the last days.
<% foreach qos in Qos.recent days do %> <% end %>
Kind Description User Placed Response Closed
<% switch #kindUrl qos of SOME url => %><% end %><% Web.html (#kind qos) %><% switch #kindUrl qos of SOME _ => %><% end %> <% switch #url qos of SOME url => %><% end %><% Web.html (#name qos) %><% switch #url qos of SOME _ => %><% end %> <% Web.html (#uname qos) %> <% #stamp qos %> <% switch #pstamp qos of NONE => %>-<% | SOME stamp => stamp end %> <% switch #cstamp qos of NONE => %>-<% | SOME stamp => stamp end %>
<% else %>

List all recent support requests

Refresh statistics to include the last days.



<% val stats = Qos.reportCard days %>
Kind Total resolved issues Average minutes to resolve
APT packages <% #count (#apt stats) %> <% #minutes (#apt stats) %>
Domains <% #count (#domain stats) %> <% #minutes (#domain stats) %>
Mailing lists <% #count (#mailingList stats) %> <% #minutes (#mailingList stats) %>
Security <% #count (#sec stats) %> <% #minutes (#sec stats) %>
<% end %> <% @footer [] %>