<input type="file" name="pubkey" class="required" id="pubkey"/>
<input class="btn btn-default btn-xs" name="upload_key" id="upload_key" type="submit" title="Upload your public key" value="Upload"
onclick="return confirm('Are you sure? It will overwrite your current credentials and you have delegate it manually.');"/>
- </span>
+
<div style='display:none;'> <input type='hidden' name='dload' /> </div>
<button type="submit" name="dl_pubkey" class="btn btn-default btn-xs" title="Download your public key" id="dl_pubkey" onclick="javascript:document.getElementById('button_value').value='dl_pubkey';">
<span class="glyphicon glyphicon-download"></span> Download
<th>Slice Name</th>
<th>Expiration Date</th>
<th>Download</th>
+ <th>Delete</th>
</tr>
{% for row in my_slices %}
<tr class="border_bottom">
<span class="glyphicon glyphicon-download"></span> Download
</button>
</td>
+ <td class="odd">
+ <button class="btn btn-danger btn-xs" name= "del_{{row.slice_name}}" type="submit" title="Download Slice Credentials" onclick="return confirm('Are you sure? If you do so, the slice will be permanently deleted.'); javascript:document.getElementById('button_value').value='del_{{row.slice_name}}';">
+ <span class="glyphicon glyphicon-remove"></span> Delete
+ </button>
+ </td>
</tr>
{%endfor%}
</table>