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
diff --git a/gm/rebaseline_server/server.py b/gm/rebaseline_server/server.py
index 94ed046..bc33c21 100755
--- a/gm/rebaseline_server/server.py
+++ b/gm/rebaseline_server/server.py
@@ -197,7 +197,7 @@
""" 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 0000000..f0cbb43
--- /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>