]> git.proxmox.com Git - pve-docs.git/blobdiff - images/pve_network_templates.tt
pvecm: re-add "multiple cluster in same net" section
[pve-docs.git] / images / pve_network_templates.tt
index bf2ef89f0c25613892891a020022df0c69d4dcd1..df442b5c378aea05d441eb5549ae5626ad856aa5 100644 (file)
@@ -3,7 +3,7 @@
   <tr>
     <td fixedsize='TRUE' width='15' height='10'></td>
     [% FOREACH p IN draw_ports %]
-    <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>
+    <td port='[% p %]' fixedsize='TRUE' width='[% p.length*5+5 %]' height='10' BGCOLOR="#666666"><font face='Courier' point-size='8' color='white'>[% p %]</font></td>
     <td fixedsize='TRUE' width='1' height='10'></td>
     [% END %]
     <td fixedsize='TRUE' width='15' height='10'></td>
            [% IF top_ports %]
            <tr><td>[% PROCESS switch_ports draw_ports=top_ports %]</td></tr>
            [% END %]
-           <tr><td><table color='green' BGCOLOR="lightgreen" border='2' cellspacing='2' cellpadding='0' cellborder='0' style='rounded'>        
-              <tr><td width='10'></td><td>[% title %]</td><td width='10'></td></tr>
+           <tr><td><table color='#666666' BGCOLOR="#ABBABA" border='2' cellspacing='2' cellpadding='0' cellborder='0' style='rounded'> 
+              <tr><td width='10'></td><td><font  color='white' face='Helvetica'>[% title %]</font></td><td width='10'></td></tr>
              [% IF subtitle %]
-              <tr><td width='10'></td><td><font face='monospace' point-size='12'>[% subtitle %]</font></td><td width='10'></td></tr>
+              <tr><td width='10'></td><td><font color='white' face='Courier' point-size='12'>[% subtitle %]</font></td><td width='10'></td></tr>
              [% END %]
            </table></td></tr>
            [% IF ports %]
            [% IF top_ports %]
            <tr><td>[% PROCESS switch_ports draw_ports=top_ports %]</td></tr>
            [% END %]
-           <tr><td><table color='#666666' BGCOLOR="#888888" border='2' cellspacing='2' cellpadding='0' cellborder='0'> 
-              <tr><td><font color='white'>[% title %]</font></td></tr>
+           <tr><td><table color='#666666' BGCOLOR="#FF9100" border='2' cellspacing='2' cellpadding='0' cellborder='0'> 
+              <tr><td width='5'></td><td><font face='Helvetica' color='white'>[% title %]</font></td><td width='5'></td></tr>
              [% IF subtitle %]
-              <tr><td><font face='monospace' color='white' point-size='12'>[% subtitle %]</font></td></tr>
+              <tr><td width='5'></td><td><font face='Courier' color='white' point-size='12'>[% subtitle %]</font></td><td width='5'></td></tr>
              [% END %]
            </table></td></tr>
            [% IF ports %]
 
     ]
 [% END %]
+
+[% MACRO interface BLOCK %]
+[% id %] [
+  shape=plaintext
+  label=<
+         <table border='0' cellspacing='0' cellpadding='0' cellborder='0'>
+           <tr><td>[% PROCESS switch_ports draw_ports=ifname %]</td></tr>
+           [% IF cidr %]
+           <tr><td><table color='green' BGCOLOR="lightgreen" border='2' cellspacing='2' cellpadding='0' cellborder='0' style='rounded'>
+              <tr><td width='10'></td><td><font face='Courier' point-size='12'>[% cidr %]</font></td><td width='10'></td></tr>
+           </table></td></tr>
+           [% END %]
+         </table>>
+
+    ]
+[% END %]