diff options
author | Denny <dennybritz@gmail.com> | 2012-07-31 08:39:24 -0700 |
---|---|---|
committer | Denny <dennybritz@gmail.com> | 2012-08-01 11:01:09 -0700 |
commit | 7a295fee9641e7b9480dd5cb520afe45039ffbe0 (patch) | |
tree | b89a6bf716cdbc0821267ab070c1f9761fff6adb /core/src/main/twirl/common/layout.scala.html | |
parent | f471c82558347216985a8b7015309c4cce099cc4 (diff) | |
download | spark-7a295fee9641e7b9480dd5cb520afe45039ffbe0.tar.gz spark-7a295fee9641e7b9480dd5cb520afe45039ffbe0.tar.bz2 spark-7a295fee9641e7b9480dd5cb520afe45039ffbe0.zip |
Spark WebUI Implementation.
Diffstat (limited to 'core/src/main/twirl/common/layout.scala.html')
-rw-r--r-- | core/src/main/twirl/common/layout.scala.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/core/src/main/twirl/common/layout.scala.html b/core/src/main/twirl/common/layout.scala.html new file mode 100644 index 0000000000..e6bb21969a --- /dev/null +++ b/core/src/main/twirl/common/layout.scala.html @@ -0,0 +1,31 @@ +@(title: String)(content: Html) + +<!DOCTYPE html> +<html> + + <head> + <meta http-equiv="Content-type" content="text/html; charset=utf-8"> + <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/css/bootstrap.min.css" type="text/css"> + <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.0.4/css/bootstrap-responsive.min.css" type="text/css"> + <title>Spark WebUI</title> + </head> + + <body> + <div class="container"> + + <!-- HEADER --> + <div class="row"> + <div class="span12"> + <img src="spark_logo.png"> + <h1 style="vertical-align: bottom; margin-bottom: 10px; margin-left: 30px; display: inline-block;"> @title </h1> + </div> + </div> + + <hr/> + + @content + + </div> + </body> + +</html>
\ No newline at end of file |