Browse Source

Merge pull request 'feat: chagne the css' (#41) from dev-fix-css-btn into develop

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/41
Reviewed-by: palytoxin <sxty32@126.com>
tags/1.13.6
colorfulberry 4 years ago
parent
commit
01b83e73ee
3 changed files with 9 additions and 9 deletions
  1. +2
    -7
      templates/repo/header.tmpl
  2. +1
    -1
      templates/repo/issue/labels/edit_delete_label.tmpl
  3. +6
    -1
      web_src/less/openi.less

+ 2
- 7
templates/repo/header.tmpl View File

@@ -1,8 +1,3 @@
<style>
.ui.form .ui.button{
margin-bottom: 15px;
}
</style>
<div class="header-wrapper"> <div class="header-wrapper">
{{with .Repository}} {{with .Repository}}
<div class="ui container"> <div class="ui container">
@@ -194,7 +189,7 @@
</div> </div>
</div> </div>
<div class="actions"> <div class="actions">
<div class="ui positive right labeled icon button">
<div class="mb-2 ui positive right labeled icon button">
{{$.i18n.Tr "repo.confirm_choice"}} {{$.i18n.Tr "repo.confirm_choice"}}
<i class="checkmark icon"></i> <i class="checkmark icon"></i>
</div> </div>
@@ -242,7 +237,7 @@
// 声明一个变量来接收以及获取单选框选择的情况 // 声明一个变量来接收以及获取单选框选择的情况
var checked_radio = $("input[type='radio']:checked").val() var checked_radio = $("input[type='radio']:checked").val()
$('.ui.select_cloudbrain.modal') $('.ui.select_cloudbrain.modal')
.modal('show');
.modal('show');
// 向后端传递对象 // 向后端传递对象
window.location.href = repolink + "/datasets?type=" + checked_radio window.location.href = repolink + "/datasets?type=" + checked_radio
}) })


+ 1
- 1
templates/repo/issue/labels/edit_delete_label.tmpl View File

@@ -56,4 +56,4 @@
</div> </div>
</div> </div>
</div> </div>

+ 6
- 1
web_src/less/openi.less View File

@@ -4,7 +4,12 @@
.ui .text.yellow a:hover { .ui .text.yellow a:hover {
color: #f2711c!important color: #f2711c!important
} }

.mb-1 {
margin-bottom: 8px;
}
.mb-2 {
margin-bottom: 16px;
}
.following.bar #navbar .brand{ .following.bar #navbar .brand{
padding-left: 0; padding-left: 0;
} }


Loading…
Cancel
Save