diff options
Diffstat (limited to 'app/views/pages')
-rw-r--r-- | app/views/pages/account/accountSummary.scala.html (renamed from app/views/pages/accountSummary.scala.html) | 0 | ||||
-rw-r--r-- | app/views/pages/auth/loginForm.scala.html (renamed from app/views/pages/loginForm.scala.html) | 0 | ||||
-rw-r--r-- | app/views/pages/auth/signupForm.scala.html (renamed from app/views/pages/signupForm.scala.html) | 0 | ||||
-rw-r--r-- | app/views/pages/sales/currentSales.scala.html | 41 | ||||
-rw-r--r-- | app/views/pages/static/ebeHomepage.scala.html (renamed from app/views/pages/ebeHomepage.scala.html) | 0 | ||||
-rw-r--r-- | app/views/pages/static/index.scala.html (renamed from app/views/pages/index.scala.html) | 0 | ||||
-rw-r--r-- | app/views/pages/static/pepalHomepage.scala.html (renamed from app/views/pages/pepalHomepage.scala.html) | 0 | ||||
-rw-r--r-- | app/views/pages/static/privacy.scala.html (renamed from app/views/pages/privacy.scala.html) | 0 | ||||
-rw-r--r-- | app/views/pages/static/terms.scala.html (renamed from app/views/pages/terms.scala.html) | 0 |
9 files changed, 41 insertions, 0 deletions
diff --git a/app/views/pages/accountSummary.scala.html b/app/views/pages/account/accountSummary.scala.html index 3a10d3d..3a10d3d 100644 --- a/app/views/pages/accountSummary.scala.html +++ b/app/views/pages/account/accountSummary.scala.html | |||
diff --git a/app/views/pages/loginForm.scala.html b/app/views/pages/auth/loginForm.scala.html index f359082..f359082 100644 --- a/app/views/pages/loginForm.scala.html +++ b/app/views/pages/auth/loginForm.scala.html | |||
diff --git a/app/views/pages/signupForm.scala.html b/app/views/pages/auth/signupForm.scala.html index b026167..b026167 100644 --- a/app/views/pages/signupForm.scala.html +++ b/app/views/pages/auth/signupForm.scala.html | |||
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 @@ | |||
1 | @(sales: Seq[Views.Sale])(implicit request: AuthRequest[AnyContent], flash: Flash, token: play.filters.csrf.CSRF.Token) | ||
2 | |||
3 | @templates.ebe("Sales")(request.account) { | ||
4 | |||
5 | <div class="action-buttons pure-g"> | ||
6 | @fragments.ebeMainActions() | ||
7 | </div> | ||
8 | |||
9 | <br> | ||
10 | |||
11 | <div class="pure-g"> | ||
12 | <div class="pure-u-1 pure-u-lg-1-1"> | ||
13 | <div class="l-box"> | ||
14 | <h2>Current sales</h2> | ||
15 | |||
16 | <table class="pure-table pure-table-horizontal"> | ||
17 | |||
18 | <thead> | ||
19 | <tr> | ||
20 | <td>End date</td> | ||
21 | <td>Item</td> | ||
22 | <td>Current price</td> | ||
23 | </tr> | ||
24 | </thead> | ||
25 | |||
26 | <tbody> | ||
27 | @for(sale <- sales) { | ||
28 | <tr> | ||
29 | <td>@sale.endDate</td> | ||
30 | <td><a href="@routes.Sale.item(sale.itemUuid.get)">@sale.itemName</a></td> | ||
31 | <td>@if(sale.bestOffer.isDefined) {@sale.bestOffer} else {sale.initialPrice} €</td> | ||
32 | </tr> | ||
33 | } | ||
34 | </tbody> | ||
35 | |||
36 | </table> | ||
37 | </div> | ||
38 | </div> | ||
39 | </div> | ||
40 | |||
41 | } | ||
diff --git a/app/views/pages/ebeHomepage.scala.html b/app/views/pages/static/ebeHomepage.scala.html index d4fe80a..d4fe80a 100644 --- a/app/views/pages/ebeHomepage.scala.html +++ b/app/views/pages/static/ebeHomepage.scala.html | |||
diff --git a/app/views/pages/index.scala.html b/app/views/pages/static/index.scala.html index b6e0029..b6e0029 100644 --- a/app/views/pages/index.scala.html +++ b/app/views/pages/static/index.scala.html | |||
diff --git a/app/views/pages/pepalHomepage.scala.html b/app/views/pages/static/pepalHomepage.scala.html index 9f4b227..9f4b227 100644 --- a/app/views/pages/pepalHomepage.scala.html +++ b/app/views/pages/static/pepalHomepage.scala.html | |||
diff --git a/app/views/pages/privacy.scala.html b/app/views/pages/static/privacy.scala.html index dd6898a..dd6898a 100644 --- a/app/views/pages/privacy.scala.html +++ b/app/views/pages/static/privacy.scala.html | |||
diff --git a/app/views/pages/terms.scala.html b/app/views/pages/static/terms.scala.html index 3ccadc7..3ccadc7 100644 --- a/app/views/pages/terms.scala.html +++ b/app/views/pages/static/terms.scala.html | |||