From: Loic Baron <loic.baron@lip6.fr>
Date: Wed, 21 Aug 2013 11:04:05 +0000 (+0200)
Subject: added a button link to my account on the dashboard and set min height in css
X-Git-Tag: myslice-0.2-1~41^2~13
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8476d7d432f712af498211268c0dbd2a26170301;p=unfold.git

added a button link to my account on the dashboard and set min height in css
---

diff --git a/portal/static/css/dashboard.css b/portal/static/css/dashboard.css
index 22d90cf3..d5b63614 100644
--- a/portal/static/css/dashboard.css
+++ b/portal/static/css/dashboard.css
@@ -39,6 +39,9 @@
     position: relative;
     top: 1em;
     width: 45%;
+    min-height:200px;
+    height:auto !important;
+    height:200px; 
 }
 
 #ms-dashboard-slices {
@@ -54,6 +57,9 @@
     padding: 15px;
     top: 0.5em;
     width: 45%;
+    min-height:200px;
+    height:auto !important;
+    height:200px; 
 }
 
 li.icn {
diff --git a/portal/templates/dashboard.html b/portal/templates/dashboard.html
index bc4be759..9ba4c4e3 100644
--- a/portal/templates/dashboard.html
+++ b/portal/templates/dashboard.html
@@ -18,6 +18,7 @@
         <li><span id='username'>{{person.first_name}} {{person.last_name}}</span></li>
         <li><b>Email: </b><a href='mailto:#'>{{person.email}}</a></li>
       </ul>
+      <button id="account" onclick="location.href='account'" class="btn">Modify</button>
     </div>
   </div>