<divclass="container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"*ngFor="let tasks of role.tasks, let i = index"[style.z-index]="role.tasks.length+i">
<divclass="container-scenario-main-missions-mission-roles-role-tasks-inlineTasks"*ngFor="let tasks of role.tasks, let i = index"[style.z-index]="role.tasks.length+i">
<div*ngFor="let task of tasks, let j = index"[style.z-index]="tasks.length-j">
<div*ngFor="let task of tasks, let j = index"[style.z-index]="tasks.length-j">
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b9dfe3'"mat-menu-item(click)="addTask(mission,role,i,j,'normal')">Ajouter une Tâche</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b9dfe3'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,j,'normal')">Ajouter une Tâche</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bccecc'"mat-menu-item(click)="addTask(mission,role,i,j,'annexe')">Ajouter une Tâche annexe</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bccecc'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,j,'annexe')">Ajouter une Tâche annexe</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#e8e3b3'"mat-menu-item(click)="addTask(mission,role,i,j,'optionnal')">Ajouter une Tâche optionnelle</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#e8e3b3'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,j,'optionnal')">Ajouter une Tâche optionnelle</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b28386'"mat-menu-item(click)="addTask(mission,role,i,j,'final')"*ngIf="canCreateFinalOrRepeatTask(tasks, j)">Ajouter une Tâche finale</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b28386'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,j,'final')"*ngIf="canCreateFinalOrRepeatTask(tasks, j)">Ajouter une Tâche finale</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bfdaa3'"mat-menu-item(click)="addTask(mission,role,i,j,'event')">Ajouter un Événement aléatoire</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bfdaa3'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,j,'event')">Ajouter un Événement aléatoire</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#abbcc6'"mat-menu-item(click)="addTask(mission,role,i,j,'repeat')"*ngIf="canCreateFinalOrRepeatTask(tasks, j)">Recommencer le tour</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#abbcc6'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,j,'repeat')"*ngIf="canCreateFinalOrRepeatTask(tasks, j)">Recommencer le tour</button>
</mat-menu>
</mat-menu>
</div>
</div>
</div>
</div>
...
@@ -95,12 +95,12 @@
...
@@ -95,12 +95,12 @@
matTooltip="Ajouter une nouvelle tuile de ce type."
matTooltip="Ajouter une nouvelle tuile de ce type."
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b9dfe3'"mat-menu-item(click)="addTask(mission,role,i,tasks.length,'normal')">Ajouter une Tâche</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b9dfe3'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,tasks.length,'normal')">Ajouter une Tâche</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bccecc'"mat-menu-item(click)="addTask(mission,role,i,tasks.length,'annexe')">Ajouter une Tâche annexe</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bccecc'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,tasks.length,'annexe')">Ajouter une Tâche annexe</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#e8e3b3'"mat-menu-item(click)="addTask(mission,role,i,tasks.length,'optionnal')">Ajouter une Tâche optionnelle</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#e8e3b3'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,tasks.length,'optionnal')">Ajouter une Tâche optionnelle</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b28386'"mat-menu-item(click)="addTask(mission,role,i,tasks.length,'final')">Ajouter une Tâche finale</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#b28386'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,tasks.length,'final')">Ajouter une Tâche finale</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bfdaa3'"mat-menu-item(click)="addTask(mission,role,i,tasks.length,'event')">Ajouter un Événement aléatoire</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#bfdaa3'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,tasks.length,'event')">Ajouter un Événement aléatoire</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#abbcc6'"mat-menu-item(click)="addTask(mission,role,i,tasks.length,'repeat')">Recommencer le tour</button>
<buttonclass="container-scenario-main-missions-mission-roles-role-tasks-menuButton"[style.background-color]="'#abbcc6'"mat-menu-item(click)="addTask(mission,role,missionIndex,roleIndex,i,tasks.length,'repeat')">Recommencer le tour</button>
</mat-menu>
</mat-menu>
</div>
</div>
</div>
</div>
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
<divclass="container-settings-mode"
<divclass="container-settings-mode"
matTooltip="Descriptif de chaque élément de RLG Maker."
matTooltip="Descriptif de chaque élément de RLG Maker."