aboutsummaryrefslogtreecommitdiff
path: root/app/views/templates
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/templates')
-rw-r--r--app/views/templates/ebe.scala.html4
-rw-r--r--app/views/templates/main.scala.html20
-rw-r--r--app/views/templates/pepal.scala.html4
3 files changed, 15 insertions, 13 deletions
diff --git a/app/views/templates/ebe.scala.html b/app/views/templates/ebe.scala.html
index 2bab310..8e8fc8e 100644
--- a/app/views/templates/ebe.scala.html
+++ b/app/views/templates/ebe.scala.html
@@ -1,3 +1,3 @@
1@(title: String)(content: Html)(implicit flash: Flash) 1@(title: String)(accountData: Option[models.Views.Account] = None)(content: Html)(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
2 2
3@templates.main{@fragments.ebeLogo()}{@fragments.ebeSlogan()}(title)(content) 3@templates.main{@fragments.branding.ebeLogo()}{@fragments.branding.ebeSlogan()}(title)(accountData)(content)
diff --git a/app/views/templates/main.scala.html b/app/views/templates/main.scala.html
index 278b205..5ec9da2 100644
--- a/app/views/templates/main.scala.html
+++ b/app/views/templates/main.scala.html
@@ -1,4 +1,4 @@
1@(logo: Html)(slogan: Html)(title: String)(content: Html)(implicit flash: Flash) 1@(logo: Html)(slogan: Html)(title: String)(accountData: Option[models.Views.Account] = None)(content: Html)(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
2 2
3<!DOCTYPE html> 3<!DOCTYPE html>
4 4
@@ -22,12 +22,14 @@
22 22
23 <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")"> 23 <link rel="shortcut icon" type="image/png" href="@routes.Assets.at("images/favicon.png")">
24 24
25 <script src="@routes.Assets.at("javascripts/konami.js")" type="text/javascript"></script> 25 @if(accountData.isDefined) {
26 <script src="@routes.Assets.at("javascripts/cheat.js")" type="text/javascript"></script> 26 <script src="@routes.Assets.at("javascripts/konami.js")" type="text/javascript"></script>
27 <script src="@routes.Assets.at("javascripts/cheat.js")" type="text/javascript"></script>
28 }
27 29
28 </head> 30 </head>
29 31
30 <body> 32 <body data-token="@token.value">
31 33
32 <div class="disclaimer-bar yellow-bg"> 34 <div class="disclaimer-bar yellow-bg">
33 This is a dummy scholar project! Do not use for real serious business stuff! 35 This is a dummy scholar project! Do not use for real serious business stuff!
@@ -39,14 +41,14 @@
39 <div class="pure-g"> 41 <div class="pure-g">
40 <div class="logo pure-u-1 pure-u-lg-1-2"> 42 <div class="logo pure-u-1 pure-u-lg-1-2">
41 <h1> 43 <h1>
42 <a href="#">@logo</a> 44 <a href="@routes.Application.index()">@logo</a>
43 </h1> 45 </h1>
44 <h2> 46 <h2>
45 <a href="#">@slogan</a> 47 <a href="@routes.Application.index()">@slogan</a>
46 </h2> 48 </h2>
47 </div> 49 </div>
48 50
49 <div class="account-info pure-u-1 pure-u-lg-1-2">@fragments.accountInfos()</div> 51 <div class="account-info pure-u-1 pure-u-lg-1-2">@fragments.accountInfos(accountData)</div>
50 </div> 52 </div>
51 </header> 53 </header>
52 54
@@ -58,9 +60,9 @@
58 <span class="copyright">&copy; @logo Inc. All rights reserved.</span> 60 <span class="copyright">&copy; @logo Inc. All rights reserved.</span>
59 61
60 <span class="footer-links"> 62 <span class="footer-links">
61 <a href="#">Terms of use</a> 63 <a href="@routes.Application.index()">Terms of use</a>
62 - 64 -
63 <a href="#">Privacy policy</a> 65 <a href="@routes.Application.index()">Privacy policy</a>
64 </span> 66 </span>
65 </footer> 67 </footer>
66 68
diff --git a/app/views/templates/pepal.scala.html b/app/views/templates/pepal.scala.html
index ec6d5dd..6f5d5ae 100644
--- a/app/views/templates/pepal.scala.html
+++ b/app/views/templates/pepal.scala.html
@@ -1,3 +1,3 @@
1@(title: String)(content: Html)(implicit flash: Flash) 1@(title: String)(accountData: Option[models.Views.Account] = None)(content: Html)(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
2 2
3@templates.main{@fragments.pepalLogo()}{@fragments.pepalSlogan()}(title)(content) 3@templates.main{@fragments.branding.pepalLogo()}{@fragments.branding.pepalSlogan()}(title)(accountData)(content)