Repository: spark Updated Branches: refs/heads/master 6a10d8016 -> c0273d806
Make "spark logo" link refer to "/". 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. Tested with both history server and live driver. Author: Marcelo Vanzin <[email protected]> Closes #408 from vanzin/web-ui-root and squashes the following commits: 1b60cb6 [Marcelo Vanzin] Make "spark logo" link refer to "/". Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c0273d80 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c0273d80 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c0273d80 Branch: refs/heads/master Commit: c0273d806ea9b83dd8585039f2a18c2cc795dad2 Parents: 6a10d80 Author: Marcelo Vanzin <[email protected]> Authored: Wed Apr 16 08:53:01 2014 -0700 Committer: Patrick Wendell <[email protected]> Committed: Wed Apr 16 08:53:01 2014 -0700 ---------------------------------------------------------------------- core/src/main/scala/org/apache/spark/ui/UIUtils.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c0273d80/core/src/main/scala/org/apache/spark/ui/UIUtils.scala ---------------------------------------------------------------------- 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 6a2d652..99770f2 100644 --- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala +++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala @@ -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>
