add weapon tree compare tool

This commit is contained in:
Bryce Allen
2015-05-19 13:31:34 -05:00
parent e98f73f153
commit a62f60195e
5 changed files with 277 additions and 8 deletions

View File

@@ -0,0 +1,23 @@
<fieldset>
<legend title="<%= path_string %>"
><%= path[0]["name"] %> (<%= path.length %>)</legend>
<table>
<tr>
<td colspan="2"><%= zenny %>z</td>
</tr>
<% for(var i=0; i<all_components.length; i++) { %>
<tr>
<% if (all_components[i] in components) { %>
<td class="<%= delta[all_components[i]] < 0 ? 'plus' :
delta[all_components[i]] > 0 ? 'minus' :
'neutral' %>"
><%= all_components[i] %></td>
<td class="num"><%= components[all_components[i]] %></td>
<% } else { %>
<td>&nbsp;</td>
<td>&nbsp;</td>
<% } %>
</tr>
<% } %>
</table>
</fieldset>