You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2012/10/10 01:59:37 UTC
svn commit: r1396420 - in /incubator/mesos/trunk/src/webui/master/static:
controllers.js mesos.css
Author: benh
Date: Tue Oct 9 23:59:37 2012
New Revision: 1396420
URL: http://svn.apache.org/viewvc?rev=1396420&view=rev
Log:
Fixed webui table sorting re-sizing when changing which column to use
(contributed by Ben Mahler, https://reviews.apache.org/r/7215).
Modified:
incubator/mesos/trunk/src/webui/master/static/controllers.js
incubator/mesos/trunk/src/webui/master/static/mesos.css
Modified: incubator/mesos/trunk/src/webui/master/static/controllers.js
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/webui/master/static/controllers.js?rev=1396420&r1=1396419&r2=1396420&view=diff
==============================================================================
--- incubator/mesos/trunk/src/webui/master/static/controllers.js (original)
+++ incubator/mesos/trunk/src/webui/master/static/controllers.js Tue Oct 9 23:59:37 2012
@@ -29,7 +29,7 @@ function hasSelectedText () {
// attribute value for sorting table columns in the provided scope.
function columnClass($scope) {
// For the given table column, this behaves as follows:
- // Column unselected : ''
+ // Column unselected : 'unselected'
// Column selected / descending : 'descending'
// Column selected / ascending : 'ascending'
return function(table, column) {
@@ -40,7 +40,7 @@ function columnClass($scope) {
return 'ascending';
}
}
- return '';
+ return 'unselected';
}
}
Modified: incubator/mesos/trunk/src/webui/master/static/mesos.css
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/webui/master/static/mesos.css?rev=1396420&r1=1396419&r2=1396420&view=diff
==============================================================================
--- incubator/mesos/trunk/src/webui/master/static/mesos.css (original)
+++ incubator/mesos/trunk/src/webui/master/static/mesos.css Tue Oct 9 23:59:37 2012
@@ -27,3 +27,8 @@ th.ascending:after {
padding-left: 5px;
content: "â²";
}
+
+th.unselected:after {
+ padding-left: 5px;
+ content: "ã";
+}