Reusable Angular components for CK back-office web applications. Built on the CK stack with ng-zorro-antd.
Full-page layout for detail views: fixed header with back/refresh buttons, an optional fixed header slot, and a scrollable content area.
<ck-details-page-layout (returnClicked)="onReturn()" (refreshClicked)="onRefresh()">
<div pageHeader>
<!-- Fixed area: title, tags, actions -->
</div>
<!-- Scrollable content -->
<ck-details-section [title]="'Section Title' | translate">
<p>Content here</p>
</ck-details-section>
</ck-details-page-layout>| Output | Description |
|---|---|
returnClicked |
Emitted when the back button is clicked |
refreshClicked |
Emitted when the refresh button is clicked |
| Slot | Description |
|---|---|
[pageHeader] |
Fixed (non-scrolling) area below the header buttons |
| Default | Scrollable content area |
Header bar with a back button and a refresh button. Used internally by ck-details-page-layout, but can also be used standalone.
<ck-details-page-header (returnClicked)="onReturn()" (refreshClicked)="onRefresh()" />Titled content section for use inside detail pages.
<ck-details-section [title]="'Section.Title' | translate">
<p>Section content</p>
</ck-details-section>| Input | Type | Description |
|---|---|---|
title |
string |
Section heading |
This package pulls in:
CK.Ng.Zorro.BackOffice— ng-zorro back-office shellCK.Ng.AspNet.Auth.Basic— basic authenticationCK.Ng.Cris.AspNet.Auth— CRIS authentication bridgeCK.Ng.UserProfile.*— user profile components (named user, preferred culture, password)
The Demo/ folder contains a runnable demo application.
# 1. Build the solution (generates ck-gen)
dotnet build
# 2. Build and serve the Angular app
cd Demo/CK.Ng.WebApp.Demo.Host/Demo.Web
yarn ng serve