aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/index.scala.html7
-rw-r--r--app/views/main.scala.html15
2 files changed, 22 insertions, 0 deletions
diff --git a/app/views/index.scala.html b/app/views/index.scala.html
new file mode 100644
index 0000000..d6a6b22
--- /dev/null
+++ b/app/views/index.scala.html
@@ -0,0 +1,7 @@
1@(message: String)
2
3@main("Welcome to Play") {
4
5 @play20.welcome(message)
6
7}
diff --git a/app/views/main.scala.html b/app/views/main.scala.html
new file mode 100644
index 0000000..5025aa5
--- /dev/null
+++ b/app/views/main.scala.html
@@ -0,0 +1,15 @@
1@(title: String)(content: Html)
2
3<!DOCTYPE html>
4
5<html>
6 <head>
7 <title>@title</title>
8 <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")">
9 <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">
10 <script src="@routes.Assets.at("javascripts/hello.js")" type="text/javascript"></script>
11 </head>
12 <body>
13 @content
14 </body>
15</html>