Browse Source

Merge pull request '简介增加快速编辑按钮按钮字体大小 #160' (#759) from fix-683 into V20211115

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/759
Reviewed-by: A00老虎 <openihu@noreply.localhost>
tags/v1.21.12.1
A00老虎 4 years ago
parent
commit
8c78b5cc1c
2 changed files with 10 additions and 3 deletions
  1. +5
    -1
      templates/home.tmpl
  2. +5
    -2
      web_src/js/components/basic/editDialog.vue

+ 5
- 1
templates/home.tmpl View File

@@ -7,7 +7,11 @@
</div>
</h1>
<p class="am-lh-18">免费私有代码仓库,免费计算资源,大容量数据存储,<br>多类型硬件环境(GPU、NPU),AI开发流水线(开发-调试-训练-迭代)</p>
<a class="circular ui secondary button" href="{{AppSubUrl}}/user/sign_up">立即使用 <i class="right arrow icon"></i></a>
{{if .IsSigned}}
<a class="circular ui secondary button" href="{{AppSubUrl}}/dashboard">立即使用 <i class="right arrow icon"></i></a>
{{else}}
<a class="circular ui secondary button" href="{{AppSubUrl}}/user/login">立即使用 <i class="right arrow icon"></i></a>
{{end}}
<div class="bannerpic"><img class="ui fluid image" src="/img/gitopeni-index-01.svg"></div>
</div>
</div><!-- end segment -->


+ 5
- 2
web_src/js/components/basic/editDialog.vue View File

@@ -14,8 +14,11 @@
<slot name="content"></slot>
<div slot="footer" class="dialog-footer">
<el-button size="small" @click="deleteDialog = false">{{"取消"}}</el-button>
<el-button size="small" style="background-color: #21ba45;color: #fff;" @click="deleteCallback.call(vmContext,deleteParam)">{{"确定"}}</el-button>

<button class="ui button" @click="deleteDialog = false">{{"取消"}}</button>
<button class="ui green button" @click="deleteCallback.call(vmContext,deleteParam)">{{"确定"}}</button>
<!-- <el-button size="small" style="font-size: 1rem;padding: .78571429em 1.5em .78571429em;border-radius: .28571429rem;" @click="deleteDialog = false">{{"取消"}}</el-button>
<el-button size="small" style="background-color: #21ba45;color: #fff;font-size: 1rem;padding: .78571429em 1.5em .78571429em;border-radius: .28571429rem;" @click="deleteCallback.call(vmContext,deleteParam)">{{"确定"}}</el-button> -->
</div>
</el-dialog>
</template>


Loading…
Cancel
Save