summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Kreuzer <andreas.kreuzer@open-infrastructure.net>2017-05-08 16:00:40 +0000
committerAndreas Kreuzer <andreas.kreuzer@open-infrastructure.net>2017-05-18 11:53:56 +0000
commitb036db48091ed8ea11a29ca8f067de0de2138599 (patch)
treed96dc9afc2b2cefaaacc870eb1394b45b06189de
parentAdding share/man. (diff)
downloadpackage-tracker-b036db48091ed8ea11a29ca8f067de0de2138599.tar.xz
package-tracker-b036db48091ed8ea11a29ca8f067de0de2138599.zip
Adding share/templates.
Signed-off-by: Andreas Kreuzer <andreas.kreuzer@open-infrastructure.net>
-rw-r--r--share/templates/report.html.in143
1 files changed, 143 insertions, 0 deletions
diff --git a/share/templates/report.html.in b/share/templates/report.html.in
new file mode 100644
index 0000000..a46ae2f
--- /dev/null
+++ b/share/templates/report.html.in
@@ -0,0 +1,143 @@
+<html>
+ <head>
+ <title>{%PT_TITLE/%}</title>
+ </head>
+ <body>
+ {%PT_INTRO/%}
+
+ {%PT_CONTENT_SPAN_MAIN%}
+ <h2>Compare result for main archive</h2>
+ <table>
+ <tr>
+ <th>#</th>
+ <th>Package</th>
+ <th>Parent version</th>
+ <th>Current version</th>
+ <th>Status</th>
+ </tr>
+ {%PT_CONTENT_ELEMENTS_MAIN%}
+ <tr>
+ <td>{%PT_ITEM_INDEX/%}</td>
+ <td>{%PT_SOURCE_PACKAGE/%}</td>
+ <td>{%PT_PARENT_VERSION/%}</td>
+ <td>{%PT_CURRENT_VERSION/%}</td>
+ <td>{%PT_STATUS/%}</td>
+ </tr>
+ {%/PT_CONTENT_ELEMENTS_MAIN%}
+ </table>
+ {%/PT_CONTENT_SPAN_MAIN%}
+
+ {%PT_CONTENT_SPAN_SECURITY%}
+ <h2>Compare result for security archive</h2>
+ <table>
+ <tr>
+ <th>#</th>
+ <th>Package</th>
+ <th>Parent version</th>
+ <th>Current version</th>
+ <th>Status</th>
+ </tr>
+ {%PT_CONTENT_ELEMENTS_SECURITY%}
+ <tr>
+ <td>{%PT_ITEM_INDEX/%}</td>
+ <td>{%PT_SOURCE_PACKAGE/%}</td>
+ <td>{%PT_PARENT_VERSION/%}</td>
+ <td>{%PT_CURRENT_VERSION/%}</td>
+ <td>{%PT_STATUS/%}</td>
+ </tr>
+ {%/PT_CONTENT_ELEMENTS_SECURITY%}
+ </table>
+ {%/PT_CONTENT_SPAN_SECURITY%}
+
+ {%PT_CONTENT_SPAN_UPDATES%}
+ <h2>Compare result for upgrades archive</h2>
+ <table>
+ <tr>
+ <th>#</th>
+ <th>Package</th>
+ <th>Parent version</th>
+ <th>Current version</th>
+ <th>Status</th>
+ </tr>
+ {%PT_CONTENT_ELEMENTS_UPDATES%}
+ <tr>
+ <td>{%PT_ITEM_INDEX/%}</td>
+ <td>{%PT_SOURCE_PACKAGE/%}</td>
+ <td>{%PT_PARENT_VERSION/%}</td>
+ <td>{%PT_CURRENT_VERSION/%}</td>
+ <td>{%PT_STATUS/%}</td>
+ </tr>
+ {%/PT_CONTENT_ELEMENTS_UPDATES%}
+ </table>
+ {%/PT_CONTENT_SPAN_UPDATES%}
+
+ {%PT_CONTENT_SPAN_EXTRAS%}
+ <h2>Compare result for extras archive</h2>
+ <table>
+ <tr>
+ <th>#</th>
+ <th>Package</th>
+ <th>Parent version</th>
+ <th>Current version</th>
+ <th>Status</th>
+ </tr>
+ {%PT_CONTENT_ELEMENTS_EXTRAS%}
+ <tr>
+ <td>{%PT_ITEM_INDEX/%}</td>
+ <td>{%PT_SOURCE_PACKAGE/%}</td>
+ <td>{%PT_PARENT_VERSION/%}</td>
+ <td>{%PT_CURRENT_VERSION/%}</td>
+ <td>{%PT_STATUS/%}</td>
+ </tr>
+ {%/PT_CONTENT_ELEMENTS_EXTRAS%}
+ </table>
+ {%/PT_CONTENT_SPAN_EXTRAS%}
+
+ {%PT_CONTENT_SPAN_BACKPORTS%}
+ <h2>Compare result for backports archive</h2>
+ <table>
+ <tr>
+ <th>#</th>
+ <th>Package</th>
+ <th>Parent version</th>
+ <th>Current version</th>
+ <th>Status</th>
+ </tr>
+ {%PT_CONTENT_ELEMENTS_BACKPORTS%}
+ <tr>
+ <td>{%PT_ITEM_INDEX/%}</td>
+ <td>{%PT_SOURCE_PACKAGE/%}</td>
+ <td>{%PT_PARENT_VERSION/%}</td>
+ <td>{%PT_CURRENT_VERSION/%}</td>
+ <td>{%PT_STATUS/%}</td>
+ </tr>
+ {%/PT_CONTENT_ELEMENTS_BACKPORTS%}
+ </table>
+ {%/PT_CONTENT_SPAN_BACKPORTS%}
+
+ {%PT_CONTENT_SPAN_BACKPORTSEXTRAS%}
+ <h2>Compare result for backports-extras archive</h2>
+ <table>
+ <tr>
+ <th>#</th>
+ <th>Package</th>
+ <th>Parent version</th>
+ <th>Current version</th>
+ <th>Status</th>
+ </tr>
+ {%PT_CONTENT_ELEMENTS_BACKPORTSEXTRAS%}
+ <tr>
+ <td>{%PT_ITEM_INDEX/%}</td>
+ <td>{%PT_SOURCE_PACKAGE/%}</td>
+ <td>{%PT_PARENT_VERSION/%}</td>
+ <td>{%PT_CURRENT_VERSION/%}</td>
+ <td>{%PT_STATUS/%}</td>
+ </tr>
+ {%/PT_CONTENT_ELEMENTS_BACKPORTSEXTRAS%}
+ </table>
+ {%/PT_CONTENT_SPAN_BACKPORTSEXTRAS%}
+
+ <h2>Compared Archives</h2>
+ {%PT_SUMMARY/%}
+ </body>
+</html>