2016-02-01 22:19:30 +00:00
|
|
|
p
|
|
|
|
strong In-battle display name:
|
|
|
|
.alt-input.clearfix.hidden
|
|
|
|
.input-wrapper
|
|
|
|
input(type="text")
|
|
|
|
.buttons-wrapper
|
|
|
|
button.button.add-button Add
|
|
|
|
button.button.cancel-button Cancel
|
|
|
|
.alt-dropdown-section.dropdown
|
|
|
|
.select.select-alt(data-toggle="dropdown")
|
|
|
|
ul.dropdown-menu.alt-dropdown(role = "menu")
|
|
|
|
|
|
|
|
p
|
|
|
|
strong Format:
|
|
|
|
.dropdown
|
|
|
|
.select.select-format(data-toggle = "dropdown")
|
|
|
|
ul.dropdown-menu.format-dropdown(role = "menu")
|
2016-02-04 22:30:39 +00:00
|
|
|
- var allformats = window.PokeBattle.conditions.Formats()
|
|
|
|
each format in allformats
|
|
|
|
li
|
|
|
|
a.select-format-dropdown-item(data-format="#{format.name}") #{format.humanName}
|
2016-02-01 22:19:30 +00:00
|
|
|
|
|
|
|
p
|
|
|
|
strong Select a team:
|
|
|
|
.dropdown
|
|
|
|
.select.select-team.rounded(data-toggle = "dropdown")
|
|
|
|
strong Your team
|
|
|
|
ul.dropdown-menu.team-dropdown(role = "menu")
|
|
|
|
|
2016-02-10 22:43:15 +00:00
|
|
|
if defaultClauses
|
|
|
|
p
|
|
|
|
strong Clauses:
|
|
|
|
ul.challenge_clauses.well
|
|
|
|
for value in window.SelectableConditions
|
|
|
|
- var checked = (defaultClauses.indexOf(value) >= 0)
|
|
|
|
- var clause = window._.invert(window.Conditions)[value]
|
|
|
|
li
|
|
|
|
label
|
|
|
|
input(type = "checkbox", value = value, checked = checked, data-clause = value)
|
|
|
|
| #{window.HumanizedConditions['en'][clause]}
|