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 + conf/routes | 9 +- public/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes public/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes public/fonts/fontawesome-webfont.svg | 565 ++++++++++++++++++++++++ public/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes public/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes public/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes public/javascripts/cheat.js | 29 ++ public/javascripts/hello.js | 3 - public/javascripts/konami.js | 105 +++++ public/medias/sims2-university-theme.ogg | Bin 0 -> 3328802 bytes public/stylesheets/ebe.css | 38 ++ public/stylesheets/font-awesome.min.css | 4 + public/stylesheets/grids-responsive-min.css | 7 + public/stylesheets/konami.css | 12 + public/stylesheets/main.css | 128 ++++++ public/stylesheets/pepal.css | 22 + public/stylesheets/pure-min.css | 11 + 35 files changed, 1165 insertions(+), 28 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 create mode 100644 public/fonts/FontAwesome.otf create mode 100644 public/fonts/fontawesome-webfont.eot create mode 100644 public/fonts/fontawesome-webfont.svg create mode 100644 public/fonts/fontawesome-webfont.ttf create mode 100644 public/fonts/fontawesome-webfont.woff create mode 100644 public/fonts/fontawesome-webfont.woff2 create mode 100644 public/javascripts/cheat.js delete mode 100644 public/javascripts/hello.js create mode 100644 public/javascripts/konami.js create mode 100644 public/medias/sims2-university-theme.ogg create mode 100644 public/stylesheets/ebe.css create mode 100644 public/stylesheets/font-awesome.min.css create mode 100644 public/stylesheets/grids-responsive-min.css create mode 100644 public/stylesheets/konami.css create mode 100644 public/stylesheets/pepal.css create mode 100644 public/stylesheets/pure-min.css 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. +
+