Elffuss BraidHub

kikocis/dataspace-portal public

main · 821 BRawPermalink
1<div class="border-b border-gray-200 py-5">
2 <div
3 class="-ml-4 -mt-4 flex flex-wrap items-center justify-between sm:flex-nowrap">
4 <div class="ml-4 mt-4">
5 <h3 class="text-base font-semibold text-black leading-6">
6 {{ headerConfig.title }}
7 </h3>
8 <p class="mt-1 text-sm text-gray-500">
9 {{ headerConfig.subtitle }}
10 </p>
11 </div>
12 <div class="flex gap-4 justify-evenly sm:flex-row ml-4 mt-4 flex-shrink-0">
13 <ng-container *ngFor="let action of headerConfig.headerActions">
14 <button
15 *ngIf="action.permissions | hasAnyRole | async"
16 class="btn-accent"
17 type="button"
18 [disabledBtn]="disabled"
19 (click)="action.action()">
20 {{ action.label }}
21 </button>
22 </ng-container>
23 </div>
24 </div>
25</div>