<% if (window.HASHWINFO) { %> Hardware Details <% } %>

Type info for <%- window.TYPE %>

<% if (isadmin) { %> <% if (window.ISEMULAB) { %> <% if (window.EDITING) { %> Classic <% } else { %> Classic <% } %> <% } %> <% if (!window.EDITING) { %> Edit <% } %> <% } %>

Type

<% if (window.ISADMIN) { %> <% } %>
Type <%- fields.type %>
Class <% if (window.EDITING) { %> <% } %> <% if (window.EDITING) { %>
<% } else { %> <%- fields.class %> <% } %>
Architecture <% if (window.EDITING) { %> <% } %> <% if (window.EDITING) { %>
<% } else { %> <%- fields.architecture %> <% } %>
isvirtnode <%- (fields.isvirtnode == "0" ? "No" : "Yes") %>
isdynamic <%- (fields.isdynamic == "0" ? "No" : "Yes") %>
isremotenode <%- (fields.isremotenode == "0" ? "No" : "Yes") %>
issubnode <%- (fields.issubnode == "0" ? "No" : "Yes") %>
isswitch <%- (fields.isswitch == "0" ? "No" : "Yes") %>
<% if (_.size(fields.features) || window.EDITING) { %>
<% if (window.EDITING) { %> <% } %>

Features

<% _.each(fields.features, function(value, name) { %> <% if (window.EDITING) { %> <% } %> <% }); %>
<%- name %> <% if (window.EDITING) { %> <% } %> <% if (window.EDITING) { %> <% } else { %> <%- value %> <% } %>
<% } %> <% if (_.size(fields.osinfo)) { %>
<% if (window.EDITING) { %> <% } %>

Images and OSIDs

<% _.each(fields.osinfo, function(info, name) { %> <% if (window.EDITING) { %> <% } %> <% }); %>
<%- name %> <% if (window.EDITING) { %> <% } %> <% if (!window.EDITING) { %> <% if (window.ISGUEST) { %> <%- info.name %> <% } else { %> <%- info.name %> <% } %> <% } else { %> <% var ilist; if (info.type == "image") { ilist = imagelist; } else if (info.mfs) { ilist = mfslist; } else { ilist = oslist; } %> <% } %>
<% } %>
<% if (window.EDITING) { %> <% } %>

Attributes

<% _.each(fields.attributes, function(value, name) { %> <% if (!window.ISADMIN && !(name == "processor" || name == "dom0mem" || name.startsWith("hw_"))) { return; } %> <% if (typeof(value) !== "object") { %> <% if (window.EDITING) { %> <% } %> <% } %> <% }); %>
<%- name %> <% if (window.EDITING) { %> <% } %> <% if (window.EDITING) { %> <% } else { %> <%- value %> <% } %>
<% if (! window.EDITING) { %>

Node List

<% if (!window.ISADMIN) { %>
<% _.each(nodelist, function(blob) { %> <% }); %>
<% } else { %> <% _.each(nodelist, function(blob) { %> <% }); %>
Node Pid Eid User Expires Image
<%- blob.node_id %> <%- blob.pid %> <%- blob.eid %> <%- blob.uid %> <%- blob.expires %> <% if (blob.def_boot_image_url) { %> <%- blob.def_boot_image_name + ":" + blob.def_boot_image_vers %> <% } %>
<% } %>
<% } %>