docs/style: toolbar transition and v2ray-core restart failure tip in docker mode

This commit is contained in:
mzz2017 committed 2019-12-23 00:47:34 -08:00
1 parent 2abd082d29
commit 73eeffb4d4
2 files changed
+11 -8

No files matched your search

+8 -8
View File
@@ -18,8 +18,8 @@
:class="{
button: true,
field: true,
'is-info': true
// 'not-display': !isCheckedRowsPingable()
'is-info': true,
'not-display': !overHeight && !isCheckedRowsPingable()
}"
:disabled="!isCheckedRowsPingable()"
@click="handleClickLatency(true)"
@@ -31,8 +31,8 @@
:class="{
button: true,
field: true,
'is-info': true
// 'not-display': !isCheckedRowsPingable()
'is-info': true,
'not-display': !overHeight && !isCheckedRowsPingable()
}"
:disabled="!isCheckedRowsPingable()"
@click="handleClickLatency(false)"
@@ -44,8 +44,8 @@
:class="{
button: true,
field: true,
'is-delete': true
// 'not-display': !isCheckedRowsDeletable()
'is-delete': true,
'not-display': !overHeight && !isCheckedRowsDeletable()
}"
:disabled="!isCheckedRowsDeletable()"
@click="handleClickDelete"
@@ -968,9 +968,9 @@ export default {
top: 0.75em;
max-width: 50%;
}
&,
transition: all 200ms linear;
button {
transition: all 50ms ease-in-out;
transition: all 100ms ease-in-out;
}
}
.tabs {
+3
View File
@@ -148,6 +148,9 @@ func RestartV2rayService() (err error) {
}
}
if time.Since(startTime) > 8*time.Second {
if global.ServiceControlMode == global.DockerMode {
return errors.New("v2ray-core无法正常启动,请确保已正确按照文档配置docker参数,如仍无法正常工作,请提出issue")
}
return errors.New("v2ray-core无法正常启动,可能是配置文件出现问题或所需端口被占用")
}
time.Sleep(100 * time.Millisecond)