Skip to content

Commit

Permalink
feat: adapted slot names
Browse files Browse the repository at this point in the history
  • Loading branch information
anninowak committed Jun 4, 2024
1 parent ab28814 commit b28777a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
(error)="onErrorHandleSrc()"
/>
<div class="flex-none text-sm">&copy; {{copyrightMsg$ | async}}</div>
<ocx-slot name="ocxShellFooter"></ocx-slot>
<ocx-slot name="onecx-shell-footer"></ocx-slot>
</div>
<div class="mr-5 text-sm">{{versionInfo$ | async}}</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<ng-content></ng-content>
</div>
<div class="layout-topbar-actions-right">
<ocx-slot name="ocxShellHeaderRight" class="layout-topbar-items">
<ocx-slot name="onecx-shell-headerRight" class="layout-topbar-items">
<ng-template #skeleton>
<div class="flex align-items-center h-full justify-content-center" style="width: 56px">
<p-skeleton shape="circle" size="2.5rem" class="h-full flex align-items-center"></p-skeleton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
>
<ocx-shell-header [menuButtonTitle]="menuButtonTitle" (menuButtonClick)="onMenuButtonClick($event)">
<div *ngIf="isHorizontalMenuVisible()">
<ocx-slot name="ocxShellHorizontalMenu">
<ocx-slot name="onecx-shell-horizontalMenu">
<ng-template #skeleton>
<div class="ml-4 flex flex-row gap-4">
<p-skeleton class="w-full h-full inline-block" height="35px" width="120px"></p-skeleton>
Expand All @@ -26,7 +26,7 @@

<div class="menu-wrapper">
<div class="layout-menu-container" *ngIf="isStaticalMenuVisible()">
<ocx-slot name="ocxShellVerticalMenu">
<ocx-slot name="onecx-shell-verticalMenu">
<ng-template #skeleton>
<p-skeleton class="w-full h-full mb-4 inline-block" height="35px" width="120px"></p-skeleton>
</ng-template>
Expand All @@ -36,7 +36,7 @@

<div class="layout-main">
<div class="layout-content relative">
<ocx-slot name="ocxShellSubHeader"></ocx-slot>
<ocx-slot name="onecx-shell-subHeader"></ocx-slot>
<ng-container *ngIf="!showContentProvider || (showContentProvider.showContent$ | async)">
<ng-content></ng-content>
<router-outlet></router-outlet>
Expand Down

0 comments on commit b28777a

Please sign in to comment.