aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/twirl/common/layout.scala.html
diff options
context:
space:
mode:
authorDenny <dennybritz@gmail.com>2012-07-31 08:39:24 -0700
committerDenny <dennybritz@gmail.com>2012-08-01 11:01:09 -0700
commit7a295fee9641e7b9480dd5cb520afe45039ffbe0 (patch)
treeb89a6bf716cdbc0821267ab070c1f9761fff6adb /core/src/main/twirl/common/layout.scala.html
parentf471c82558347216985a8b7015309c4cce099cc4 (diff)
downloadspark-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.html31
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