2016-02-01 22:19:30 +00:00
|
|
|
h2 Your teams
|
|
|
|
.teambuilder_teams.clearfix
|
2016-04-12 23:28:59 +00:00
|
|
|
each team in teams
|
|
|
|
if team.isDefault
|
|
|
|
!= window.JST['teambuilder/team']({team: team, window: window})
|
2016-02-01 22:19:30 +00:00
|
|
|
each team in teams
|
|
|
|
!= window.JST['teambuilder/team']({team: team, window: window})
|
|
|
|
.button.button_blue.add-new-team Add new team
|
|
|
|
.button.import-team Import
|
2016-02-28 16:06:27 +00:00
|
|
|
|
2016-02-28 20:16:48 +00:00
|
|
|
|
2016-02-28 16:06:27 +00:00
|
|
|
if window.PokeBattle.username == "Deukhoofd" || window.PokeBattle.username == "thesuzerain"
|
2016-02-28 20:16:48 +00:00
|
|
|
div.Team-Admin
|
|
|
|
h5 Admin Commands
|
|
|
|
.button.get-teams Get all teams
|
|
|
|
br
|
2016-04-11 18:01:11 +00:00
|
|
|
| Get Random teams
|
|
|
|
- var allformats = window.PokeBattle.conditions.Formats()
|
|
|
|
.dropdown.random-team-admin
|
|
|
|
.current-format-random-admin.button.dropdown-toggle(data-toggle="dropdown")
|
|
|
|
a#currentselectedrandomadminformat(href="#", data-format="#{allformats[window.DEFAULT_FORMAT].name}") #{allformats[window.DEFAULT_FORMAT].humanName}
|
|
|
|
ul.dropdown-menu(role='menu')
|
|
|
|
for format in allformats
|
|
|
|
li
|
|
|
|
a(href="#", data-format="#{format.name}") #{format.humanName}
|
|
|
|
.button.getrandomteams 1
|
|
|
|
.button.getrandomteams 5
|
|
|
|
.button.getrandomteams 10
|
|
|
|
.button.getrandomteams 25
|