From d04d732a084f07ca88fdfa82653bdfd2d6798374 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 24 Jan 2015 20:27:08 +0100 Subject: First website mockup --- app/controllers/Application.scala | 10 +++- app/controllers/Console.scala | 12 +++++ app/views/fragments/accountInfos.scala.html | 14 +++++ app/views/fragments/ebeLogo.scala.html | 1 + app/views/fragments/ebeMainActions.scala.html | 13 +++++ app/views/fragments/ebeSlogan.scala.html | 1 + app/views/fragments/pepalLogo.scala.html | 1 + app/views/fragments/pepalMainActions.scala.html | 13 +++++ app/views/fragments/pepalSlogan.scala.html | 1 + app/views/index.scala.html | 7 --- app/views/main.scala.html | 15 ------ app/views/pages/ebeHomepage.scala.html | 47 +++++++++++++++++ app/views/pages/index.scala.html | 3 ++ app/views/pages/pepalHomepage.scala.html | 47 +++++++++++++++++ app/views/templates/ebe.scala.html | 3 ++ app/views/templates/main.scala.html | 69 +++++++++++++++++++++++++ app/views/templates/pepal.scala.html | 3 ++ 17 files changed, 237 insertions(+), 23 deletions(-) create mode 100644 app/controllers/Console.scala create mode 100644 app/views/fragments/accountInfos.scala.html create mode 100644 app/views/fragments/ebeLogo.scala.html create mode 100644 app/views/fragments/ebeMainActions.scala.html create mode 100644 app/views/fragments/ebeSlogan.scala.html create mode 100644 app/views/fragments/pepalLogo.scala.html create mode 100644 app/views/fragments/pepalMainActions.scala.html create mode 100644 app/views/fragments/pepalSlogan.scala.html delete mode 100644 app/views/index.scala.html delete mode 100644 app/views/main.scala.html create mode 100644 app/views/pages/ebeHomepage.scala.html create mode 100644 app/views/pages/index.scala.html create mode 100644 app/views/pages/pepalHomepage.scala.html create mode 100644 app/views/templates/ebe.scala.html create mode 100644 app/views/templates/main.scala.html create mode 100644 app/views/templates/pepal.scala.html (limited to 'app') diff --git a/app/controllers/Application.scala b/app/controllers/Application.scala index 7cd798f..43b579e 100644 --- a/app/controllers/Application.scala +++ b/app/controllers/Application.scala @@ -6,7 +6,15 @@ import play.api.mvc._ object Application extends Controller { def index = Action { - Ok(views.html.index("Your new application is ready.")) + Ok(views.html.pages.index("Your new application is ready.")) + } + + def ebe = Action { + Ok(views.html.pages.ebeHomepage()) + } + + def pepal = Action { + Ok(views.html.pages.pepalHomepage()) } } \ No newline at end of file diff --git a/app/controllers/Console.scala b/app/controllers/Console.scala new file mode 100644 index 0000000..93bc5d5 --- /dev/null +++ b/app/controllers/Console.scala @@ -0,0 +1,12 @@ +package controllers + +import play.api._ +import play.api.mvc._ + +object Console extends Controller { + + def console = Action { + Redirect("/") + } + +} diff --git a/app/views/fragments/accountInfos.scala.html b/app/views/fragments/accountInfos.scala.html new file mode 100644 index 0000000..711fb40 --- /dev/null +++ b/app/views/fragments/accountInfos.scala.html @@ -0,0 +1,14 @@ + + + Logout + + + + + -400 000 € + + + + + Mr. Kornada + diff --git a/app/views/fragments/ebeLogo.scala.html b/app/views/fragments/ebeLogo.scala.html new file mode 100644 index 0000000..f2b552a --- /dev/null +++ b/app/views/fragments/ebeLogo.scala.html @@ -0,0 +1 @@ +ebé \ No newline at end of file diff --git a/app/views/fragments/ebeMainActions.scala.html b/app/views/fragments/ebeMainActions.scala.html new file mode 100644 index 0000000..46faeb6 --- /dev/null +++ b/app/views/fragments/ebeMainActions.scala.html @@ -0,0 +1,13 @@ +
+ With @fragments.ebeLogo(), the leading online auction platform, buy or sell items in a few clicks! +
++ @fragments.ebeLogo() guarantees all transactions for both buyers and sellers. +
++ Any question? Just ask us! Our support team is committed to help you. +
++ With @fragments.ebeLogo(), you are not required to give any personal information to any buyer or seller. +
++ With @fragments.pepalLogo(), the leading online payment solution, buy or sell items on the web in a few clicks! +
++ Sending money to your friends or your family has never been easier. +
++ Any question? Just ask us! Our support team is committed to help you. +
++ With @fragments.pepalLogo(), you are not required to give any personal information to any buyer or seller. +
+