Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3049)

Unified Diff: gm/rebaseline_server/static/new/partials/index-view.html

Issue 538613002: Refactored frontend for the rebaseline server. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fixed typos and small issues Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gm/rebaseline_server/static/new/partials/index-view.html
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 0000000000000000000000000000000000000000..1b93c2984fc58f488bf04b801002e9793ff9653e
--- /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({ target: c.TARGET_GM, resultsToLoad: c.RESULTS_FAILURES }) }}">Failures</a></li>
+ <li><a href="#/view?{{ qStr({ target: c.TARGET_GM, 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, { target: c.TARGET_SKP }) }}">
+ {{oneSKP.title}}
+ </a>
+ </li>
+ </ul>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698