Browse Source

Merge remote-tracking branch 'origin/fix-1494' into fix-1494

pull/1565/head
Gitea 3 years ago
parent
commit
719bb3a252
3 changed files with 29 additions and 0 deletions
  1. +5
    -0
      package-lock.json
  2. +1
    -0
      package.json
  3. +23
    -0
      templates/repo/wx_autorize.tmpl

+ 5
- 0
package-lock.json View File

@@ -11147,6 +11147,11 @@
"resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz",
"integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc="
},
"qrcodejs2": {
"version": "0.0.2",
"resolved": "https://registry.npmjs.org/qrcodejs2/-/qrcodejs2-0.0.2.tgz",
"integrity": "sha1-Rlr+Xjnxn6zsuTLBH3oYYQkUauE="
},
"qs": {
"version": "6.9.4",
"resolved": "https://registry.npm.taobao.org/qs/download/qs-6.9.4.tgz",


+ 1
- 0
package.json View File

@@ -41,6 +41,7 @@
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.2",
"qrcodejs2": "0.0.2",
"qs": "6.9.4",
"remixicon": "2.5.0",
"spark-md5": "3.0.1",


+ 23
- 0
templates/repo/wx_autorize.tmpl View File

@@ -0,0 +1,23 @@
<!-- 头部导航栏 -->
{{template "base/head" .}}
<div class="repository release dataset-list view">
{{template "repo/header" .}}
{{template "base/alert" .}}
<div class="ui container">
<div class="ui placeholder segment bgtask-none">
<div class="bgtask-content-header">
<h3>微信扫码认证</h3>
<p>请绑定微信,然后再使用启智算力环境</p>
</div>
<div class="wx-login" style="display: flex;flex-direction: column;align-items: center;margin-top: 24px;">
<div class="qrcode" style="width: 200px;height: 200px; line-height: 180px;text-align: center;">
<img style="width: 100%;height: 100%;" src="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQE_8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAySzQ0ZVltOGVlVUYxMEIxZk55Y3YAAgStAA9iAwR4AAAA" data-v-62ff647a="">
</div>
<div class="desc">微信扫码关注公众号即可完成绑定</div>
</div>
<div class="user-agreement" style="display: flex;align-items: center;justify-content: center;">
<i class="ri-information-line"></i>绑定微信代表已阅读并接受OpenI启智社区AI协作平台使用协议
</div>
</div>
</div>
<div>

Loading…
Cancel
Save