resources.html 931 Bytes
Newer Older
1 2 3
{% load i18n %}
  {% csrf_token %}

4
  <dl class="dl-horizontal">
5
    <dt>{% trans "Node name" %}:</dt><dd>{{ node.name }}</dd>
6 7 8
    <dt>{% trans "CPU cores" %}:</dt><dd>{{ node.info.core_num }}</dd>
    <dt>{% trans "RAM size" %}:</dt> <dd>{% widthratio node.info.ram_size 1048576 1 %} MB</dd>
    <dt>{% trans "Architecture" %}:</dt><dd>{{ node.info.architecture }}</dd>
9 10 11 12 13 14 15
    <dt>{% trans "Host IP" %}:</dt><dd>{{ node.host.ipv4 }}</dd>
    <dt>{% trans "Enabled" %}:</dt><dd>{{ node.enabled }}</dd>
    <dt>{% trans "Host online" %}:</dt><dd> {{ node.online }}</dd>
    <dt>{% trans "Priority" %}:</dt><dd>{{ node.priority }}</dd>
    <dt>{% trans "Host owner" %}:</dt><dd>{{ node.host.owner }}</dd>
    <dt>{% trans "Vlan" %}:</dt><dd>{{ node.host.vlan }}</dd>
    <dt>{% trans "Host name" %}:</dt><dd>{{ node.host.hostname }}</dd>
16 17
    </dl>

18 19 20 21 22
{% block extra_js %}
  <style>
    label {padding-top: 6px;}
  </style>
{% endblock %}