Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
rudern
物联大师
提交
d5d0d6c7
物
物联大师
项目概览
rudern
/
物联大师
通知
4
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
物
物联大师
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
GitCode(gitcode.net)2024年7月9日维护升级公告
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d5d0d6c7
编写于
9月 01, 2020
作者:
J
Jason
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小提交一下
上级
2fc7ffc9
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
22 addition
and
7 deletion
+22
-7
portal/src/app/main/channel-edit/channel-edit.component.html
portal/src/app/main/channel-edit/channel-edit.component.html
+1
-3
portal/src/app/main/channel/channel.component.html
portal/src/app/main/channel/channel.component.html
+17
-3
portal/src/app/main/icons-provider.module.ts
portal/src/app/main/icons-provider.module.ts
+4
-1
未找到文件。
portal/src/app/main/channel-edit/channel-edit.component.html
浏览文件 @
d5d0d6c7
...
...
@@ -26,9 +26,7 @@
<nz-form-item>
<nz-form-label>
服务端
</nz-form-label>
<nz-form-control
nzErrorTip=
"请勾选"
>
<label
nz-checkbox
formControlName=
"is_server"
>
<span>
启用
</span>
</label>
<nz-switch
formControlName=
"is_server"
></nz-switch>
</nz-form-control>
</nz-form-item>
<nz-form-item>
...
...
portal/src/app/main/channel/channel.component.html
浏览文件 @
d5d0d6c7
<app-toolbar>
<button
nz-button
(click)=
"edit()"
nzType=
"primary"
>
创建
</button>
<button
nz-button
(click)=
"load()"
nzType=
"primary"
>
刷新
</button>
<nz-button-group>
<button
nz-button
(click)=
"load()"
>
<i
nz-icon
nzType=
"reload"
></i>
刷新
</button>
<button
nz-button
(click)=
"edit()"
>
<i
nz-icon
nzType=
"plus"
></i>
创建
</button>
</nz-button-group>
</app-toolbar>
<nz-table
#basicTable
[nzData]=
"channels"
>
<thead>
...
...
@@ -27,7 +35,13 @@
<td>
<a>
启动/停止
</a>
<nz-divider
nzType=
"vertical"
></nz-divider>
<a>
删除
</a>
<a>
<i
nz-icon
nzType=
"delete"
></i>
</a>
<nz-divider
nzType=
"vertical"
></nz-divider>
<a
(click)=
"edit(data)"
>
<i
nz-icon
nzType=
"edit"
></i>
</a>
</td>
</tr>
</tbody>
...
...
portal/src/app/main/icons-provider.module.ts
浏览文件 @
d5d0d6c7
...
...
@@ -11,11 +11,14 @@ import {
ApiOutline
,
HddOutline
,
ApartmentOutline
,
ReloadOutline
,
PlusOutline
,
DeleteOutline
,
}
from
'
@ant-design/icons-angular/icons
'
;
import
{
CommonModule
}
from
'
@angular/common
'
;
const
icons
=
[
MenuFoldOutline
,
MenuUnfoldOutline
,
DashboardOutline
,
FormOutline
,
SettingOutline
,
LogoutOutline
,
ApiOutline
,
FormOutline
,
SettingOutline
,
LogoutOutline
,
ApiOutline
,
ReloadOutline
,
PlusOutline
,
DeleteOutline
,
HddOutline
,
ApartmentOutline
];
@
NgModule
({
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录