~hudson-openstack/horizon/trunk

« back to all changes in this revision

Viewing changes to django-nova/src/django_nova/templates/django_nova/instances/edit.html

  • Committer: Tarmac
  • Author(s): Devin Carlen
  • Date: 2011-05-23 07:52:48 UTC
  • mfrom: (46.2.14 refactor-submodules)
  • Revision ID: tarmac-20110523075248-vvg3lqk8blq8w2ei
Refactored django-nova into django-openstack.  This will allow additional OpenStack modules to be supported.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% extends "django_nova/instances/base.html" %}
2
 
 
3
 
{% block title %} - Cloud Computing{% endblock %}
4
 
 
5
 
{% block headerjs %}
6
 
<script type="text/javascript" src="{{ COMMON_MEDIA_PREFIX }}js/jquery.form.js"></script>
7
 
{% endblock %}
8
 
 
9
 
{% block content %}
10
 
<div id="right_content">
11
 
  <div id="page_head">
12
 
    <h2 id="page_heading">Edit Instance</h2>
13
 
    <p id="page_description">From this page you can give your instance an alias, so you don't have to remember its unique id.</p>
14
 
  </div>
15
 
 
16
 
  <div class="dash_block first">
17
 
    <h3 class="image_id">Edit Instance: {{ instance.id }}</h3>
18
 
 
19
 
    <form class="edit_instance" id="rename_{{ selected_instance.id }}" action="{% url nova_instance_update project.projectname instance.id %}" method="post">
20
 
      <fieldset>
21
 
        {% csrf_token %}
22
 
        {% for field in update_form %}
23
 
 
24
 
          {{ field.label_tag }}
25
 
          {% if field.errors %}{{ field.errors }}{% endif %}
26
 
          {{ field }}
27
 
        {% endfor %}
28
 
        <input type="submit" value="Update Instance" />
29
 
      </fieldset>
30
 
    </form>
31
 
  </div>
32
 
</div>
33
 
 
34
 
{% endblock %}