From b30e8a9eb34c08899c6b8f417fdbd18bd1641b3c Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 6 May 2012 21:23:18 +0200 Subject: [PATCH] Represent VPS status as image --- frontend/images/icon_offline.png | Bin 0 -> 294 bytes frontend/images/icon_online.png | Bin 0 -> 298 bytes frontend/images/icon_suspended.png | Bin 0 -> 294 bytes frontend/templates/list.tpl | 22 ++++++++++------------ 4 files changed, 10 insertions(+), 12 deletions(-) create mode 100644 frontend/images/icon_offline.png create mode 100644 frontend/images/icon_online.png create mode 100644 frontend/images/icon_suspended.png diff --git a/frontend/images/icon_offline.png b/frontend/images/icon_offline.png new file mode 100644 index 0000000000000000000000000000000000000000..236cb950aea94b1067a5e78a86275d4190e1be22 GIT binary patch literal 294 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0XB zj({-ZRBb+KpdfpRr>`sf9ac7B5k}^$m`y+-$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj z33p&54EiS*n ztI{$_Y?jG4b(NF{_HFzhrVG7beaE!>z^muAoq?P>_hv|UH+0!*CEjWHcvdnom#bAR zPr5?nUeSdQEIV9|?o?W4dHo>QmevMe=jml1rY1G4{;*T#KnTMb?gPuSxX+mFanNgi j&ED~~y6($V|BH-wd5w-g{JP>G(0L4=u6{1-oD!M`sf9ac7BVHO)lyI(*d$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj z37Fi*Ar_~PPTI)ZV!-2ipV8WYb32Q!ZBtWQ<)sTLjJI?cCoA0L zP`JpF;`o5W>Cn>8|GWRDR_wN0mv*O(Gl1Fh12fNpwwzb~jD^x}4$LC#@>vU{Hf6?0 zU34o*bK5g@H|LuhcaL7(f7+@sgTe~DWM4fH>70I literal 0 HcmV?d00001 diff --git a/frontend/images/icon_suspended.png b/frontend/images/icon_suspended.png new file mode 100644 index 0000000000000000000000000000000000000000..be97c143418b268a108eb80e076696984b3a8f56 GIT binary patch literal 294 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|I14-?iy0XB zj({-ZRBb+KpdfpRr>`sf9ac7BQSF1LmZ$=SBuiW)N}Tg^b5rw57@Uhz6H8K46v{J8 zG8EiBeFMT9`NV;WCVRR#hFF|FI_V&9vjLB5yrA}0Z-w&>4-T|e7CoG#xJHL@wE+{m z-oi}^OP8!_=|A^h|J(G3@2Zx}Qu@SFwSX;6fx$0yd2mC=lmiSV@^)VwmajT}O{2WY z*!bC6TOWbra{BB3-MXgfv-$jqcWbvcXfX#YWw4*h+QJj>!5G7KK$gKUwEp0mw~lX( kU+i + Hostname Platform Node Disk space RAM Template - Status <%foreach container in containers> + + <%if container[status] == running> + Running + <%/if><%if container[status] == stopped> + Stopped + <%/if><%if container[status] == suspended> + Suspended + <%/if> + <%?container[hostname]> <%if container[virtualization-type] == 1> @@ -26,17 +35,6 @@ <%?container[diskspace]> <%?container[guaranteed-ram]> <%?container[template]> - - <%if container[status] == running> - Running - <%/if><%if container[status] == stopped> - Stopped - <%/if><%if container[status] == suspended> - Suspended - <%/if><%if container[status] == unknown> - Unknown - <%/if> - <%/foreach>