BattleSim/client/views/teambuilder/pokemon.jade

95 lines
2.7 KiB
Plaintext
Raw Normal View History

2016-02-01 22:19:30 +00:00
mixin printStat(statName, keyName)
tr
td.stat-label
strong #{statName}:
td.ev-range-cell
input(type="range", min="0", max="252", step="4", data-stat=keyName).ev-entry
td.ev-cell
input(type="text", data-stat=keyName).ev-entry
td.iv-cell
input(type="text", data-stat=keyName).iv-entry
td.base-stat(data-stat=keyName)
td.stat-total(data-stat=keyName)
.meta-info.clearfix
.left-side
.species
select.sortSpecies
option=""
option="Sort by Dexnumber"
option="Invert by Dexnumber"
option="Sort Alphabetically"
option="Invert Alphabetically"
select.species_list
option
each species in speciesList
option(value=species)= species
.species-info
.non-stats
.teambuilder_row.format_row
.teambuilder_col.non-stat.label.formatname
2016-02-01 22:19:30 +00:00
.teambuilder_col
span.individual-format
2016-02-01 22:19:30 +00:00
.right
span.total-format
2016-02-01 22:19:30 +00:00
/
span.max-format
2016-02-01 22:19:30 +00:00
.teambuilder_row
.teambuilder_col.non-stat-label Nickname:
.teambuilder_col
input.selected_nickname(type="text")
.teambuilder_row
.teambuilder_col.non-stat-label Ability:
.teambuilder_col
select.selected_ability
.teambuilder_row
.teambuilder_col.non-stat-label Nature:
.teambuilder_col
select.selected_nature
.teambuilder_row
.teambuilder_col.non-stat-label Item:
.teambuilder_col
select.selected_item
option(value="")
each itemName in itemList
option(value=itemName)= itemName
.teambuilder_row
.teambuilder_col.non-stat-label Gender:
.teambuilder_col
select.selected_gender
.teambuilder_row
.teambuilder_col.non-stat-label Level:
.teambuilder_col
input.selected_level(type="text")
.right-side
table.stats
thead
th
th.ev-range-cell
th.ev-cell EV
th.iv-cell IV
th Base
th Stat
tbody
+printStat("HP", "hp")
+printStat("Attack", "attack")
+printStat("Defense", "defense")
+printStat("Sp. Attack", "specialAttack")
+printStat("Sp. Defense", "specialDefense")
+printStat("Speed", "speed")
tr
td
td(colspan="5")
.remaining-evs
| Remaining EVs:
span.remaining-evs-amount
.hidden-power
| Hidden Power:
select.select-hidden-power
each value, type in window.HiddenPower.BW.ivs
- var displayType = type[0].toUpperCase() + type.substr(1)
option(value=type)= displayType
.moves-section.clearfix