{% block head %}
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/my_account.common.css" />
<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/my_account.profile.css" />
+<!-- <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/dashboard.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>
{% block unfold1_main %}
+<h2>Platform Access</h2>
+<table border="2" bordercolor="C1DAD7" style="table-layout:fixedbackground-color:FFFFCCwidth:830px" cellpadding="12" cellspacing="12">
+ <tr>
+ <th align="center" style="width:15%">Platform</th>
+ <th align="center" style="width:15%">Account Type</th>
+ <th align="center" style="width:15%">user_hrn</th>
+ <th align="center">Pub Key</th>
+ </tr>
+ {% for row in data %}
+ <tr>
+ <td align="center"> {{ row.platform_name }} </td>
+ <td align="center"> {{ row.account_type }} </td>
+ <td align="center" style="word-wrap: break-word"> {{ row.usr_hrn }} </td>
+ <td align="center" style="word-wrap: break-word"> {{ row.usr_pubkey }} </td>
+ </tr>
+ {%endfor%}
+</table>
+
+
+
<div class='ms-dashboard-panel' id='ms-dashboard-slices' style=" display:block; float:none" >
<div class='ms-dashboard-caption'>
</div>
<div class='ms-dashboard-content' id='tophat__list__user_hrn'>
<div id="main">
- <div id="middle">
+ <div id="middle" align="center">
<form id="editForm" method="POST" action="acc_process" enctype="multipart/form-data">
{% csrf_token %}
<table class="profile">
<tr class="even">
<td class="key">Full Name</td>
<td class="value">
- <span id="nameval" class="value" >Yasin Rahman </span>
+ <span id="nameval" class="value" >{{ fullname }} </span>
<span class="hide_this" id="span_name">
<button type="button" class="cancel" title="Cancel" id="cancel_name_change"> Cancel </button>
<div style='display:none;'><input type='hidden' name='nameform' /></div>
- <input id="fname" type="text" name="fname" class="required" maxlength="200" value="" />
- <input id="lname" type="text" name="lname" class="required" maxlength="200" value="" />
+ <input id="fname" type="text" name="fname" class="required" maxlength="200" value="{{firstname}}" />
+ <input id="lname" type="text" name="lname" class="required" maxlength="200" value="{{lastname}}" />
<input type="submit" name="submit_name" value="Save"/>
</span>
<button class="edit" type="button"title="Full Name" id="edit_name">Edit</button>
<tr class="odd">
<td class="key">Affiliation</td>
<td class="value">
- <span id="affval" class="value">UPMC</span>
+ <span id="affval" class="value">{{ affiliation }}</span>
<img class="logo" src="{{STATIC_URL}}/img/ques_icon.png" onclick="affAlert()" title="To change your affiliation please contact the administrator" style="height: 20px; width: 20px; position: absolute; left: 625px; left: 900px; ">
</td>
</tr>