1 {% extends "layout-unfold1.html" %}
4 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/my_account.common.css" />
5 <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/my_account.profile.css" />
6 <!-- <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/dashboard.css" /> !-->
7 <script type="text/javascript" src="{{STATIC_URL}}/jquery.validate.js"></script>
8 <script type="text/javascript" src="{{STATIC_URL}}/my_account.edit_profile.js"></script>
9 <script type="text/javascript" src="{{STATIC_URL}}/my_account.register.js"></script>
12 {% block unfold1_main %}
15 <h2>Platform Access</h2>
16 <table class="mytable">
25 <td class="odd"> {{ row.platform_name }} </td>
26 <td class="even"> {{ row.account_type }} </td>
27 <td class="odd"> {{ row.usr_hrn }} </td>
28 <td class="even"> {{ row.usr_pubkey }} </td>
36 <div class='ms-dashboard-panel' id='ms-dashboard-slices' style=" display:block; float:none" >
37 <div class='ms-dashboard-caption'>
38 <h2>MySlice Account</h2>
40 <div class='ms-dashboard-content' id='tophat__list__user_hrn'>
42 <div id="middle" align="center">
43 <form id="editForm" method="POST" action="account_process" enctype="multipart/form-data">
45 <table class="profile">
48 <div id="info">Personal Details</div>
52 <td class="key">Email</td>
54 <span id="emailval" class="value" >{{ person.email }}</span>
55 <img class="logo" src="{{STATIC_URL}}/img/ques_icon.png" onclick="emailAlert()" title="To change your email please contact the administrator" style="height: 20px; width: 20px; position: absolute; left: 625px; left: 900px; margin-top: -9px;">
59 <td class="key">Password</td>
61 <button class="edit" type="button" title="Password" name="edit_pass" id="edit_pass">Edit</button>
62 <span id="passval"class="value">******** </span>
63 <span class="hide_this" id="span_pass">
64 <button type="button" class="cancel" title="Cancel" id="cancel_pass_change"> Cancel </button>
65 <div style='display:none;' id="pass_form">
66 <input type='hidden' value='' /></div>
67 <table id="edit_password">
69 <td>Enter password: </td>
71 <input type="password" name="password" id="password" />
75 <td>Confirm password: </td>
77 <input type="password" name="confirmpassword" id="confirmpassword" />
78 <input type="submit" name="submit_pass" value="Save"/>
86 <td class="key">Full Name</td>
88 <span id="nameval" class="value" >{{ fullname }} </span>
89 <span class="hide_this" id="span_name">
90 <button type="button" class="cancel" title="Cancel" id="cancel_name_change"> Cancel </button>
92 <div style='display:none;'><input type='hidden' name='nameform' /></div>
93 <input id="fname" type="text" name="fname" class="required" maxlength="200" value="{{firstname}}" />
94 <input id="lname" type="text" name="lname" class="required" maxlength="200" value="{{lastname}}" />
95 <input type="submit" name="submit_name" value="Save"/>
97 <button class="edit" type="button"title="Full Name" id="edit_name">Edit</button>
102 <td class="key">Affiliation</td>
104 <span id="affval" class="value">{{ affiliation }}</span>
105 <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; ">
110 <td class="key">Generate Keys</td>
113 <button id="generate_keypair" name="generate" type="submit" onclick="myFunction()" title="Generate a new key pair. After it is generated, you will need to download your public and private keys again.">Generate a new Key Pair </button>
118 <td class="key">Public Key
122 <span id="keyval" class="value">******** </span>
123 <span class="hide_this" id="span_upload">
124 <button type="button" class="cancel" title="Cancel" id="cancel_upload"> Cancel </button>
125 <div style='display:none;'>
126 <input type='hidden' name='upload' /></div>
127 <input type="file" name="pubkey" class="required" id="pubkey"/>
129 <button name="upload_key" id="upload_key" type="submit" title="Delete your private key">Upload </button>
132 <div style='display:none;'>
133 <input type='hidden' name='dload' />
135 <button type="submit" name="dl_pubkey" class="download" title="Download your public key" id="dl_file"> Download </button>
136 <button id="upload_file" type="button" title="Upload a public key"> Upload </button>
139 <tr class="even" id="pkey_row" display="none">
140 <td class="key">Private Key </td>
141 <td class="value">********<a href="#">
142 <button type="submit" name="dl_pkey" class="download" title="Download your privaye key" id="dl_pkey"> Download </button>
143 <button id="delete" name="delete" type="submit" title="Delete your private key">Delete </button>
149 <p class="warning" id="pkey_del_msg"> For better
150 security we recommend that you
151 download and delete your
153 server. Always store your
154 private key in a secure