horizon/django-openstack/django_openstack/templates/django_openstack/dash/keypairs/create.html

43 lines
1.4 KiB
HTML

{% extends 'django_openstack/dash/base.html' %}
{% block sidebar %}
{% with current_sidebar="keypairs" %}
{{block.super}}
{% endwith %}
{% endblock %}
{% block headerjs %}
<script type="text/javascript" charset="utf-8">
$(function(){
$(".dash_block .left h3").hide()
$("form input[type='submit']").click(function(e){
$("form").hide("fast")
$(".dash_block h3").show("fast")
})
})
</script>
{% endblock %}
{% block page_header %}
{# to make searchable false, just remove it from the include statement #}
{% include "django_openstack/common/_page_header.html" with title="Create Keypair" %}
{% endblock page_header %}
{% block dash_main %}
<div class="dash_block">
<div class="left">
<h3>Your private key is being downloaded.</h3>
{% include 'django_openstack/dash/keypairs/_form.html' with form=create_form %}
<h3><a href="{% url dash_keypairs request.user.tenant %}"><< Return to keypairs list</a></h3>
</div>
<div class="right">
<h3>Description:</h3>
<p>Keypairs are ssh credentials which are injected into images when they are launched. Creating a new key pair registers the public key and downloads the private key (a .pem file).</p>
<p>Protect and use the key as you would any normal ssh private key.</p>
</div>
<div class="clear">&nbsp;</div>
</div>
{% endblock %}