From f6af42fd7466411e6518fd8b89f38ec9fa884fa7 Mon Sep 17 00:00:00 2001 From: Ahoo Wang Date: Fri, 3 Nov 2023 14:29:18 +0800 Subject: [PATCH] feat: support user-WaterMark --- cosky-dashboard/package.json | 2 +- cosky-dashboard/src/app/app.module.ts | 2 ++ .../authenticated/authenticated.component.html | 15 ++++++++++----- gradle.properties | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/cosky-dashboard/package.json b/cosky-dashboard/package.json index e6708d9a..b6134059 100644 --- a/cosky-dashboard/package.json +++ b/cosky-dashboard/package.json @@ -21,7 +21,7 @@ "echarts": "^5.4.2", "file-saver": "^2.0.5", "monaco-editor": "^0.34.1", - "ng-zorro-antd": "^15.0.3", + "ng-zorro-antd": "^15.1.1", "ngx-monaco-editor-v2": "^15.0.1", "rxjs": "~7.8.0", "tslib": "^2.3.0", diff --git a/cosky-dashboard/src/app/app.module.ts b/cosky-dashboard/src/app/app.module.ts index d816895a..8f96b022 100644 --- a/cosky-dashboard/src/app/app.module.ts +++ b/cosky-dashboard/src/app/app.module.ts @@ -48,6 +48,7 @@ import {AuditLogComponent} from './components/audit-log/audit-log.component'; import {TopologyComponent} from './components/topology/topology.component'; import {MonacoEditorModule} from "ngx-monaco-editor-v2"; import {NgZorroAntdModule} from "./ng-zorro-antd.module"; +import {NzWaterMarkModule} from "ng-zorro-antd/water-mark"; registerLocaleData(zh); @@ -88,6 +89,7 @@ export const httpInterceptorProviders = [ BrowserAnimationsModule, IconsProviderModule, NgZorroAntdModule, + NzWaterMarkModule, MonacoEditorModule, MonacoEditorModule.forRoot() ], diff --git a/cosky-dashboard/src/app/components/authenticated/authenticated.component.html b/cosky-dashboard/src/app/components/authenticated/authenticated.component.html index 575e6d5b..086e14d0 100644 --- a/cosky-dashboard/src/app/components/authenticated/authenticated.component.html +++ b/cosky-dashboard/src/app/components/authenticated/authenticated.component.html @@ -83,19 +83,24 @@

{{title}}

  • Change Password
  • - Sign out
  • + Sign out + -
    - -
    + +
    + +
    +
    - CoSky © 2021-present + CoSky + © 2021-present diff --git a/gradle.properties b/gradle.properties index be2346a0..a5cf1374 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,7 +11,7 @@ # limitations under the License. # group=me.ahoo.cosky -version=4.1.0 +version=4.1.1 description=High-performance, low-cost microservice governance platform. Service Discovery and Configuration Service. website=https://github.com/Ahoo-Wang/cosky issues=https://github.com/Ahoo-Wang/cosky/issues