1
0
mirror of https://gitlab.com/Deukhoofd/BattleSim.git synced 2025-10-28 02:00:04 +00:00

Added Team reordering

This commit is contained in:
Deukhoofd
2016-04-13 01:28:59 +02:00
parent 07dc054ca9
commit 06d84a29c6
7 changed files with 218 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
.left.select-team.clickable-box.p1.mt1.ml1.relative(data-id=team.id, data-cid=team.cid)
h2.go-to-team.fake_link= team.getName()
.arrow-up
.arrow-down
!= window.JST['team_small']({team: team, window: window})
.team-meta
span.fake_link.export-team
@@ -13,5 +15,6 @@
span.fake_link.delete-team
span.icon-remove
| Delete
.show_spinner.flex-center.fill.bg-faded-white.rounded.hidden
!= window.JST['spinner']()

View File

@@ -1,5 +1,8 @@
h2 Your teams
.teambuilder_teams.clearfix
each team in teams
if team.isDefault
!= window.JST['teambuilder/team']({team: team, window: window})
each team in teams
!= window.JST['teambuilder/team']({team: team, window: window})
.button.button_blue.add-new-team Add new team