Commit 18a8a1d0 authored by Romain DELEAU's avatar Romain DELEAU

add supplementary-role select in supplementary-role sider-piece

parent 02968b0e
...@@ -2,8 +2,14 @@ ...@@ -2,8 +2,14 @@
<div class="piece-form"> <div class="piece-form">
<div class="piece-title">Tâche liée au rôle supplémentaire</div> <div class="piece-title">Tâche liée au rôle supplémentaire</div>
<div class="piece-form-checkbox"> <div class="piece-form-checkbox">
<input type="checkbox"/> <input type="checkbox" [(ngModel)]="checkbox"/>
<label>Oui</label> <label>Oui</label>
</div> </div>
<div class="piece-form-select" *ngIf="checkbox">
<label>Rôle</label>
<select>
<option>Rôle 1</option>
</select>
</div>
</div> </div>
</div> </div>
\ No newline at end of file
...@@ -21,5 +21,20 @@ ...@@ -21,5 +21,20 @@
border: none; border: none;
border-radius: 10px; border-radius: 10px;
} }
&-select {
margin-top: 5px;
margin-left: 10px;
width: 100%;
select {
border-radius: 10px;
border: none;
background-color: white;
height: 25px;
margin-left: 10px;
width: 200px;
}
}
} }
} }
\ No newline at end of file
...@@ -12,4 +12,6 @@ export class SupplementaryTaskComponent implements OnInit { ...@@ -12,4 +12,6 @@ export class SupplementaryTaskComponent implements OnInit {
ngOnInit(): void { ngOnInit(): void {
} }
checkbox: boolean = false;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment