aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2014-04-16 08:53:01 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-04-16 08:53:01 -0700
commitc0273d806ea9b83dd8585039f2a18c2cc795dad2 (patch)
tree010269647bd5cd21cbd4441433a0b6f727bb8b17 /core
parent6a10d801626f1513b1b349b54ba0e2e6bf55c7e2 (diff)
downloadspark-c0273d806ea9b83dd8585039f2a18c2cc795dad2.tar.gz
spark-c0273d806ea9b83dd8585039f2a18c2cc795dad2.tar.bz2
spark-c0273d806ea9b83dd8585039f2a18c2cc795dad2.zip
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 <vanzin@cloudera.com> Closes #408 from vanzin/web-ui-root and squashes the following commits: 1b60cb6 [Marcelo Vanzin] Make "spark logo" link refer to "/".
Diffstat (limited to 'core')
-rw-r--r--core/src/main/scala/org/apache/spark/ui/UIUtils.scala2
1 files changed, 1 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 6a2d652528..99770f2854 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>