Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 403 Bytes
<% local.pieces.header(); %>
<%
function makeDBCol( name ){
return {
name : name ,
view : function( servers ){
return serverNamesToLinks( servers , 28017 , "" );
}
};
}
%>
<% local.pieces.itemList( "db" , "Database Server" , "name" , [ "assignable" , "type" , "mode" ] , [ makeDBCol( "machine" ) , makeDBCol( "pairs" ) , makeDBCol( "slaves" ) ] ) %>
<% local.pieces.footer(); %>