Browse Source

!246 Optimized the button style of the tag, modified the misalignment of the table header and the table border

Merge pull request !246 from 秦君艳/master
tags/v0.5.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
3abcb4a2bc
2 changed files with 69 additions and 45 deletions
  1. +33
    -22
      mindinsight/ui/src/views/train-manage/data-traceback.vue
  2. +36
    -23
      mindinsight/ui/src/views/train-manage/model-traceback.vue

+ 33
- 22
mindinsight/ui/src/views/train-manage/data-traceback.vue View File

@@ -284,27 +284,33 @@ limitations under the License.
</div> </div>
</div> </div>
<div class="btn-container-margin"> <div class="btn-container-margin">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="iconChangeSave(tagScope)"
plain>
{{ $t('public.sure')}}
</el-button>
<el-button type="primary"
size="mini"
class="custom-btn"
@click="clearIcon(tagScope)"
plain>
{{ $t('public.clear')}}
</el-button>
<el-button type="primary"
size="mini"
class="custom-btn"
@click="cancelChangeIcon(tagScope.row)"
plain>
{{ $t('public.cancel')}}
</el-button>
<div class="tag-button-container">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="iconChangeSave(tagScope)"
plain>
{{ $t('public.sure')}}
</el-button>
</div>
<div class="tag-button-container">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="clearIcon(tagScope)"
plain>
{{ $t('public.clear')}}
</el-button>
</div>
<div class="tag-button-container">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="cancelChangeIcon(tagScope.row)"
plain>
{{ $t('public.cancel')}}
</el-button>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -1966,7 +1972,12 @@ export default {
border: 1px solid #00a5a7 !important; border: 1px solid #00a5a7 !important;
} }
.btn-container-margin { .btn-container-margin {
margin: 0 55px 10px;
margin: 0 10%;
}
.tag-button-container {
display: inline-block;
width: 33.3%;
text-align: center;
} }
.custom-btn { .custom-btn {
border: 1px solid #00a5a7; border: 1px solid #00a5a7;


+ 36
- 23
mindinsight/ui/src/views/train-manage/model-traceback.vue View File

@@ -313,27 +313,33 @@ limitations under the License.
</div> </div>
</div> </div>
<div class="btn-container-margin"> <div class="btn-container-margin">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="iconChangeSave(tagScope)"
plain>
{{$t('public.sure')}}
</el-button>
<el-button type="primary"
size="mini"
class="custom-btn"
@click="clearIcon(tagScope)"
plain>
{{$t('public.clear')}}
</el-button>
<el-button type="primary"
size="mini"
class="custom-btn"
@click="cancelChangeIcon(tagScope.row)"
plain>
{{$t('public.cancel')}}
</el-button>
<div class="tag-button-container">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="iconChangeSave(tagScope)"
plain>
{{$t('public.sure')}}
</el-button>
</div>
<div class="tag-button-container">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="clearIcon(tagScope)"
plain>
{{$t('public.clear')}}
</el-button>
</div>
<div class="tag-button-container">
<el-button type="primary"
size="mini"
class="custom-btn"
@click="cancelChangeIcon(tagScope.row)"
plain>
{{$t('public.cancel')}}
</el-button>
</div>
</div> </div>
</div> </div>
</div> </div>
@@ -1975,7 +1981,9 @@ export default {
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
position: relative; position: relative;

.el-table th.gutter {
display: table-cell !important;
}
.icon-border { .icon-border {
border: 1px solid #00a5a7 !important; border: 1px solid #00a5a7 !important;
} }
@@ -2022,7 +2030,12 @@ export default {
height: 46px; height: 46px;
} }
.btn-container-margin { .btn-container-margin {
margin: 0 55px 10px;
margin: 0 10%;
}
.tag-button-container {
display: inline-block;
width: 33.3%;
text-align: center;
} }
.btns-container { .btns-container {
padding: 14px 32px 4px; padding: 14px 32px 4px;


Loading…
Cancel
Save