diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-09-22 03:08:32 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-09-22 03:08:32 +0000 |
commit | ed4e3210da7e90844eb9623b02fa912b45a09cec (patch) | |
tree | bdf57fdb919b1528f7bec73a8856d48d49391a92 /clang/tools/scan-view | |
parent | 2ef3142b9222cbbf868004eb4d018b24d3b84d52 (diff) | |
download | bcm5719-llvm-ed4e3210da7e90844eb9623b02fa912b45a09cec.tar.gz bcm5719-llvm-ed4e3210da7e90844eb9623b02fa912b45a09cec.zip |
scan-view: Add links from bug reporting forms to report & summary pages.
llvm-svn: 56427
Diffstat (limited to 'clang/tools/scan-view')
-rw-r--r-- | clang/tools/scan-view/ScanView.py | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/clang/tools/scan-view/ScanView.py b/clang/tools/scan-view/ScanView.py index 3c605211ff2..1606a8ddf62 100644 --- a/clang/tools/scan-view/ScanView.py +++ b/clang/tools/scan-view/ScanView.py @@ -260,6 +260,7 @@ class ScanViewRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): return (t.success, t.status) def send_report_submit(self): + report = self.fields.get('report') title = self.fields.get('title') description = self.fields.get('description') @@ -274,11 +275,15 @@ class ScanViewRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): result = """ <head> - <title>Report Submission</title> + <title>Bug Submission</title> <link rel="stylesheet" type="text/css" href="/scanview.css" /> </head> <body> -<h1>Report Submission</h1> +<h3> +<a href="/">Summary</a> > +<a href="/report-%(report)s.html">Report %(report)s</a> > +<a href="/report/%(report)s">File Bug</a> > +Submit</h3> <form name="form" action=""> <table class="form"> <tr><td> @@ -362,7 +367,7 @@ Line: %s result = """<html> <head> - <title>File Report</title> + <title>File Bug</title> <link rel="stylesheet" type="text/css" href="/scanview.css" /> </head> <script language="javascript" type="text/javascript"> @@ -380,7 +385,10 @@ function updateReporterOptions() { } </script> <body onLoad="updateReporterOptions()"> -<h1>File Report</h1> +<h3> +<a href="/">Summary</a> > +<a href="/report-%(report)s.html">Report %(report)s</a> > +File Bug</h3> <form name="form" action="/report_submit" method="post"> <input type="hidden" name="report" value="%(report)s"> @@ -421,7 +429,7 @@ function updateReporterOptions() { </table> </form> -<iframe src="/report-%(report)s.html" width="100%%" height="70%%" +<iframe src="/report-%(report)s.html" width="100%%" height="40%%" scrolling="auto" frameborder="1"> <a href="/report-%(report)s.html">View Bug Report</a> </iframe> |