Skip to content

Commit

Permalink
translate 401 page and update error page links (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
jupe authored Mar 24, 2022
1 parent 297ff86 commit 1095403
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions src/views/error-page/401.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,26 @@
<template>
<div class="errPage-container">
<el-button icon="el-icon-arrow-left" class="pan-back-btn" @click="back">
返回
Back
</el-button>
<el-row>
<el-col :span="12">
<h1 class="text-jumbo text-ginormous">
Oops!
</h1>
gif来源<a href="https://zh.airbnb.com/" target="_blank">airbnb</a> 页面
<h2>你没有权限去该页面</h2>
<h6>如有不满请联系你领导</h6>
<h2>You have no permission to go to this page.</h2>
<h6>If you are dissatisfied, please contact your leader.</h6>
<ul class="list-unstyled">
<li>或者你可以去:</li>
<li>Or you can go::</li>
<li class="link-type">
<router-link to="/dashboard">
回首页
Dashboard
</router-link>
</li>
<li class="link-type">
<a href="https://www.taobao.com/">随便看看</a>
<a href="https://github.com/opentmi">Opentmi project page</a>
</li>
<li><a href="#" @click.prevent="dialogVisible=true">点我看图</a></li>
<li><a href="#" @click.prevent="dialogVisible=true">Front page</a></li>
</ul>
</el-col>
<el-col :span="12">
Expand Down
2 changes: 1 addition & 1 deletion src/views/error-page/404.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="bullshit">
<div class="bullshit__oops">OOPS!</div>
<div class="bullshit__info">All rights reserved
<a style="color:#20a0ff" href="https://wallstreetcn.com" target="_blank">wallstreetcn</a>
<a style="color:#20a0ff" href="https://github.com/jupe" target="_blank">jupe</a>
</div>
<div class="bullshit__headline">{{ message }}</div>
<div class="bullshit__info">Please check that the URL you entered is correct, or click the button below to return to the homepage.</div>
Expand Down

0 comments on commit 1095403

Please sign in to comment.