Skip to content

signature-opensource/CK-Ng-WebApp

Repository files navigation

CK.Ng.WebApp

Reusable Angular components for CK back-office web applications. Built on the CK stack with ng-zorro-antd.

Components

ck-details-page-layout

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

ck-details-page-header

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()" />

ck-details-section

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

Dependencies

This package pulls in:

  • CK.Ng.Zorro.BackOffice — ng-zorro back-office shell
  • CK.Ng.AspNet.Auth.Basic — basic authentication
  • CK.Ng.Cris.AspNet.Auth — CRIS authentication bridge
  • CK.Ng.UserProfile.* — user profile components (named user, preferred culture, password)

Demo

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors