aboutsummaryrefslogtreecommitdiff
path: root/app/views/fragments/accountInfos.scala.html
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-02-08 00:17:21 +0100
committerPacien TRAN-GIRARD2015-02-08 00:17:21 +0100
commitcb902da50bd75b623a47727e62c0c69913422bfd (patch)
tree2296df3bc243176f640732fffc80ec553a371367 /app/views/fragments/accountInfos.scala.html
parent3d22cb7d1ee6bdf7b484bbf001c76e81ae351dea (diff)
downloadminibay-cb902da50bd75b623a47727e62c0c69913422bfd.tar.gz
Authentication draft
Diffstat (limited to 'app/views/fragments/accountInfos.scala.html')
-rw-r--r--app/views/fragments/accountInfos.scala.html46
1 files changed, 32 insertions, 14 deletions
diff --git a/app/views/fragments/accountInfos.scala.html b/app/views/fragments/accountInfos.scala.html
index 711fb40..8fb0aab 100644
--- a/app/views/fragments/accountInfos.scala.html
+++ b/app/views/fragments/accountInfos.scala.html
@@ -1,14 +1,32 @@
1<a class="pure-button" href="#"> 1@(accountData: Option[models.Views.Account] = None)
2 <i class="fa fa-sign-out fa-lg"></i> 2
3 Logout 3@accountData match {
4</a> 4 case Some(account) => {
5 5 <a class="pure-button" href="@routes.Auth.logout()">
6<a class="pure-button" href="#"> 6 <i class="fa fa-sign-out fa-lg"></i>
7 <i class="fa fa-money fa-lg"></i> 7 Logout
8 -400 000 € 8 </a>
9</a> 9
10 10 <a class="pure-button" href="#">
11<a class="pure-button" href="#"> 11 <i class="fa fa-money fa-lg"></i>
12 <i class="fa fa-user fa-lg"></i> 12 @account.equity €
13 Mr. Kornada 13 </a>
14</a> 14
15 <a class="pure-button" href="#">
16 <i class="fa fa-user fa-lg"></i>
17 @account.username
18 </a>
19 }
20
21 case None => {
22 <a class="pure-button" href="@routes.Auth.logout()">
23 <i class="fa fa-pencil-square-o fa-lg"></i>
24 Sign up
25 </a>
26
27 <a class="pure-button" href="@routes.Auth.login()">
28 <i class="fa fa-sign-in fa-lg"></i>
29 Log in
30 </a>
31 }
32}