4133cb9337e09c88c34fa517f74157eac1a14232
[myslice.git] / portal / templates / cloudlab.html
1 {% extends "layout_wide.html" %}
2 {% block content %}
3 <h1>Your name is : {{username}}</h1>
4
5 <script src="/static/geni-auth.js"></script>
6 <script type="text/plain" id="certificate">
7 {{key}}
8 {{cert}}
9 </script>
10 <script>
11   function sendCertificate()
12   {
13     var script = document.getElementById('certificate');
14     genilib.sendCertificate(script.innerHTML);
15   }
16 </script>
17
18 <center>
19   <h2><br>
20   A tool has requested your private certificate.
21   </h2>
22   <p>If you accept, the tool will be able to act on your behalf. Click confirm below if you wish to proceed or close this window to cancel.
23   </p>
24
25   <form onsubmit="sendCertificate(); return false;" >
26     <b><input type=submit name=confirmed value=Confirm></b>
27 <!--    <b><input type=submit name=canceled value=Cancel></b> -->
28   </form>
29
30
31
32 {% endblock %}
33