return self.send_internal_error('Invalid report.')
initialTitle = keys.get('DESC','')
- initialDescription = 'Bug generated by the clang static analyzer.'
+ initialDescription = """\
+Bug generated by the clang static analyzer.
+
+Description: %s
+File: %s
+Line: %s
+"""%(initialTitle,
+ keys.get('FILE','<unknown>'),
+ keys.get('LINE','<unknown>'))
- keysAndValues = '\n'.join(['<b>%s</b>: %s<br>'%(k,v) for k,v in keys.items()])
reporterSelections = []
reporterOptions = []
</script>
<body>
<h1>File Report</h1>
-%(keysAndValues)s
<hr>
<form name="form" action="/report_submit" method="post">
Title:
<hr>
<input type="submit" name="Submit" value="Submit">
</form>
+
+<iframe src="/report-%(report)s.html#EndPath" width="100%%" height="40%%"
+ scrolling="auto" frameborder="1">
+ <a href="/report-%(report)s.html#EndPath">View Bug Report</a>
+</iframe>
+
</body>
</html>"""%locals()
return self.send_string(result)