Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab
authorYasin <mohammed-yasin.rahman@lip6.fr>
Thu, 5 Jun 2014 13:42:49 +0000 (15:42 +0200)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Thu, 5 Jun 2014 13:42:49 +0000 (15:42 +0200)
1  2 
portal/templates/account-view.html

@@@ -30,7 -30,7 +30,7 @@@
                                        <table class="profile">          
                                        <tr>
                                                <td colspan="2">
 -                                                              <div>Platform: Myslice</div>
 +                                                              <div>Platforms: Myslice</div>
                                                </td>
                                        </tr>
                                        <tr>
                                        <tr class="even" id="pkey_row">
                                                 {%if 'N/A' not in user_private_key%}
                                                <td class="key">Private Key </td> <!-- Hide if priv_key doesn't exist in myslice platform   -->
-                                               <td class="value">********<a href="#">
+                                               <td class="value">********<a href="#"></a>
                                                        <button type="submit" name="dl_pkey" class="btn btn-default btn-xs" title="Download your privaye key" id="dl_pkey">
                                                                        <span class="glyphicon glyphicon-download"></span> Download     
                                                                </button>
                                                </td>
                                                  {%else%}
                                                        <td class="key">Private Key </td> <!-- Hide if priv_key doesn't exist in myslice platform   -->
-                                                       <td class="value">********<a href="#">
+                                                       <td class="value">********<a href="#"></a>
                                                        <button type="submit" name="dl_pkey" class="btn btn-default btn-xs disabled" title="Download your privaye key" id="dl_pkey">
                                                                <span class="glyphicon glyphicon-download"></span> Download 
                                                        </button>
                                                        </td>
                                                 {%endif%}              
                                                </tr>
 -                                              <tr class="odd">
 +                                              <tr class="odd">
 +                                                      {%if 'N/A' not in user_private_key%}
 +                                                      <td class="key">Identity</td> 
 +                                              <td>
 +                                                              <button type="submit" name="dl_identity" class="btn btn-default btn-xs" title="You will require it for using jfed" id="dl_pkey">
 +                                                              <span class="glyphicon glyphicon-download"></span> Download 
 +                                                              </button>
 +                                                      </td>
 +                                                      {%else%}
 +                                                      <td class="key">Identity</td> 
 +                                                      <td>
 +                                                      <button type="submit" name="dl_identity" class="btn btn-default btn-xs disabled" title="You will require it to use jfed" id="dl_pkey">
 +                                                              <span class="glyphicon glyphicon-download"></span> Download 
 +                                                      </button>
 +                                                      </td>
 +                                                      {%endif%} 
 +                                              </tr>
 +                                              <tr class="even">
                                                <td colspan="2">
                                                        <p class="message" id="pkey_del_msg"><b> Tradeoff:</b> Ease-of-use vs Security.<br>
                                                                        <b>Ease-of-use:</b> Automatic account delegation. Don't delete private key.<br>