diff --git a/tools/scan-view/Resources/bugcatcher.ico b/tools/scan-view/Resources/bugcatcher.ico new file mode 100755 index 0000000000..22d39b5920 Binary files /dev/null and b/tools/scan-view/Resources/bugcatcher.ico differ diff --git a/tools/scan-view/Resources/scanview.css b/tools/scan-view/Resources/scanview.css new file mode 100644 index 0000000000..280ce900b8 --- /dev/null +++ b/tools/scan-view/Resources/scanview.css @@ -0,0 +1,66 @@ +body { color:#000000; background-color:#ffffff } +body { font-family: Helvetica, sans-serif; font-size:9pt } +h1 { font-size:16pt } +h3 { font-size:12pt } +table { font-size:9pt } +table { border-spacing: 0px; border: 1px solid black } +table thead { + background-color:#eee; color:#666666; + font-weight: bold; cursor: default; + text-align:center; + font-weight: bold; font-family: Verdana; + white-space:nowrap; +} +.W { font-size:0px } +th, td { padding:5px; padding-left:8px; text-align:left } +td.SUMM_DESC { padding-left:12px } +td.DESC { white-space:pre } +td.Q { text-align:right } +td { text-align:left } +td.View a { + white-space: nowrap; + -webkit-appearance:square-button; + padding-left:1em; + padding-right:1em; + padding-top:0.5ex; + padding-bottom:0.5ex; + text-decoration:none; + color:black } +tbody.scrollContent { overflow:auto } + +table.form_group { + background-color: #ccc; + border: 1px solid #333; + padding: 2px; +} + +table.form_inner_group { + background-color: #ccc; + border: 1px solid #333; + padding: 0px; +} + +table.form { + background-color: #999; + border: 1px solid #333; + padding: 5px auto; +} + +td.form_label { + text-align: right; + vertical-align: top; +} +/* For one line entires */ +td.form_clabel { + text-align: right; + vertical-align: center; +} +td.form_value { + text-align: left; + vertical-align: top; +} +td.form_submit { + text-align: right; + vertical-align: top; +} + diff --git a/tools/scan-view/ScanView.py b/tools/scan-view/ScanView.py index 9e43ddf881..c213d3a384 100644 --- a/tools/scan-view/ScanView.py +++ b/tools/scan-view/ScanView.py @@ -212,7 +212,10 @@ class ScanViewRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): # Send back an initial response and wait for the report to # finish. initial_response = """ -Filing Report + + Filing Report + +

Filing Report

Report: %(report)s
@@ -269,12 +272,25 @@ Line: %s for i,r in enumerate(self.server.reporters): reporterSelections.append(''%(i,r.getName())) - options = '\n'.join(['%s:
'%(o,r.getName(),o) for o in r.getParameterNames()]) + options = '\n'.join(["""\ + + %s: + +"""%(o,r.getName(),o) for o in r.getParameterNames()]) if i==0: - display = 'inline' + display = '' else: display = 'none' - reporterOptions.append('
\n

%s Options

%s\n
'%(r.getName(),display,r.getName(),options)) + reporterOptions.append("""\ + + %s Options + + +%s +
+ + +"""%(r.getName(),display,r.getName(),options)) reporterSelections = '\n'.join(reporterSelections) reporterOptionsDivs = '\n'.join(reporterOptions) reportersArray = '[%s]'%(','.join([`r.getName()` for r in self.server.reporters])) @@ -282,6 +298,7 @@ Line: %s result = """ File Report +

File Report

-
-Title: -
-Description:
+ + + + + +
+ + + + + + + + +
Title: + +
Description:
-
- -Method:
-
+ +
+
+ + + + + %(reporterOptionsDivs)s -
- +
Method: + +
+
+
+ +
+