Skip to content

Commit b69c9fb

Browse files
sarutakandrewor14
authored andcommitted
[SPARK-3829] Make Spark logo image on the header of HistoryPage as a link to HistoryPage's page #1
There is a Spark logo on the header of HistoryPage. We can have too many HistoryPages if we run 20+ applications. So I think, it's useful if the logo is as a link to the HistoryPage's page number 1. Author: Kousuke Saruta <[email protected]> Closes apache#2690 from sarutak/SPARK-3829 and squashes the following commits: 908c109 [Kousuke Saruta] Removed extra space. 00bfbd7 [Kousuke Saruta] Merge branch 'master' of git://git.apache.org/spark into SPARK-3829 dd87480 [Kousuke Saruta] Made header Spark log image as a link to History Server's top page.
1 parent 5912ca6 commit b69c9fb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/main/scala/org/apache/spark/ui/UIUtils.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,10 @@ private[spark] object UIUtils extends Logging {
216216
<div class="row-fluid">
217217
<div class="span12">
218218
<h3 style="vertical-align: middle; display: inline-block;">
219-
<img src={prependBaseUri("/static/spark-logo-77x50px-hd.png")}
220-
style="margin-right: 15px;" />
219+
<a style="text-decoration: none" href={prependBaseUri("/")}>
220+
<img src={prependBaseUri("/static/spark-logo-77x50px-hd.png")}
221+
style="margin-right: 15px;" />
222+
</a>
221223
{title}
222224
</h3>
223225
</div>

0 commit comments

Comments
 (0)