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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user