43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
extends master.pug
|
|
|
|
block tab-content
|
|
div.table-responsive
|
|
table.table.table-sm.table-borderless.table-hover.table-striped
|
|
thead: tr
|
|
+sortHeader('Name')
|
|
+sortHeader('Defense')
|
|
+sortHeader('Cost')
|
|
+sortHeader('Fire')
|
|
+sortHeader('Ice')
|
|
+sortHeader('Thunder')
|
|
+sortHeader('Vacuum')
|
|
+sortHeader('Debuff')
|
|
th.align-middle Users
|
|
th.align-middle Locations
|
|
tbody: each item in armor
|
|
tr(
|
|
data-name=item.name
|
|
data-defense=item.defense
|
|
data-cost=item.cost
|
|
data-res-fire=item.resistance.fire
|
|
data-res-ice=item.resistance.ice
|
|
data-res-thunder=item.resistance.thunder
|
|
data-res-vacuum=item.resistance.vacuum
|
|
data-res-debuff=item.resistance.debuff
|
|
)
|
|
td: strong= item.name
|
|
td.text-right: code= item.defense
|
|
td.text-right: code= item.cost.toLocaleString()
|
|
td.text-right: code= item.resistance.fire
|
|
td.text-right: code= item.resistance.ice
|
|
td.text-right: code= item.resistance.thunder
|
|
td.text-right: code= item.resistance.vacuum
|
|
td.text-right: code= item.resistance.debuff
|
|
td: ul.list-horizontal
|
|
each char in item.users
|
|
li= char
|
|
td: ul.list-horizontal
|
|
each location in item.locations
|
|
li= location
|
|
|