{% block head %}
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/onelab.css"/>
-<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/account_view_html.css" />
-<script type="text/javascript" src="{{STATIC_URL}}/jquery.validate.js"></script>
-<script type="text/javascript" src="{{STATIC_URL}}/my_account.edit_profile.js"></script>
-<script type="text/javascript" src="{{STATIC_URL}}/my_account.register.js"></script>
+<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/account_view.css" />
+<script type="text/javascript" src="{{STATIC_URL}}/js/jquery.validate.js"></script>
+<script type="text/javascript" src="{{STATIC_URL}}/js/my_account.edit_profile.js"></script>
+<script type="text/javascript" src="{{STATIC_URL}}/js/my_account.register.js"></script>
{% endblock %}
{% block unfold1_main %}
+<h2>MySlice Account</h2>
-<h2>Platform Access</h2>
-<div id="middle" align="center">
- <div class="well">
- <table class="mytable">
- <tr class="odd">
- <th>Platform</th>
- <th>Account Type</th>
- <th>user_hrn</th>
- <th>Pub Key</th>
- </tr>
- {% for row in data %}
- <tr class="border_bottom">
- <td class="odd"> {{ row.platform_name }} </td>
- <td class="even"> {{ row.account_type }} </td>
- <td class="odd"> {{ row.usr_hrn }} </td>
- <td class="even"> {{ row.usr_pubkey }} </td>
- </tr>
- {%endfor%}
- </table>
- </div>
-</div>
+{% if messages %}
+<ul class="messages">
+ {% for message in messages %}
+ <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
+ {% endfor %}
+</ul>
+{% endif %}
-<h2>MySlice Account</h2>
<div id="middle" align="center">
<div class="well">
<form id="editForm" method="POST" action="account_process" enctype="multipart/form-data">
</tr>
<tr class="odd">
<td colspan="2">
- <p class="warning" id="pkey_del_msg"> For better security we recommend that you download and delete your private key from the server.
- Always store your private key in a secure location.
+ <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>
+ <b>Security:</b> Manual account delegation. Download & Delete private key.
</p>
</td>
</tr>
</div>
</div>
+<h2>Platform Access</h2>
+<div id="middle" align="center">
+ <div class="well">
+ <table class="mytable">
+ <tr class="odd">
+ <th>Platform</th>
+ <th>Account Type</th>
+ <th>user_hrn</th>
+ <th>Pub Key</th>
+ </tr>
+ {% for row in data %}
+ <tr class="border_bottom">
+ <td class="odd"> {{ row.platform_name }} </td>
+ <td class="even"> {{ row.account_type }} </td>
+ <td class="odd"> {{ row.usr_hrn }} </td>
+ <td class="even"> {{ row.usr_pubkey }} </td>
+ </tr>
+ {%endfor%}
+ </table>
+ </div>
+</div>
+
+
+
{% endblock %}