parent
dd45acd446
commit
22560d9c85
@ -1,23 +1,14 @@
|
||||
<h3>My Inventory</h3>
|
||||
|
||||
<div class="inventory-items">
|
||||
<InventoryItem Index="0" />
|
||||
<InventoryItem Index="1" />
|
||||
<InventoryItem Index="2" />
|
||||
<InventoryItem Index="3" />
|
||||
<InventoryItem Index="4" />
|
||||
<InventoryItem Index="5" />
|
||||
<InventoryItem Index="6" />
|
||||
<InventoryItem Index="7" />
|
||||
<InventoryItem Index="8" />
|
||||
<InventoryItem Index="9" />
|
||||
<InventoryItem Index="10" />
|
||||
<InventoryItem Index="11" />
|
||||
<InventoryItem Index="12" />
|
||||
<InventoryItem Index="13" />
|
||||
<InventoryItem Index="14" />
|
||||
<InventoryItem Index="15" />
|
||||
<InventoryItem Index="16" />
|
||||
<InventoryItem Index="17" />
|
||||
@foreach (var item in ItemsInventory)
|
||||
{
|
||||
<InventoryItem Index="@index" Item="item" />
|
||||
index++;
|
||||
}
|
||||
@for (int i = @index; i<18; i++)
|
||||
{
|
||||
<InventoryItem Index="i" />
|
||||
}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in new issue