mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-31 18:10:50 +01:00
在登录页面加入文档
This commit is contained in:
@@ -71,8 +71,12 @@
|
||||
</div>
|
||||
<div class="lang">
|
||||
<span @click="setLang('zh')" :class="lang==='zh'?'active':''">中文</span>
|
||||
|
|
||||
<span @click="setLang('en')" :class="lang==='en'?'active':''">English</span>
|
||||
</div>
|
||||
<div class="documentation">
|
||||
<a href="http://docs.crawlab.cn" target="_blank">{{$t('Documentation')}}</a>
|
||||
</div>
|
||||
<div v-if="isShowMobileWarning" class="mobile-warning">
|
||||
<el-alert type="error" :closable="false">
|
||||
{{$t('You are running on a mobile device, which is not optimized yet. Please try with a laptop or desktop.')}}
|
||||
@@ -449,16 +453,17 @@ const initCanvas = () => {
|
||||
.lang {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
|
||||
span {
|
||||
cursor: pointer;
|
||||
margin: 10px;
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
span.active {
|
||||
font-weight: 600;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
span:hover {
|
||||
@@ -466,6 +471,18 @@ const initCanvas = () => {
|
||||
}
|
||||
}
|
||||
|
||||
.documentation {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
color: #409eff;
|
||||
font-weight: bolder;
|
||||
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-warning {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user