~ubuntu-branches/ubuntu/precise/maas/precise

« 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, Dave Walker (Daviey), Andres Rodriguez, Scott Moser
  • Date: 2012-03-22 10:56:58 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120322105658-cc42wllftxl8qpxm
Tags: 0.1+bzr338+dfsg-0ubuntu1
[ Dave Walker (Daviey) ]
* d/patches/03-txlongpoll-config.patch: Resolve typo error from prior patch.
  - LP: #961031

[ Andres Rodriguez ]
* debian/maas.config: Don't allow reconfigure.
* debian/maas.postinst: Don't allow reconfigure. Run sync/migrate db on
  all upgrades.

[ Scott Moser ]
* add rsylog config for logging node boots (LP: 960149)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "maasserver/base.html" %}
 
2
 
 
3
{% block nav-active-settings %}active{% endblock %}
 
4
{% block title %}Node: {{ node.hostname }}{% endblock %}
 
5
{% block page-title %}Node: {{ node.hostname }}{% endblock %}
 
6
{% block layout-modifiers %}sidebar{% endblock %}
 
7
 
 
8
{% block sidebar %}
 
9
  <div class="block size3">
 
10
    {% if can_edit %}
 
11
      <h4>Node details</h4>
 
12
      <a href="{% url 'node-edit' node.id %}" class="button secondary">
 
13
        Edit node
 
14
      </a>
 
15
    {% endif%}
 
16
  </div>
 
17
{% endblock %}
 
18
 
 
19
{% block content %}
 
20
  <ul class="data-list">
 
21
    <li class="block size2 first">
 
22
      <h4>Hostname</h4>
 
23
      <span>{{ node.hostname }}</span>
 
24
    </li>
 
25
    <li class="block size3">
 
26
      <h4>MAC addresses</h4>
 
27
      <span>
 
28
          {% for mac in node.macaddress_set.all %}
 
29
          {{ mac }}{% if not forloop.last %}, {% endif %}
 
30
          {% endfor %}
 
31
      </span>
 
32
    </li>
 
33
    <li class="block size3">
 
34
      <h4>Status</h4>
 
35
      <span>
 
36
          {{ node.display_status }}
 
37
      </span>
 
38
    </li>
 
39
  </ul>
 
40
{% endblock %}
 
41