1 [% BLOCK switch_ports %]
2 <table border='0' cellspacing='0' cellpadding='0' cellborder='0'>
4 <td fixedsize='TRUE' width='15' height='10'></td>
5 [% FOREACH p IN draw_ports %]
6 <td port='[% p %]' fixedsize='TRUE' width='[% p.length*5+5 %]' height='10' BGCOLOR="#666666"><font face='monospace' point-size='8' color='white'>[% p %]</font></td>
7 <td fixedsize='TRUE' width='1' height='10'></td>
9 <td fixedsize='TRUE' width='15' height='10'></td>
14 [% MACRO switch BLOCK %]
18 <table border='0' cellspacing='0' cellpadding='0' cellborder='0'>
20 <tr><td>[% PROCESS switch_ports draw_ports=top_ports %]</td></tr>
22 <tr><td><table color='green' BGCOLOR="lightgreen" border='2' cellspacing='2' cellpadding='0' cellborder='0' style='rounded'>
23 <tr><td width='10'></td><td>[% title %]</td><td width='10'></td></tr>
25 <tr><td width='10'></td><td><font face='monospace' point-size='12'>[% subtitle %]</font></td><td width='10'></td></tr>
29 <tr><td>[% PROCESS switch_ports draw_ports=ports %]</td></tr>
36 [% MACRO server BLOCK %]
40 <table border='0' cellspacing='0' cellpadding='0' cellborder='0'>
42 <tr><td>[% PROCESS switch_ports draw_ports=top_ports %]</td></tr>
44 <tr><td><table color='#666666' BGCOLOR="#888888" border='2' cellspacing='2' cellpadding='0' cellborder='0'>
45 <tr><td><font color='white'>[% title %]</font></td></tr>
47 <tr><td><font face='monospace' color='white' point-size='12'>[% subtitle %]</font></td></tr>
51 <tr><td>[% PROCESS switch_ports draw_ports=ports %]</td></tr>
58 [% MACRO interface BLOCK %]
62 <table border='0' cellspacing='0' cellpadding='0' cellborder='0'>
63 <tr><td>[% PROCESS switch_ports draw_ports=ifname %]</td></tr>
65 <tr><td><table color='green' BGCOLOR="lightgreen" border='2' cellspacing='2' cellpadding='0' cellborder='0' style='rounded'>
66 <tr><td width='10'></td><td><font face='monospace' point-size='12'>[% cidr %]</font></td><td width='10'></td></tr>