|
|
@ -25,44 +25,46 @@
|
|
|
|
<th>{%!list-column-ram}</th>
|
|
|
|
<th>{%!list-column-ram}</th>
|
|
|
|
<th>{%!list-column-template}</th>
|
|
|
|
<th>{%!list-column-template}</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
{%foreach container in containers}
|
|
|
|
{%if isset|containers == true}
|
|
|
|
<tr class="clickable" data-url="/{%?container[id]}/">
|
|
|
|
{%foreach container in containers}
|
|
|
|
<td class="container-status">
|
|
|
|
<tr class="clickable" data-url="/{%?container[id]}/">
|
|
|
|
{%if container[status] == running}
|
|
|
|
<td class="container-status">
|
|
|
|
<img src="/images/icon_online.png" alt="{%!list-status-running}">
|
|
|
|
{%if container[status] == running}
|
|
|
|
{%/if}{%if container[status] == stopped}
|
|
|
|
<img src="/images/icon_online.png" alt="{%!list-status-running}">
|
|
|
|
<img src="/images/icon_offline.png" alt="{%!list-status-stopped}">
|
|
|
|
{%/if}{%if container[status] == stopped}
|
|
|
|
{%/if}{%if container[status] == suspended}
|
|
|
|
<img src="/images/icon_offline.png" alt="{%!list-status-stopped}">
|
|
|
|
<img src="/images/icon_suspended.png" alt="{%!list-status-suspended}">
|
|
|
|
{%/if}{%if container[status] == suspended}
|
|
|
|
{%/if}
|
|
|
|
<img src="/images/icon_suspended.png" alt="{%!list-status-suspended}">
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<a href="/{%?container[id]}/">
|
|
|
|
|
|
|
|
{%?container[hostname]}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<a href="/{%?container[id]}/">
|
|
|
|
|
|
|
|
{%if container[virtualization-type] == 1}
|
|
|
|
|
|
|
|
OpenVZ
|
|
|
|
|
|
|
|
{%/if}{%if container[virtualization-type] == 2}
|
|
|
|
|
|
|
|
Xen PV
|
|
|
|
|
|
|
|
{%/if}{%if container[virtualization-type] == 3}
|
|
|
|
|
|
|
|
Xen HVM
|
|
|
|
|
|
|
|
{%/if}{%if container[virtualization-type] == 4}
|
|
|
|
|
|
|
|
KVM
|
|
|
|
|
|
|
|
{%/if}
|
|
|
|
{%/if}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
<a href="/{%?container[id]}/">
|
|
|
|
{%?container[diskspace]}
|
|
|
|
{%?container[hostname]}
|
|
|
|
<span class="unit">{%?container[diskspace-unit]}</span>
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<td>
|
|
|
|
{%?container[guaranteed-ram]}
|
|
|
|
<a href="/{%?container[id]}/">
|
|
|
|
<span class="unit">{%?container[guaranteed-ram-unit]}</span>
|
|
|
|
{%if container[virtualization-type] == 1}
|
|
|
|
</td>
|
|
|
|
OpenVZ
|
|
|
|
<td>{%?container[template]}</td>
|
|
|
|
{%/if}{%if container[virtualization-type] == 2}
|
|
|
|
</tr>
|
|
|
|
Xen PV
|
|
|
|
{%/foreach}
|
|
|
|
{%/if}{%if container[virtualization-type] == 3}
|
|
|
|
|
|
|
|
Xen HVM
|
|
|
|
|
|
|
|
{%/if}{%if container[virtualization-type] == 4}
|
|
|
|
|
|
|
|
KVM
|
|
|
|
|
|
|
|
{%/if}
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
{%?container[diskspace]}
|
|
|
|
|
|
|
|
<span class="unit">{%?container[diskspace-unit]}</span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
{%?container[guaranteed-ram]}
|
|
|
|
|
|
|
|
<span class="unit">{%?container[guaranteed-ram-unit]}</span>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td>{%?container[template]}</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
{%/foreach}
|
|
|
|
|
|
|
|
{%/if}
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
|