Replace use of InventoryTableController

The `InventoryTableController` had been split off from the existing
`InventoryController` some time ago, but was never properly factored
not to share common code. This change elimiates it altogether in
favor of the newly re-vamped `InventoryController` which is now
flexible enough to be used in both places.
This commit is contained in:
Andrew Miner
2015-04-20 11:10:42 -07:00
parent 87a6664728
commit 01a137cdc6
6 changed files with 11 additions and 289 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
.input
h3 Ingredients
.view__inventory_table
.view__inventory
.pattern
table.view__crafting_grid
@@ -17,4 +17,4 @@
.output
h3 Produces
.view__inventory_table
.view__inventory
-16
View File
@@ -1,16 +0,0 @@
//-
//- Crafting Guide - inventory_table.jade
//-
//- Copyright (c) 2014-2015 by Redwood Labs
//- All rights reserved.
//-
.view__inventory_table
table
tr.edit.hideable.hidden
td.quantity: input(name="quantity")
td.icon: img(src="/images/unknown.png")
td.name(width="*"): input(name="name")
td.action: button(name="add") add
.toolbar.hideable.hidden
button(name="clear") clear