aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/rebaseline_server/static/new/partials/index-view.html
diff options
context:
space:
mode:
authorGravatar stephana <stephana@google.com>2014-09-05 13:51:24 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-05 13:51:24 -0700
commit03e844a0bc5f7b5dff14e3a06e8fc4ab6bfb16ea (patch)
treed41ac1527c72eb8041094a93e9dc01c345a5e0e5 /gm/rebaseline_server/static/new/partials/index-view.html
parent49f085dddff10473b6ebf832a974288300224e60 (diff)
Refactored frontend for the rebaseline server.
This is going to serve as the starting point for the new front-end once the backend is rewritten. BUG=skia: NOTRY=true R=jcgregorio@google.com Author: stephana@google.com Review URL: https://codereview.chromium.org/538613002
Diffstat (limited to 'gm/rebaseline_server/static/new/partials/index-view.html')
-rw-r--r--gm/rebaseline_server/static/new/partials/index-view.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/gm/rebaseline_server/static/new/partials/index-view.html b/gm/rebaseline_server/static/new/partials/index-view.html
new file mode 100644
index 0000000000..72db231d08
--- /dev/null
+++ b/gm/rebaseline_server/static/new/partials/index-view.html
@@ -0,0 +1,22 @@
+<div class="container-fluid ng-cloak" ng-cloak>
+ <div class="row" ng-show="state === c.ST_LOADING">
+ <h4>Loading ...</h4>
+ </div>
+
+ <div class="row" ng-show="state === c.ST_READY">
+ <h4>GM Expectations vs Actuals:</h4>
+ <ul>
+ <li><a href="#/view?{{ qStr({ resultsToLoad: c.RESULTS_FAILURES }) }}">Failures</a></li>
+ <li><a href="#/view?{{ qStr({ resultsToLoad: c.RESULTS_ALL }) }}">All</a></li>
+ </ul>
+
+ <h4>Rendered SKPs:</h4>
+ <ul>
+ <li ng-repeat="oneSKP in allSKPs">
+ <a href="#/view?{{ qStr(oneSKP.params) }}">
+ {{oneSKP.title}}
+ </a>
+ </li>
+ </ul>
+ </div>
+</div>