~ubuntu-branches/ubuntu/raring/maas/raring-security

« back to all changes in this revision

Viewing changes to src/maasserver/templates/maasserver/node_view.html

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2012-04-03 14:50:34 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120403145034-zpoykvh2wetqp2lz
Tags: 0.1+bzr400+dfsg-0ubuntu1
* debian/patches/{02-pserv-config,03-txlongpoll-config}.patch: Refreshed.
* debian/maas.install: Install maas-gc cronjob.
* Add apport hook.
  - debian/maas.apport: Add hook.
  - debian/rules: Install with apport.
* debian/maas.logrotate: Add logrotate for txlongpoll and pserv logs.
* Create 'var/lib/media/maas/storage' on postinst to have right permissions.
  - debian/maas.dirs: Drop dir creation.
  - debian/maas.postinst: Create dir with correct permissions.
  - debian/maas.postrm: Remove dir on purge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
{% block layout-modifiers %}sidebar{% endblock %}
7
7
 
8
8
{% block sidebar %}
9
 
  <div class="block size3">
10
 
    {% if can_edit %}
 
9
  {% if can_edit %}
 
10
    <div class="block size3">
11
11
      <h4>Node details</h4>
12
 
      <a href="{% url 'node-edit' node.id %}" class="button secondary">
 
12
      <a href="{% url 'node-edit' node.system_id %}" class="button secondary">
13
13
        Edit node
14
14
      </a>
15
 
    {% endif%}
16
 
  </div>
 
15
    </div>
 
16
  {% endif %}
 
17
  {% if form.transition_buttons or can_delete %}
 
18
    <div class="block size3">
 
19
    <h4>Actions</h4>
 
20
    {% if can_delete %}
 
21
      <a href="{% url 'node-delete' node.system_id %}" class="button secondary">
 
22
        Delete node
 
23
      </a>
 
24
    {% endif %}
 
25
    {% for transition in form.transition_buttons %}
 
26
      {% if forloop.first %}
 
27
        <form id="node_actions" method="post" action=".">
 
28
      {% endif %}
 
29
      <input class="secondary {% if not forloop.first or can_delete %}space-top{% endif %}"
 
30
             type="submit"
 
31
             name="{{ form.input_name }}"
 
32
             value="{{ transition.display }}" />
 
33
      {% if forloop.last %}</form>{% endif %}
 
34
    {% endfor %}
 
35
    </div>
 
36
  {% endif %}
17
37
{% endblock %}
18
38
 
19
39
{% block content %}