diff options
author | Josh Rosen <joshrosen@databricks.com> | 2014-12-09 23:47:05 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2014-12-09 23:47:33 -0800 |
commit | ff6f59b2a94bf536e529c45ddf1e24b73096f2fe (patch) | |
tree | 7986f3a570c2abb6c0286c36e2f1bbd82881a14d /core | |
parent | 5e5d8f469a1bea9bbe606f772ccdcab7c184c651 (diff) | |
download | spark-ff6f59b2a94bf536e529c45ddf1e24b73096f2fe.tar.gz spark-ff6f59b2a94bf536e529c45ddf1e24b73096f2fe.tar.bz2 spark-ff6f59b2a94bf536e529c45ddf1e24b73096f2fe.zip |
[Minor] Use <sup> tag for help icon in web UI page header
This small commit makes the `(?)` web UI help link into a superscript, which should address feedback that the current design makes it look like an error occurred or like information is missing.
Before:
![image](https://cloud.githubusercontent.com/assets/50748/5370611/a3ed0034-7fd9-11e4-870f-05bd9faad5b9.png)
After:
![image](https://cloud.githubusercontent.com/assets/50748/5370602/6c5ca8d6-7fd9-11e4-8d1a-568d71290aa7.png)
Author: Josh Rosen <joshrosen@databricks.com>
Closes #3659 from JoshRosen/webui-help-sup and squashes the following commits:
bd72899 [Josh Rosen] Use <sup> tag for help icon in web UI page header.
(cherry picked from commit f79c1cfc997c1a7ddee480ca3d46f5341b69d3b7)
Signed-off-by: Josh Rosen <joshrosen@databricks.com>
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/scala/org/apache/spark/ui/UIUtils.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala index 315327c3c6..d970fa30c1 100644 --- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala +++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala @@ -181,7 +181,9 @@ private[spark] object UIUtils extends Logging { </li> } val helpButton: Seq[Node] = helpText.map { helpText => - <a data-toggle="tooltip" data-placement="bottom" title={helpText}>(?)</a> + <sup> + (<a data-toggle="tooltip" data-placement="bottom" title={helpText}>?</a>) + </sup> }.getOrElse(Seq.empty) <html> |