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

« back to all changes in this revision

Viewing changes to horizon/horizon/dashboards/nova/templates/nova/access_and_security/keypairs/_list.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-16 16:34:56 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20111216163456-ts9ldy8skhsg0scb
Tags: 2012.1~e2-0ubuntu1
* New upstream release (LP: #904039)
* debian/control: Update build-depends.
* debian/watch: Fix to fetch from Launchpad ad well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% load i18n %}
 
2
 
 
3
<div class="table_title">
 
4
  <h3>{% trans "Keypairs" %}</h3>
 
5
 
 
6
  <div class="table_actions">
 
7
    <a id="keypairs_import_link" class="btn primary small ajax-modal" data-controls-modal="import_keypair_modal" data-backdrop="static" href="{% url horizon:nova:access_and_security:keypairs:import %}">{% trans "Import Keypair"%}</a>
 
8
    <a id="keypairs_create_link" class="btn small ajax-modal" data-controls-modal="create_keypair_modal" data-backdrop="static" href="{% url horizon:nova:access_and_security:keypairs:create %}">{% trans "Create New Keypair"%}</a>
 
9
 
 
10
    <div class="keypairs table_search">
 
11
      <form action="#">
 
12
        <input class="span3" type="text">
 
13
      </form>
 
14
    </div>
 
15
    <a class="inspect" href="#">{% trans "inspect" %}</a>
 
16
  </div>
 
17
 
 
18
</div>
 
19
<table id="keypairs" class="zebra-striped sortable">
 
20
  <thead>
 
21
    <tr>
 
22
      <th>{% trans "Name"%}</th>
 
23
      <th>{% trans "Fingerprint"%}</th>
 
24
      <th>{% trans "Actions"%}</th>
 
25
    </tr>
 
26
  </thead>
 
27
  <tbody>
 
28
    {% for keypair in keypairs %}
 
29
    <tr class="{% cycle 'odd' 'even' %}">
 
30
      <td>{{ keypair.name }}</td>
 
31
      <td>{{ keypair.fingerprint }}</td>
 
32
      <td id="actions" class="single">
 
33
        <ul>
 
34
          <li class="form">{% include "nova/access_and_security/keypairs/_delete.html" with form=keypair_delete_form %}</li>
 
35
        </ul>
 
36
      </td>
 
37
    </tr>
 
38
    {% endfor %}
 
39
  </tbody>
 
40
</table>