From c00cb6ae05f548f7ae270a93ad44f57207380406 Mon Sep 17 00:00:00 2001
From: Pacien TRAN-GIRARD
Date: Sun, 8 Feb 2015 20:03:02 +0100
Subject: Put views in packages
---
app/views/fragments/ebeMainActions.scala.html | 2 +-
app/views/pages/account/accountSummary.scala.html | 89 +++++++++++++++++++++++
app/views/pages/accountSummary.scala.html | 89 -----------------------
app/views/pages/auth/loginForm.scala.html | 27 +++++++
app/views/pages/auth/signupForm.scala.html | 43 +++++++++++
app/views/pages/ebeHomepage.scala.html | 49 -------------
app/views/pages/index.scala.html | 3 -
app/views/pages/loginForm.scala.html | 27 -------
app/views/pages/pepalHomepage.scala.html | 49 -------------
app/views/pages/privacy.scala.html | 15 ----
app/views/pages/sales/currentSales.scala.html | 41 +++++++++++
app/views/pages/signupForm.scala.html | 43 -----------
app/views/pages/static/ebeHomepage.scala.html | 49 +++++++++++++
app/views/pages/static/index.scala.html | 3 +
app/views/pages/static/pepalHomepage.scala.html | 49 +++++++++++++
app/views/pages/static/privacy.scala.html | 15 ++++
app/views/pages/static/terms.scala.html | 16 ++++
app/views/pages/terms.scala.html | 16 ----
18 files changed, 333 insertions(+), 292 deletions(-)
create mode 100644 app/views/pages/account/accountSummary.scala.html
delete mode 100644 app/views/pages/accountSummary.scala.html
create mode 100644 app/views/pages/auth/loginForm.scala.html
create mode 100644 app/views/pages/auth/signupForm.scala.html
delete mode 100644 app/views/pages/ebeHomepage.scala.html
delete mode 100644 app/views/pages/index.scala.html
delete mode 100644 app/views/pages/loginForm.scala.html
delete mode 100644 app/views/pages/pepalHomepage.scala.html
delete mode 100644 app/views/pages/privacy.scala.html
create mode 100644 app/views/pages/sales/currentSales.scala.html
delete mode 100644 app/views/pages/signupForm.scala.html
create mode 100644 app/views/pages/static/ebeHomepage.scala.html
create mode 100644 app/views/pages/static/index.scala.html
create mode 100644 app/views/pages/static/pepalHomepage.scala.html
create mode 100644 app/views/pages/static/privacy.scala.html
create mode 100644 app/views/pages/static/terms.scala.html
delete mode 100644 app/views/pages/terms.scala.html
(limited to 'app/views')
diff --git a/app/views/fragments/ebeMainActions.scala.html b/app/views/fragments/ebeMainActions.scala.html
index 46faeb6..0043321 100644
--- a/app/views/fragments/ebeMainActions.scala.html
+++ b/app/views/fragments/ebeMainActions.scala.html
@@ -6,7 +6,7 @@
-
+
Buy
diff --git a/app/views/pages/account/accountSummary.scala.html b/app/views/pages/account/accountSummary.scala.html
new file mode 100644
index 0000000..3a10d3d
--- /dev/null
+++ b/app/views/pages/account/accountSummary.scala.html
@@ -0,0 +1,89 @@
+@(transactions: Seq[Tables.Transaction])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.pepal("Account summary")(request.account) {
+
+
+ @fragments.pepalMainActions()
+
+
+
+
+
+
+
+
My wallet
+
+
+
+
+ Account summary |
+
+
+
+
+
+ Balance |
+ @request.account.get.balance € |
+
+
+
+ Available funds |
+ @request.account.get.equity € |
+
+
+
+
+
+
+
+
+
+
+
+
+
Transaction history
+
+
+
+
+
+ Date |
+ Amount |
+ Label |
+
+
+
+
+ @for(transaction <- transactions) {
+
+ @transaction.transactionDate |
+ @transaction.amount
+ € |
+ @transaction.label |
+
+ }
+
+
+
+
+
+
+
+
+}
diff --git a/app/views/pages/accountSummary.scala.html b/app/views/pages/accountSummary.scala.html
deleted file mode 100644
index 3a10d3d..0000000
--- a/app/views/pages/accountSummary.scala.html
+++ /dev/null
@@ -1,89 +0,0 @@
-@(transactions: Seq[Tables.Transaction])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
-
-@templates.pepal("Account summary")(request.account) {
-
-
- @fragments.pepalMainActions()
-
-
-
-
-
-
-
-
My wallet
-
-
-
-
- Account summary |
-
-
-
-
-
- Balance |
- @request.account.get.balance € |
-
-
-
- Available funds |
- @request.account.get.equity € |
-
-
-
-
-
-
-
-
-
-
-
-
-
Transaction history
-
-
-
-
-
- Date |
- Amount |
- Label |
-
-
-
-
- @for(transaction <- transactions) {
-
- @transaction.transactionDate |
- @transaction.amount
- € |
- @transaction.label |
-
- }
-
-
-
-
-
-
-
-
-}
diff --git a/app/views/pages/auth/loginForm.scala.html b/app/views/pages/auth/loginForm.scala.html
new file mode 100644
index 0000000..f359082
--- /dev/null
+++ b/app/views/pages/auth/loginForm.scala.html
@@ -0,0 +1,27 @@
+@(loginForm: Form[LoginData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("Log in")() {
+
+
+
+
+
Log in
+
+ @views.html.fragments.forms.globalErrors(loginForm)
+
+ @helper.form(action = routes.Authentication.loginSubmit(), 'class -> "pure-form") {
+
+ @helper.CSRF.formField
+
+
+
+
+ }
+
+
+
+
+}
diff --git a/app/views/pages/auth/signupForm.scala.html b/app/views/pages/auth/signupForm.scala.html
new file mode 100644
index 0000000..b026167
--- /dev/null
+++ b/app/views/pages/auth/signupForm.scala.html
@@ -0,0 +1,43 @@
+@(signupForm: Form[SignupData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("Sign up")() {
+
+
+
+
+
Sign up
+
+ @views.html.fragments.forms.globalErrors(signupForm)
+
+ @helper.form(action = routes.Profile.signupSubmit(), 'class -> "pure-form pure-form-stacked") {
+
+ @helper.CSRF.formField
+
+
+
+
+
+
+
+
+
+ }
+
+
+
+
+}
diff --git a/app/views/pages/ebeHomepage.scala.html b/app/views/pages/ebeHomepage.scala.html
deleted file mode 100644
index d4fe80a..0000000
--- a/app/views/pages/ebeHomepage.scala.html
+++ /dev/null
@@ -1,49 +0,0 @@
-@()(implicit request : AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
-
-@templates.ebe("eBé")(request.account) {
-
-
- @fragments.ebeMainActions()
-
-
-
-
-
-
-
-
-
- With @fragments.branding.ebeLogo(), the leading online auction platform, buy or sell items in a few clicks!
-
-
-
-
-
-
-
-
- @fragments.branding.ebeLogo() guarantees all transactions for both buyers and sellers.
-
-
-
-
-
-
-
-
- Any question? Just ask us! Our support team is committed to help you.
-
-
-
-
-
-
-
-
- With @fragments.branding.ebeLogo(), you are not required to give any personal information to any buyer or seller.
-
-
-
-
-
-}
diff --git a/app/views/pages/index.scala.html b/app/views/pages/index.scala.html
deleted file mode 100644
index b6e0029..0000000
--- a/app/views/pages/index.scala.html
+++ /dev/null
@@ -1,3 +0,0 @@
-@(message: String)
-
-@message
diff --git a/app/views/pages/loginForm.scala.html b/app/views/pages/loginForm.scala.html
deleted file mode 100644
index f359082..0000000
--- a/app/views/pages/loginForm.scala.html
+++ /dev/null
@@ -1,27 +0,0 @@
-@(loginForm: Form[LoginData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
-
-@templates.ebe("Log in")() {
-
-
-
-
-
Log in
-
- @views.html.fragments.forms.globalErrors(loginForm)
-
- @helper.form(action = routes.Authentication.loginSubmit(), 'class -> "pure-form") {
-
- @helper.CSRF.formField
-
-
-
-
- }
-
-
-
-
-}
diff --git a/app/views/pages/pepalHomepage.scala.html b/app/views/pages/pepalHomepage.scala.html
deleted file mode 100644
index 9f4b227..0000000
--- a/app/views/pages/pepalHomepage.scala.html
+++ /dev/null
@@ -1,49 +0,0 @@
-@()(implicit request : AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
-
-@templates.pepal("PéPal")(request.account) {
-
-
- @fragments.pepalMainActions()
-
-
-
-
-
-
-
-
-
- With @fragments.branding.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.branding.pepalLogo(), you are not required to give any personal information to any buyer or seller.
-
-
-
-
-
-}
diff --git a/app/views/pages/privacy.scala.html b/app/views/pages/privacy.scala.html
deleted file mode 100644
index dd6898a..0000000
--- a/app/views/pages/privacy.scala.html
+++ /dev/null
@@ -1,15 +0,0 @@
-@()(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
-
-@templates.ebe("Privacy policy")(request.account) {
-
-
-
-
Privacy policy
-
- - We read your passwords.
- - But we do not use Google Analytics or any third-party nasty thing.
-
-
-
-
-}
diff --git a/app/views/pages/sales/currentSales.scala.html b/app/views/pages/sales/currentSales.scala.html
new file mode 100644
index 0000000..30cea78
--- /dev/null
+++ b/app/views/pages/sales/currentSales.scala.html
@@ -0,0 +1,41 @@
+@(sales: Seq[Views.Sale])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("Sales")(request.account) {
+
+
+ @fragments.ebeMainActions()
+
+
+
+
+
+
+
+
Current sales
+
+
+
+
+
+ End date |
+ Item |
+ Current price |
+
+
+
+
+ @for(sale <- sales) {
+
+ @sale.endDate |
+ @sale.itemName |
+ @if(sale.bestOffer.isDefined) {@sale.bestOffer} else {sale.initialPrice} € |
+
+ }
+
+
+
+
+
+
+
+}
diff --git a/app/views/pages/signupForm.scala.html b/app/views/pages/signupForm.scala.html
deleted file mode 100644
index b026167..0000000
--- a/app/views/pages/signupForm.scala.html
+++ /dev/null
@@ -1,43 +0,0 @@
-@(signupForm: Form[SignupData])(implicit flash: Flash, token: play.filters.csrf.CSRF.Token)
-
-@templates.ebe("Sign up")() {
-
-
-
-
-
Sign up
-
- @views.html.fragments.forms.globalErrors(signupForm)
-
- @helper.form(action = routes.Profile.signupSubmit(), 'class -> "pure-form pure-form-stacked") {
-
- @helper.CSRF.formField
-
-
-
-
-
-
-
-
-
- }
-
-
-
-
-}
diff --git a/app/views/pages/static/ebeHomepage.scala.html b/app/views/pages/static/ebeHomepage.scala.html
new file mode 100644
index 0000000..d4fe80a
--- /dev/null
+++ b/app/views/pages/static/ebeHomepage.scala.html
@@ -0,0 +1,49 @@
+@()(implicit request : AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("eBé")(request.account) {
+
+
+ @fragments.ebeMainActions()
+
+
+
+
+
+
+
+
+
+ With @fragments.branding.ebeLogo(), the leading online auction platform, buy or sell items in a few clicks!
+
+
+
+
+
+
+
+
+ @fragments.branding.ebeLogo() guarantees all transactions for both buyers and sellers.
+
+
+
+
+
+
+
+
+ Any question? Just ask us! Our support team is committed to help you.
+
+
+
+
+
+
+
+
+ With @fragments.branding.ebeLogo(), you are not required to give any personal information to any buyer or seller.
+
+
+
+
+
+}
diff --git a/app/views/pages/static/index.scala.html b/app/views/pages/static/index.scala.html
new file mode 100644
index 0000000..b6e0029
--- /dev/null
+++ b/app/views/pages/static/index.scala.html
@@ -0,0 +1,3 @@
+@(message: String)
+
+@message
diff --git a/app/views/pages/static/pepalHomepage.scala.html b/app/views/pages/static/pepalHomepage.scala.html
new file mode 100644
index 0000000..9f4b227
--- /dev/null
+++ b/app/views/pages/static/pepalHomepage.scala.html
@@ -0,0 +1,49 @@
+@()(implicit request : AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.pepal("PéPal")(request.account) {
+
+
+ @fragments.pepalMainActions()
+
+
+
+
+
+
+
+
+
+ With @fragments.branding.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.branding.pepalLogo(), you are not required to give any personal information to any buyer or seller.
+
+
+
+
+
+}
diff --git a/app/views/pages/static/privacy.scala.html b/app/views/pages/static/privacy.scala.html
new file mode 100644
index 0000000..dd6898a
--- /dev/null
+++ b/app/views/pages/static/privacy.scala.html
@@ -0,0 +1,15 @@
+@()(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("Privacy policy")(request.account) {
+
+
+
+
Privacy policy
+
+ - We read your passwords.
+ - But we do not use Google Analytics or any third-party nasty thing.
+
+
+
+
+}
diff --git a/app/views/pages/static/terms.scala.html b/app/views/pages/static/terms.scala.html
new file mode 100644
index 0000000..3ccadc7
--- /dev/null
+++ b/app/views/pages/static/terms.scala.html
@@ -0,0 +1,16 @@
+@()(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
+
+@templates.ebe("Terms of use")(request.account) {
+
+
+
+
Terms of use
+
+ - Do not use this application.
+ - You should not be reading this.
+ - Close this window now.
+
+
+
+
+}
diff --git a/app/views/pages/terms.scala.html b/app/views/pages/terms.scala.html
deleted file mode 100644
index 3ccadc7..0000000
--- a/app/views/pages/terms.scala.html
+++ /dev/null
@@ -1,16 +0,0 @@
-@()(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token)
-
-@templates.ebe("Terms of use")(request.account) {
-
-
-
-
Terms of use
-
- - Do not use this application.
- - You should not be reading this.
- - Close this window now.
-
-
-
-
-}
--
cgit v1.2.3