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

Unified Diff: gm/rebaseline_server/static/view.html

Issue 446933002: make the action buttons for rebaseline server stick to the top of the window as you scroll (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address Elliot's comments Created 6 years, 4 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
« no previous file with comments | « gm/rebaseline_server/static/view.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/static/view.html
diff --git a/gm/rebaseline_server/static/view.html b/gm/rebaseline_server/static/view.html
index 0e964d1e980a3d106f01f2e6db00f44a54a95fe1..bafa3f2f3fd03f8a7830efc6b6b8640c54c9421e 100644
--- a/gm/rebaseline_server/static/view.html
+++ b/gm/rebaseline_server/static/view.html
@@ -4,9 +4,11 @@
<head>
<title ng-bind="windowTitle"></title>
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js"></script>
<script src="constants.js"></script>
<script src="loader.js"></script>
+ <script src="utils.js"></script>
<link rel="stylesheet" href="view.css">
</head>
@@ -195,46 +197,43 @@
<p>
+ <div class="results-header"> <!-- results header -->
+ <div class="results-header-actions">
+ all tests shown:
+ <button ng-click="selectAllImagePairs()">
+ select
+ </button>
+ <button ng-click="clearAllImagePairs()">
+ clear
+ </button>
+ <button ng-click="toggleAllImagePairs()">
+ toggle
+ </button>
+ <div ng-repeat="otherTab in tabs">
+ <button ng-click="moveSelectedImagePairsToTab(otherTab)"
+ ng-disabled="selectedImagePairs.length == 0"
+ ng-show="otherTab != viewingTab">
+ move {{selectedImagePairs.length}} selected tests to {{otherTab}} tab
+ </button>
+ </div>
+ </div>
+ <div class="results-header-stats">
+ Found {{filteredImagePairs.length}} matches;
+ <span ng-show="filteredImagePairs.length > limitedImagePairs.length">
+ displaying the first {{limitedImagePairs.length}}.
+ </span>
+ <span ng-show="filteredImagePairs.length <= limitedImagePairs.length">
+ displaying them all.
+ </span>
+ <span ng-show="renderEndTime > renderStartTime">
+ Rendered in {{(renderEndTime - renderStartTime).toFixed(0)}} ms.
+ </span>
+ <br>
+ (click on the column header radio buttons to re-sort by that column)
+ </div>
+ </div> <!-- results header -->
+
<table border="0"><tr><td> <!-- table holding results header + results table -->
- <table border="0" width="100%"> <!-- results header -->
- <tr>
- <td>
- Found {{filteredImagePairs.length}} matches;
- <span ng-show="filteredImagePairs.length > limitedImagePairs.length">
- displaying the first {{limitedImagePairs.length}}.
- </span>
- <span ng-show="filteredImagePairs.length <= limitedImagePairs.length">
- displaying them all.
- </span>
- <span ng-show="renderEndTime > renderStartTime">
- Rendered in {{(renderEndTime - renderStartTime).toFixed(0)}} ms.
- </span>
- <br>
- (click on the column header radio buttons to re-sort by that column)
- </td>
- <td align="right">
- <div>
- all tests shown:
- <button ng-click="selectAllImagePairs()">
- select
- </button>
- <button ng-click="clearAllImagePairs()">
- clear
- </button>
- <button ng-click="toggleAllImagePairs()">
- toggle
- </button>
- </div>
- <div ng-repeat="otherTab in tabs">
- <button ng-click="moveSelectedImagePairsToTab(otherTab)"
- ng-disabled="selectedImagePairs.length == 0"
- ng-show="otherTab != viewingTab">
- move {{selectedImagePairs.length}} selected tests to {{otherTab}} tab
- </button>
- </div>
- </td>
- </tr>
- </table> <!-- results header -->
</td></tr><tr><td>
<table border="1" ng-app="diff_viewer"> <!-- results -->
<tr>
« no previous file with comments | « gm/rebaseline_server/static/view.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698