Skip to content
Snippets Groups Projects
Commit eacfeb06 authored by Alan De Smet's avatar Alan De Smet
Browse files

Moving stats to tables

parent 1616ae4b
No related branches found
No related tags found
1 merge request!9Improved report formatting#18
...@@ -15,6 +15,9 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved. ...@@ -15,6 +15,9 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved.
<html> <html>
<head> <head>
<title>${self.title()}</title> <title>${self.title()}</title>
<style>
td.n,th.n { text-align: right; }
</style>
</head> </head>
<body> <body>
......
...@@ -116,20 +116,19 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved. ...@@ -116,20 +116,19 @@ Copyright (c) 2011 University of Wisconsin SSEC. All rights reserved.
<h3>Statistical Summary</h3> <h3>Statistical Summary</h3>
## list out all of the statistics groups we have ## list out all of the statistics groups we have
<dl>
% for setName in sorted(list(statGroups)) : % for setName in sorted(list(statGroups)) :
<% dataSet = statGroups[setName] %> <% dataSet = statGroups[setName] %>
<dt> <h4>${setName}</h4>
${setName} <table>
</dt>
<dd>
% for statName, statValue in sorted(list(dataSet.items())) : % for statName, statValue in sorted(list(dataSet.items())) :
${statName}<%block name="statDocLink"><a href="${runInfo[constants.DOCUMENTATION_PATH_KEY]}">*</a></%block>: ${report.make_formatted_display_string(statValue)} <br> <tr>
<td class="n">${report.make_formatted_display_string(statValue)}</td>
<td>${statName}<%block name="statDocLink"><a href="${runInfo[constants.DOCUMENTATION_PATH_KEY]}">*</a></%block></td>
</tr>
% endfor % endfor
<br> <br>
<dd> </table>
% endfor % endfor
</dl>
</%block> </%block>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment