summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/images_and_snapshots/templates/images_and_snapshots/images/_detail_overview.html
blob: e848ac8777a06b4ec37ce407f14f55120163513c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{% load i18n sizeformat %}

<h3>{% trans "Image Overview" %}</h3>

<div class="info row-fluid detail">
  <h4>{% trans "Info" %}</h4>
  <hr class="header_rule">
  <dl>
    <dt>{% trans "Name" %}</dt>
    <dd>{{ image.name|default:_("None") }}</dd>
    {% if image.properties.description %}
      <dt>{% trans "Description" %}</dt>
      <dd>{{ image.properties.description }}</dd>
    {% endif %}
    <dt>{% trans "ID" %}</dt>
    <dd>{{ image.id|default:_("None") }}</dd>
    <dt>{% trans "Status" %}</dt>
    <dd>{{ image.status|default:_("Unknown")|title }}</dd>
    <dt>{% trans "Public" %}</dt>
    <dd>{{ image.is_public }}</dd>
    <dt>{% trans "Protected" %}</dt>
    <dd>{{ image.protected }}</dd>
    <dt>{% trans "Checksum" %}</dt>
    <dd>{{ image.checksum }}</dd>
    <dt>{% trans "Created" %}</dt>
    <dd>{{ image.created_at|default:_("Unknown") }}</dd>
    <dt>{% trans "Updated" %}</dt>
    <dd>{{ image.updated_at|default:_("Never updated") }}</dd>
  </dl>
</div>

<div class="specs row-fluid detail">
  <h4>{% trans "Specs" %}</h4>
  <hr class="header_rule">
  <dl>
    <dt>{% trans "Size" %}</dt>
    <dd>{{ image.size|filesizeformat }}</dd>
    <dt>{% trans "Container Format" %}</dt>
    <dd>{{ image.container_format|default:_("None")|upper }}</dd>
    <dt>{% trans "Disk Format" %}</dt>
    <dd>{{ image.disk_format|default:_("None")|upper }}</dd>
    {% if image.min_disk %}
      <dt>{% trans "Min Disk" %}</dt>
      <dd>{{ image.min_disk|diskgbformat }}</dd>
    {% endif %}
    {% if image.min_ram %}
      <dt>{% trans "Min RAM" %}</dt>
      <dd>{{ image.min_ram|mbformat }}</dd>
    {% endif %}
  </dl>
</div>

<div class="properties row-fluid detail">
  <h4>{% trans "Custom Properties" %}</h4>
  <hr class="header_rule">
  <dl>
    {% if image.properties.architecture %}
      <dt>{% trans "Architecture" %}</dt>
      <dd>{{ image.properties.architecture }}</dd>
    {% endif %}
    {% if image.properties.kernel_id %}
      <dt>{% trans "Kernel ID" %}</dt>
      <dd>{{ image.properties.kernel_id }}</dd>
    {% endif %}
    {% if image.properties.ramdisk_id %}
      <dt>{% trans "Ramdisk ID" %}</dt>
      <dd>{{ image.properties.ramdisk_id }}</dd>
    {% endif %}
    {% if image.properties.image_state %}
      <dt>{% trans "Euca2ools state" %}</dt>
      <dd>{{ image.properties.image_state }}</dd>
    {% endif %}
    {% if image.properties.project_id %}
      <dt>{% trans "Project ID" %}</dt>
      <dd>{{ image.properties.project_id }}</dd>
    {% endif %}
    {% if image.properties.image_type %}
      <dt>{% trans "Image Type" %}</dt>
      <dd>{{ image.properties.image_type }}</dd>
    {% endif %}
  </dl>
</div>