|
|
|
@ -1,39 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.landing-box {
|
|
|
|
|
height: 150px;
|
|
|
|
|
background: #333333 !important;
|
|
|
|
|
border-radius: 2%;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
text-align: center;
|
|
|
|
|
box-shadow: 5px 3px 5px black;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
<div *ngIf="tvRequests">
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<md-card>
|
|
|
|
|
<div class="landing-box">
|
|
|
|
|
<md-card-title>Title</md-card-title>
|
|
|
|
|
<div [dragula]='"requests"' [dragulaModel]="tvRequests.new">
|
|
|
|
|
<div [dragula]='"requests-bag"' [dragulaModel]="tvRequests.new">
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<request-card *ngFor="let item of tvRequests.new" [request]="item" [attr.data.id]="item.id"></request-card>
|
|
|
|
|
<request-card *ngFor="let item of tvRequests.new" [request]="item" ></request-card>
|
|
|
|
|
</div>
|
|
|
|
|
</md-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<md-card>
|
|
|
|
|
<md-card-title>Title</md-card-title>
|
|
|
|
|
<div [dragula]='"requests"' [dragulaModel]="tvRequests.approved">
|
|
|
|
|
<div class="landing-box">
|
|
|
|
|
|
|
|
|
|
<div [dragula]='"requests-bag"' [dragulaModel]="tvRequests.approved">
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<request-card *ngFor="let item of tvRequests.approved" [request]="item" [attr.data.id]="item.id"></request-card>
|
|
|
|
|
<request-card *ngFor="let item of tvRequests.approved" [request]="item"></request-card>
|
|
|
|
|
</div>
|
|
|
|
|
</md-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
<md-card>
|
|
|
|
|
<div class="landing-box">
|
|
|
|
|
<md-card-title>Title</md-card-title>
|
|
|
|
|
<div style="border: dashed">
|
|
|
|
|
<div [dragula]='"requests"' [dragulaModel]="tvRequests.available">
|
|
|
|
|
<div [dragula]='"requests-bag"' [dragulaModel]="tvRequests.available">
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
<request-card *ngFor="let item of tvRequests.available" [request]="item" [attr.data.id]="item.id"></request-card>
|
|
|
|
|
<request-card *ngFor="let item of tvRequests.available" [request]="item"></request-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</md-card>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|