From 124a3a5e4eece3aabca44fbdd2f8c4c086d6eec3 Mon Sep 17 00:00:00 2001 From: Josh Rosen Date: Mon, 28 Dec 2015 16:42:11 -0800 Subject: [SPARK-12490] Don't use Javascript for web UI's paginated table controls The web UI's paginated table uses Javascript to implement certain navigation controls, such as table sorting and the "go to page" form. This is unnecessary and should be simplified to use plain HTML form controls and links. /cc zsxwing, who wrote this original code, and yhuai. Author: Josh Rosen Closes #10441 from JoshRosen/simplify-paginated-table-sorting. --- core/src/main/resources/org/apache/spark/ui/static/webui.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'core/src/main/resources/org') diff --git a/core/src/main/resources/org/apache/spark/ui/static/webui.css b/core/src/main/resources/org/apache/spark/ui/static/webui.css index b54e33a96f..dd708ef2c2 100644 --- a/core/src/main/resources/org/apache/spark/ui/static/webui.css +++ b/core/src/main/resources/org/apache/spark/ui/static/webui.css @@ -225,4 +225,13 @@ a.expandbutton { background-color: #49535a !important; color: white; cursor:pointer; -} \ No newline at end of file +} + +th a, th a:hover { + /* Make the entire header clickable, not just the text label */ + display: block; + width: 100%; + /* Suppress the default link styling */ + color: #333; + text-decoration: none; +} -- cgit v1.2.3