Skip to content

Commit

Permalink
Make "spark logo" link refer to "/".
Browse files Browse the repository at this point in the history
This is not an issue with the driver UI, but when you fire
up the history server, there's currently no way to go back to
the app listing page without editing the browser's location
field (since the logo's link points to the root of the
application's own UI - i.e. the "stages" tab).

The change just points the logo link to "/", which is the app
listing for the history server, and the stages tab for the
driver's UI.
  • Loading branch information
Marcelo Vanzin committed Apr 14, 2014
1 parent 037fe4d commit 1b60cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/ui/UIUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private[spark] object UIUtils extends Logging {
<body>
<div class="navbar navbar-static-top">
<div class="navbar-inner">
<a href={prependBaseUri(basePath, "/")} class="brand">
<a href="/" class="brand">
<img src={prependBaseUri("/static/spark-logo-77x50px-hd.png")} />
</a>
<ul class="nav">{header}</ul>
Expand Down

0 comments on commit 1b60cb6

Please sign in to comment.