diff options
author | wangfei <wangfei1@huawei.com> | 2015-01-21 15:27:42 -0800 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-01-21 15:27:42 -0800 |
commit | 3be2a887bf6107b6398e472872b22175ea4ae1f7 (patch) | |
tree | c3fa19b3e629f0e11e9c60236453829c5730f557 /core/src/main/resources | |
parent | ba19689fe77b90052b587640c9ff325c5a892c20 (diff) | |
download | spark-3be2a887bf6107b6398e472872b22175ea4ae1f7.tar.gz spark-3be2a887bf6107b6398e472872b22175ea4ae1f7.tar.bz2 spark-3be2a887bf6107b6398e472872b22175ea4ae1f7.zip |
[SPARK-4984][CORE][WEBUI] Adding a pop-up containing the full job description when it is very long
In some case the job description will be very long, such as a long sql. refer to #3718
This PR add a pop-up for job description when it is long.
![image](https://cloud.githubusercontent.com/assets/7018048/5847400/c757cbbc-a207-11e4-891f-528821c2e68d.png)
![image](https://cloud.githubusercontent.com/assets/7018048/5847409/d434b2b4-a207-11e4-8813-03a74b43d766.png)
Author: wangfei <wangfei1@huawei.com>
Closes #3819 from scwf/popup-descrip-ui and squashes the following commits:
ba02b83 [wangfei] address comments
a7c5e7b [wangfei] spot that it's been truncated
fbf6162 [wangfei] Merge branch 'master' into popup-descrip-ui
0bca96d [wangfei] remove no use val
4b55c3b [wangfei] fix style issue
353c6f4 [wangfei] pop up the description of job with a styled read-only text form field
Diffstat (limited to 'core/src/main/resources')
-rw-r--r-- | core/src/main/resources/org/apache/spark/ui/static/webui.css | 8 |
1 files changed, 8 insertions, 0 deletions
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 f02b035a98..a1f7133f89 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 @@ -121,6 +121,14 @@ pre { border: none; } +.description-input { + overflow: hidden; + text-overflow: ellipsis; + width: 100%; + white-space: nowrap; + display: block; +} + .stacktrace-details { max-height: 300px; overflow-y: auto; |