mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: 修复注册按钮显示异常的问题
This commit is contained in:
1 parent
c59bdb3b47
commit
cc569331e1
11 files changed
+8
-77
No files matched your search
+4
-2
@@ -187,7 +187,8 @@ apt-get -qq update && apt-get -q install -y mongodb-org`, { retry: true }],
|
|||||||
init: '正在启动 / Starting',
|
init: '正在启动 / Starting',
|
||||||
operations: [
|
operations: [
|
||||||
() => {
|
() => {
|
||||||
[MINIO_ACCESS_KEY, MINIO_SECRET_KEY] = fs.readfile('/root/.hydro/env').split('\n').map((i) => i.split('=')[1].trim());
|
[MINIO_ACCESS_KEY, MINIO_SECRET_KEY] = fs.readfile('/root/.hydro/env')
|
||||||
|
.split('\n').filter((i) => i.trim()).map((i) => i.split('=')[1].trim());
|
||||||
},
|
},
|
||||||
`pm2 start "MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY} MINIO_SECRET_KEY=${MINIO_SECRET_KEY} minio server /data/file" --name minio`,
|
`pm2 start "MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY} MINIO_SECRET_KEY=${MINIO_SECRET_KEY} minio server /data/file" --name minio`,
|
||||||
'pm2 start "mongod --auth --bind_ip 0.0.0.0" --name mongodb',
|
'pm2 start "mongod --auth --bind_ip 0.0.0.0" --name mongodb',
|
||||||
@@ -202,7 +203,8 @@ apt-get -qq update && apt-get -q install -y mongodb-org`, { retry: true }],
|
|||||||
init: '安装完成 / Install done',
|
init: '安装完成 / Install done',
|
||||||
operations: [
|
operations: [
|
||||||
() => {
|
() => {
|
||||||
[MINIO_ACCESS_KEY, MINIO_SECRET_KEY] = fs.readfile('/root/.hydro/env').split('\n').map((i) => i.split('=')[1].trim());
|
[MINIO_ACCESS_KEY, MINIO_SECRET_KEY] = fs.readfile('/root/.hydro/env')
|
||||||
|
.split('\n').filter((i) => i.trim()).map((i) => i.split('=')[1].trim());
|
||||||
DATABASE_PASSWORD = loadconfig('/root/.hydro/config.json').password;
|
DATABASE_PASSWORD = loadconfig('/root/.hydro/config.json').password;
|
||||||
},
|
},
|
||||||
() => log.info('请重启终端并切换到 root 用户执行其他操作'),
|
() => log.info('请重启终端并切换到 root 用户执行其他操作'),
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 77 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 155 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB |
@@ -8,10 +8,6 @@ $header-gap-mini-domain = ($header-bg-height-mini - $nav-item-height - $header-l
|
|||||||
&.warning
|
&.warning
|
||||||
background: #ffe1a6
|
background: #ffe1a6
|
||||||
|
|
||||||
.header__options
|
|
||||||
background-image: url(./header-background.png)
|
|
||||||
background-image: url(./header-background@2x.png)
|
|
||||||
|
|
||||||
.header
|
.header
|
||||||
position: relative
|
position: relative
|
||||||
height: rem($header-bg-height)
|
height: rem($header-bg-height)
|
||||||
@@ -32,12 +28,6 @@ $header-gap-mini-domain = ($header-bg-height-mini - $nav-item-height - $header-l
|
|||||||
.header__content
|
.header__content
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
.header__logo__options
|
|
||||||
background-image: url(./header-logo.png)
|
|
||||||
background-image: url(./header-logo@2x.png)
|
|
||||||
background-image: url(./header-logo-summer.png)
|
|
||||||
background-image: url(./header-logo-summer@2x.png)
|
|
||||||
|
|
||||||
.header__logo
|
.header__logo
|
||||||
display: block
|
display: block
|
||||||
width: rem($header-logo-width-real)
|
width: rem($header-logo-width-real)
|
||||||
@@ -52,35 +42,6 @@ $header-gap-mini-domain = ($header-bg-height-mini - $nav-item-height - $header-l
|
|||||||
+mobile()
|
+mobile()
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
|
||||||
.header__logo--domain
|
|
||||||
font-size: rem(40px)
|
|
||||||
margin-top: rem($header-gap-mini-domain + $nav-item-height)
|
|
||||||
height: rem($header-logo-domain-lh)
|
|
||||||
line-height: rem($header-logo-domain-lh)
|
|
||||||
|
|
||||||
a
|
|
||||||
text-shadow: 1px 1px 5px rgba(#000, 0.4)
|
|
||||||
|
|
||||||
&, &:hover, &:visited, &:link
|
|
||||||
color: #FFF
|
|
||||||
text-decoration: none
|
|
||||||
|
|
||||||
.header__logo--system
|
|
||||||
line-height: rem($header-logo-system-lh)
|
|
||||||
color: #FFF
|
|
||||||
font-size: rem($font-size-small)
|
|
||||||
|
|
||||||
a
|
|
||||||
opacity: 0.8
|
|
||||||
|
|
||||||
&, &:hover, &:visited, &:link
|
|
||||||
text-decoration: none
|
|
||||||
color: #FFF
|
|
||||||
|
|
||||||
&:hover
|
|
||||||
opacity: 1
|
|
||||||
text-decoration: underline
|
|
||||||
|
|
||||||
.header--collapsed
|
.header--collapsed
|
||||||
|
|
||||||
#panel
|
#panel
|
||||||
@@ -115,30 +76,6 @@ $header-gap-mini-domain = ($header-bg-height-mini - $nav-item-height - $header-l
|
|||||||
+mobile()
|
+mobile()
|
||||||
display: block
|
display: block
|
||||||
|
|
||||||
.header.mini .location
|
|
||||||
display: none
|
|
||||||
|
|
||||||
.location-path
|
|
||||||
color: rgba(#FFF, 0.3)
|
|
||||||
line-height: rem(30px)
|
|
||||||
margin-top: rem(10px)
|
|
||||||
a, a:visited
|
|
||||||
color: rgba(#FFF, 0.6)
|
|
||||||
a:hover
|
|
||||||
color: rgba(#FFF, 0.9)
|
|
||||||
|
|
||||||
.location-current
|
|
||||||
color: #9ad4f1
|
|
||||||
line-height: rem(40px)
|
|
||||||
white-space: nowrap
|
|
||||||
overflow: hidden
|
|
||||||
text-overflow: ellipsis
|
|
||||||
|
|
||||||
+mobile()
|
|
||||||
color: #91fcff
|
|
||||||
font-size: 1.7rem
|
|
||||||
white-space: normal
|
|
||||||
|
|
||||||
.header--mobile
|
.header--mobile
|
||||||
display: none
|
display: none
|
||||||
|
|
||||||
@@ -162,13 +99,6 @@ $header-gap-mini-domain = ($header-bg-height-mini - $nav-item-height - $header-l
|
|||||||
+retina()
|
+retina()
|
||||||
background-size: $nav-logo-width $nav-logo-height // no rem
|
background-size: $nav-logo-width $nav-logo-height // no rem
|
||||||
|
|
||||||
.header--mobile__system
|
|
||||||
margin-left: rem(10px)
|
|
||||||
font-size: rem($font-size-secondary)
|
|
||||||
|
|
||||||
&, &:hover, &:visited
|
|
||||||
color: $supplementary-color
|
|
||||||
|
|
||||||
.header__hamburger
|
.header__hamburger
|
||||||
background: none
|
background: none
|
||||||
border: 0
|
border: 0
|
||||||
|
|||||||
@@ -38,6 +38,9 @@
|
|||||||
background-color: $primary-color
|
background-color: $primary-color
|
||||||
color: #FFF
|
color: #FFF
|
||||||
|
|
||||||
|
a
|
||||||
|
color: $primary-color
|
||||||
|
|
||||||
.hasjs &
|
.hasjs &
|
||||||
position: fixed
|
position: fixed
|
||||||
|
|
||||||
|
|||||||
@@ -325,10 +325,6 @@ Hard Deadline: 最终截止时间
|
|||||||
Hash: 散列
|
Hash: 散列
|
||||||
Have ALL PERMISSIONS in this domain: 在此域中拥有全部权限
|
Have ALL PERMISSIONS in this domain: 在此域中拥有全部权限
|
||||||
He: 他
|
He: 他
|
||||||
Header Background: 顶部背景
|
|
||||||
Header Background@2x: 顶部背景(大)
|
|
||||||
Header Logo: 顶部图标
|
|
||||||
Header Logo@2x: 顶部图标(大)
|
|
||||||
Help: 帮助
|
Help: 帮助
|
||||||
Hidden: 隐藏
|
Hidden: 隐藏
|
||||||
Hide all tags: 隐藏所有标签
|
Hide all tags: 隐藏所有标签
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.10.1",
|
"version": "4.10.2",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
Reference in new issue
Block a user