AccountView: Download sfi_config
[myslice.git] / portal / templates / account-view.html
index b07ec0a..2b99be1 100644 (file)
                                                        </td>
                                                 {%endif%}              
                                                </tr>
+                                       <tr class="even" id="sfi_config_row">
+                                               <td class="key">sfi_config </td>
+                                               <td class="value">use sfi_config file with sfi.py package (pip install sfa)<a href="#"></a>
+                                                       <button type="submit" name="dl_sfi_config" class="btn btn-default btn-xs" title="Download your privaye key" id="dl_sfi_config">
+                                                                       <span class="glyphicon glyphicon-download"></span> Download 
+                                                               </button>
+                                               </td>
+                        </tr>
                                                <tr class="even">
                                                <td colspan="2">
                                                        <p class="message" id="pkey_del_msg"><b> Tradeoff:</b> Ease-of-use vs Security.<br>
                                                                <span class="glyphicon glyphicon-download"></span> Credential
                                                        </button>
                                                        <button class="btn btn-default btn-xs" name= "dl_user_cert" type="submit" title="Download User Certificate">
-                                                               <span class="glyphicon glyphicon-download"></span> Crertificate
+                                                               <span class="glyphicon glyphicon-download"></span> Certificate
                                                        </button>
-
+                             <button class="btn btn-default btn-xs" name= "dl_user_p12" type="submit" title="Download User PKCS12">
+                                 <span class="glyphicon glyphicon-download"></span> PKCS p12
+                             </button>
                                                </td>
                                        </tr>
                                        {%endfor%}
                                 </table>
                                <p></p>
-                               <table class="mytable table table-bordered table-hover" style="width:100px;">
+                               <table class="mytable table table-bordered table-hover">
                                        <caption><b>Delegated Slice Credentials</b></caption>  
                                <tr class="odd"> 
                                                <th>Slice Name</th> 
                                {%endfor%}
                                </table>
                                <p></p>
-                               <table class="mytable table table-bordered table-hover" style="width:100px;">
+                               <table class="mytable table table-bordered table-hover">
                                        <caption><b>Delegated Authority Credentials</b></caption>
                                        <tr class="odd"> 
                                        <th>Authority Name</th>