Changelog for invirt-web 0.1.44
[invirt/packages/invirt-web.git] / code / templates / info.mako
index 303dd60..8ceb715 100644 (file)
@@ -20,6 +20,7 @@ Info on ${machine.name}
   % if on:
    % if 'monitoring' in config and len(config.monitoring) and 'baseuri' in config.monitoring[0]:
     <tr><td>CPU history:</td><td><img src="${config.monitoring[0].baseuri}usage.cgi?type=cpu;uuid=${machine.uuid}" alt="Domain CPU usage" /></td></tr>
+    <tr><td>Network history:</td><td><img src="${config.monitoring[0].baseuri}usage.cgi?type=net;uuid=${machine.uuid}" alt="Domain network usage" /></td></tr>
    % endif
   % endif
 </table>
@@ -81,13 +82,6 @@ ${self.fn.errorRow('contact', err)}
 % if not on:
     <tr><td>Machine Name:</td><td><input type="text" name="name" value="${defaults.name}"/>.${config.dns.domains[0]}</td></tr>
 ${self.fn.errorRow('name', err)}
-        <tr>
-          <td>Network Device${self.fn.helppopup('Network Device')}</td>
-          <td>
-         ${self.fn.nicTypeList(defaults.nic)}
-         </td>
-    </tr>
-${self.fn.errorRow('nictype', err)}
     <tr>
       <td>HVM/ParaVM${self.fn.helppopup('HVM/ParaVM')}</td>
       <td>${self.fn.vmTypeList(defaults.type)}</td>