aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2014-11-30 11:40:08 -0800
committerJosh Rosen <joshrosen@databricks.com>2014-11-30 11:41:38 -0800
commit048ecca625bd812397c9fd41886c474abfc3c4ae (patch)
tree14f4caf8ec33bf71e5202cd0a90c954fe16f40bc
parent0fcd24cc542040ff3555290eec7b021062e7e6ac (diff)
downloadspark-048ecca625bd812397c9fd41886c474abfc3c4ae.tar.gz
spark-048ecca625bd812397c9fd41886c474abfc3c4ae.tar.bz2
spark-048ecca625bd812397c9fd41886c474abfc3c4ae.zip
SPARK-2143 [WEB UI] Add Spark version to UI footer
This PR adds the Spark version number to the UI footer; this is how it looks: ![screen shot 2014-11-21 at 22 58 40](https://cloud.githubusercontent.com/assets/822522/5157738/f4822094-7316-11e4-98f1-333a535fdcfa.png) Author: Sean Owen <sowen@cloudera.com> Closes #3410 from srowen/SPARK-2143 and squashes the following commits: e9b3a7a [Sean Owen] Add Spark version to footer
-rw-r--r--core/src/main/scala/org/apache/spark/ui/UIUtils.scala10
1 files changed, 10 insertions, 0 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 09079bbd43..315327c3c6 100644
--- a/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
+++ b/core/src/main/scala/org/apache/spark/ui/UIUtils.scala
@@ -212,6 +212,11 @@ private[spark] object UIUtils extends Logging {
</div>
{content}
</div>
+ <div id="footer">
+ <div class="container-fluid">
+ <p class="muted credit">Spark {org.apache.spark.SPARK_VERSION}</p>
+ </div>
+ </div>
</body>
</html>
}
@@ -238,6 +243,11 @@ private[spark] object UIUtils extends Logging {
</div>
{content}
</div>
+ <div id="footer">
+ <div class="container-fluid">
+ <p class="muted credit">Spark {org.apache.spark.SPARK_VERSION}</p>
+ </div>
+ </div>
</body>
</html>
}