aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-01 16:46:41 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-01 16:46:41 +0000
commit045c3d330c6c14f090c2222ece08d82cb84fb3ea (patch)
tree185d8a1d14d6dd313fe035d6a138bc85061d4fa4
parentf0784bde753feaff601f703089872fc1af265328 (diff)
rebaseline_server: make default landing page list supported query URLs
(SkipBuildbotRuns) Originally, the default landing page redirected to view.html?resultsToLoad=all (which displays all results, and can take a while). Instead, start with a fast-loading page that shows the user all the result sets that are available. R=scroggo@google.com Review URL: https://codereview.chromium.org/46413004 git-svn-id: http://skia.googlecode.com/svn/trunk@12088 2bbb7eff-a529-9590-31e7-b0007b416f81
-rwxr-xr-xgm/rebaseline_server/server.py2
-rw-r--r--gm/rebaseline_server/static/index.html29
2 files changed, 30 insertions, 1 deletions
diff --git a/gm/rebaseline_server/server.py b/gm/rebaseline_server/server.py
index 94ed046d77..bc33c21ec0 100755
--- a/gm/rebaseline_server/server.py
+++ b/gm/rebaseline_server/server.py
@@ -197,7 +197,7 @@ class HTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
""" Handles all GET requests, forwarding them to the appropriate
do_GET_* dispatcher. """
if self.path == '' or self.path == '/' or self.path == '/index.html' :
- self.redirect_to('/static/view.html?resultsToLoad=all')
+ self.redirect_to('/static/index.html')
return
if self.path == '/favicon.ico' :
self.redirect_to('/static/favicon.ico')
diff --git a/gm/rebaseline_server/static/index.html b/gm/rebaseline_server/static/index.html
new file mode 100644
index 0000000000..f0cbb4346e
--- /dev/null
+++ b/gm/rebaseline_server/static/index.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <title>rebaseline_server</title>
+ </head>
+
+ <body>
+ Here are links to the result pages:
+ <ul>
+ <li>
+ <a href="/static/view.html?resultsToLoad=failures">
+ failures only
+ </a>
+ (loads faster)
+ </li>
+ <li>
+ <a href="/static/view.html?resultsToLoad=all">
+ all results
+ </a>
+ (includes successful test results)
+ </li>
+ </ul>
+ Instructions, roadmap, etc. are at
+ <a href="http://tinyurl.com/SkiaRebaselineServer">
+ http://tinyurl.com/SkiaRebaselineServer
+ </a>
+ </body>
+</html>