Skip to content

Commit

Permalink
support edit monitor in monitor detail page (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsun28 authored Oct 11, 2023
1 parent f13dd90 commit b6ad58d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
21 changes: 1 addition & 20 deletions manager/src/main/resources/define/app-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,6 @@ params:
# default value
# 默认值
defaultValue: 1157
# - field: uri
# # name-param field display i18n name
# # name-参数字段显示名称
# name:
# zh-CN: 相对路径
# en-US: URI
# # type-param field type(most mapping the html input type)
# # type-字段类型,样式(大部分映射input标签type属性)
# type: text
# # when type is text, use limit to limit string length
# # 当type为text时,用limit表示字符串限制大小
# limit: 200
# # required-true or false
# # required-是否是必输项 true-必填 false-可选
# required: false
# # 参数输入框提示信息
# # param field input placeholder
# placeholder: 'Website uri path(no ip port) EG:/v2/book/bar'
# field-param field key
- field: fields
# name-param field display i18n name
# name-参数字段显示名称
Expand All @@ -91,7 +72,7 @@ params:
# required-true or false
# required-是否是必输项 true-必填 false-可选
required: true
# field-param field key

# collect metrics config list
# 采集指标组配置列表
metrics:
Expand Down
10 changes: 1 addition & 9 deletions push/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,7 @@
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
</dependency>
<!-- h2 database-->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>


</dependencies>


</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
<nz-layout>
<nz-sider *ngIf="showBasic" class="mobile-hide" nzWidth="19%" nzTheme="light">
<nz-card
nzHoverable
style="width: 100%; height: 100%"
[nzBordered]="true"
[nzTitle]="monitor_basic_card_title"
Expand Down Expand Up @@ -167,7 +166,7 @@
</ng-template>

<ng-template #monitor_basic_card_extra>
<a nz-icon nzType="close-circle" nzTheme="outline" (click)="showBasicStatus(false)"></a>
<a nz-icon nzType="edit" nzTheme="outline" [routerLink]="['/monitors/' + monitorId + '/edit']"></a>
</ng-template>

<ng-template #tab_extra_template>
Expand Down

0 comments on commit b6ad58d

Please sign in to comment.