~ubuntu-branches/ubuntu/precise/horizon/precise-updates

« back to all changes in this revision

Viewing changes to horizon/horizon/dashboards/nova/templates/nova/keypairs/_import.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-09 16:18:55 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111209161855-nguyenpghx2o2lqy
Tags: 2012.1~e2~20111209.1104-0ubuntu1
* New upstream release.
* Refreshed patches.
* debian/docs: Removed README

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends 'nova/keypairs/_form.html' %}
 
1
{% extends "horizon/common/_modal_form.html" %}
2
2
{% load i18n %}
3
3
 
 
4
{% block form_id %}import_keypair_form{% endblock %}
4
5
{% block form_action %}{% url horizon:nova:keypairs:import %}{% endblock %}
5
6
 
 
7
{% block modal-header %}{% trans "Import Keypair" %}{% endblock %}
 
8
 
 
9
{% block modal-body %}
 
10
<div class="left">
 
11
    <fieldset>
 
12
    {% include "horizon/common/_form_fields.html" %}
 
13
    </fieldset>
 
14
</div>
 
15
<div class="right">
 
16
    <h3>{% trans "Description"%}:</h3>
 
17
    <p>{% trans "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>
 
18
    <p>{% trans "Protect and use the key as you would any normal ssh private key."%}</p>
 
19
</div>
 
20
{% endblock %}
 
21
 
6
22
{% block modal-footer %}
7
 
<div class="modal-footer">
8
 
  <input class="btn primary pull-right" type="submit" value="{%trans "Import Keypair"%}" />
9
 
  <a href="#" class="btn secondary cancel close">Cancel</a>
10
 
</div>
 
23
  <input class="btn primary pull-right" type="submit" value="{% trans "Import Keypair" %}" />
 
24
  <a href="{% url horizon:nova:keypairs:index %}" class="btn secondary cancel close">Cancel</a>
11
25
{% endblock %}