Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
VisualDL
提交
3d4f6047
V
VisualDL
项目概览
PaddlePaddle
/
VisualDL
1 年多 前同步成功
通知
88
Star
4655
Fork
642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
5
Wiki
分析
仓库
DevOps
项目成员
Pages
V
VisualDL
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
5
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3d4f6047
编写于
1月 03, 2018
作者:
B
BingBlog
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add image char tag hightlight
上级
65155175
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
57 addition
and
14 deletion
+57
-14
frontend/mock/data/plugin/images/tags.js
frontend/mock/data/plugin/images/tags.js
+13
-2
frontend/src/common/component/Charts/chart.san
frontend/src/common/component/Charts/chart.san
+12
-1
frontend/src/common/component/Charts/image.san
frontend/src/common/component/Charts/image.san
+14
-3
frontend/src/images/Images.san
frontend/src/images/Images.san
+2
-1
frontend/src/images/ui/chartPage.san
frontend/src/images/ui/chartPage.san
+16
-7
未找到文件。
frontend/mock/data/plugin/images/tags.js
浏览文件 @
3d4f6047
...
...
@@ -18,8 +18,19 @@
msg
:
'
SUCCESS
'
,
data
:
{
"
test
"
:
{
"
input_reshape/input/image/6
"
:
{
"
displayName
"
:
"
input_reshape/input/image/6
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/7
"
:
{
"
displayName
"
:
"
input_reshape/input/image/7
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/4
"
:
{
"
displayName
"
:
"
input_reshape/input/image/4
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/5
"
:
{
"
displayName
"
:
"
input_reshape/input/image/5
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/2
"
:
{
"
displayName
"
:
"
input_reshape/input/image/2
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/3
"
:
{
"
displayName
"
:
"
input_reshape/input/image/3
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/0
"
:
{
"
displayName
"
:
"
input_reshape/input/image/0
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/1
"
:
{
"
displayName
"
:
"
input_reshape/input/image/1
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/8
"
:
{
"
displayName
"
:
"
input_reshape/input/image/8
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/9
"
:
{
"
displayName
"
:
"
input_reshape/input/image/9
"
,
"
description
"
:
""
,
"
samples
"
:
1
}},
"
train
"
:
{
"
input_reshape/input/image/6
"
:
{
"
displayName
"
:
"
input_reshape/input/image/6
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/7
"
:
{
"
displayName
"
:
"
input_reshape/input/image/7
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/4
"
:
{
"
displayName
"
:
"
input_reshape/input/image/4
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/5
"
:
{
"
displayName
"
:
"
input_reshape/input/image/5
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/2
"
:
{
"
displayName
"
:
"
input_reshape/input/image/2
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/3
"
:
{
"
displayName
"
:
"
input_reshape/input/image/3
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/0
"
:
{
"
displayName
"
:
"
input_reshape/input/image/0
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/1
"
:
{
"
displayName
"
:
"
input_reshape/input/image/1
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/8
"
:
{
"
displayName
"
:
"
input_reshape/input/image/8
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/9
"
:
{
"
displayName
"
:
"
input_reshape/input/image/9
"
,
"
description
"
:
""
,
"
samples
"
:
1
}}}
"
input_reshape/input/image/7
"
:
{
"
displayName
"
:
"
input_reshape/input/image/7
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/4
"
:
{
"
displayName
"
:
"
input_reshape/input/image/4
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/5
"
:
{
"
displayName
"
:
"
input_reshape/input/image/5
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/2
"
:
{
"
displayName
"
:
"
input_reshape/input/image/2
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/3
"
:
{
"
displayName
"
:
"
input_reshape/input/image/3
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/0
"
:
{
"
displayName
"
:
"
input_reshape/input/image/0
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/1
"
:
{
"
displayName
"
:
"
input_reshape/input/image/1
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/8
"
:
{
"
displayName
"
:
"
input_reshape/input/image/8
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/9
"
:
{
"
displayName
"
:
"
input_reshape/input/image/9
"
,
"
description
"
:
""
,
"
samples
"
:
1
}},
"
train
"
:
{
"
input_reshape/input/image/6
"
:
{
"
displayName
"
:
"
input_reshape/input/image/6
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/7
"
:
{
"
displayName
"
:
"
input_reshape/input/image/7
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/4
"
:
{
"
displayName
"
:
"
input_reshape/input/image/4
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/5
"
:
{
"
displayName
"
:
"
input_reshape/input/image/5
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/2
"
:
{
"
displayName
"
:
"
input_reshape/input/image/2
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/3
"
:
{
"
displayName
"
:
"
input_reshape/input/image/3
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/0
"
:
{
"
displayName
"
:
"
input_reshape/input/image/0
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/1
"
:
{
"
displayName
"
:
"
input_reshape/input/image/1
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/8
"
:
{
"
displayName
"
:
"
input_reshape/input/image/8
"
,
"
description
"
:
""
,
"
samples
"
:
1
},
"
input_reshape/input/image/9
"
:
{
"
displayName
"
:
"
input_reshape/input/image/9
"
,
"
description
"
:
""
,
"
samples
"
:
1
}}}
}
};
};
frontend/src/common/component/Charts/chart.san
浏览文件 @
3d4f6047
...
...
@@ -177,7 +177,18 @@ export default {
let legendOptions = tagList.map(item => item.run);
let that = this;
let option = {
color: ['#c23531', '#61a0a8', '#d48265', '#91c7ae','#749f83', '#ca8622', '#bda29a','#6e7074', '#546570', '#c4ccd3'],
color: [
'#c23531',
'#61a0a8',
'#d48265',
'#91c7ae',
'#749f83',
'#ca8622',
'#bda29a',
'#6e7074',
'#546570',
'#c4ccd3'
],
title: {
text: tag,
textStyle: {
...
...
frontend/src/common/component/Charts/image.san
浏览文件 @
3d4f6047
<template>
<div class="visual-dl-image">
<h3>{{tagInfo.tag.displayName}}
<span>{{tagInfo.run}}</span>
<h3
class="visual-dl-image-title"
>{{tagInfo.tag.displayName}}
<span
class="visual-dl-image-run-icon"
>{{tagInfo.run}}</span>
</h3>
<p>
<span>Step:</span>
...
...
@@ -111,7 +111,18 @@ export default {
font-size 12px
width 400px
float left
.visual-dl-image-title
font-size 14px
line-height 30px
.visual-dl-image-run-icon
background #e4e4e4
float right
margin-right 10px
padding 0 10px
border solid 1px #e4e4e4
border-radius 6px
line-height 20px
margin-top 4px
.visual-dl-chart-actions
.sm-form-item
width 300px
...
...
frontend/src/images/Images.san
浏览文件 @
3d4f6047
...
...
@@ -10,6 +10,7 @@
</div>
<div class="visual-dl-scalar-right">
<ui-chart-page
expand="{{true}}"
config="{{filteredConfig}}"
runsItems="{{runsItems}}"
tagList="{{filteredTagsList}}"
...
...
@@ -60,7 +61,7 @@ export default {
run,
tag: tags[run][tag]
};
});
})
.filter(item => item.tag !== undefined)
;
return {
tagList,
tag,
...
...
frontend/src/images/ui/chartPage.san
浏览文件 @
3d4f6047
<template>
<div class="visual-dl-chart-page">
<ui-expand-panel info="{{itemsLength}}" title="{{title}}">
<div san-for="tag in filteredPageList" class="visual-dl-chart-box">
<ui-expand-panel i
sShow="{{expand}}" i
nfo="{{itemsLength}}" title="{{title}}">
<div san-for="tag in filteredPageList" class="visual-dl-
image-
chart-box">
<ui-image
class="visual-dl-chart-image"
san-for="tag in tag.tagList"
tagInfo="{{tag}}"
isActualImageSize="{{config.isActualImageSize}}"
...
...
@@ -11,6 +12,7 @@
></ui-image>
</div>
<ui-pagination
class="visual-dl-sm-pagination"
san-if="total > pageSize"
on-pageChange="handlePageChange($event)"
current="{{currentPage}}"
...
...
@@ -85,12 +87,19 @@ export default {
+prefix-classes('visual-dl-')
.chart-page
.chart-box
.image-chart-box
overflow hidden
float left
.chart-box:after
content: "";
clear: both;
display: block;
.visual-dl-chart-image
float left
.image-chart-box:after
content ""
clear both
display block
.sm-pagination
height 50px
float left
width 100%
</style>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录