added CHANGELOG

This commit is contained in:
marvzhang
2020-01-06 17:17:04 +08:00
parent 83438d140a
commit 560f2f14df
10 changed files with 77 additions and 6 deletions

View File

@@ -356,5 +356,8 @@ export default {
add_cron: '生成Cron',
// Cron Format: [second] [minute] [hour] [day of month] [month] [day of week]
cron_format: 'Cron 格式: [秒] [分] [小时] [日] [月] [周]'
}
},
// 其他
'Star crawlab-team/crawlab on GitHub': '在 GitHub 上为 Crawlab 加星吧'
}

View File

@@ -34,6 +34,17 @@
</a>
<el-dropdown-menu slot="dropdown"></el-dropdown-menu>
</el-dropdown>
<el-dropdown class="github right">
<!-- Place this tag where you want the button to render. -->
<github-button
href="https://github.com/crawlab-team/crawlab"
data-color-scheme="no-preference: light; light: light; dark: dark;"
data-size="large"
data-show-count="true"
:aria-label="$t('Star crawlab-team/crawlab on GitHub')">
Star
</github-button>
</el-dropdown>
</div>
</template>
@@ -41,11 +52,13 @@
import { mapGetters } from 'vuex'
import Breadcrumb from '@/components/Breadcrumb'
import Hamburger from '@/components/Hamburger'
import GithubButton from 'vue-github-button'
export default {
components: {
Breadcrumb,
Hamburger
Hamburger,
GithubButton
},
computed: {
...mapGetters([
@@ -122,6 +135,12 @@ export default {
}
}
.github {
height: 50px;
margin-right: 35px;
margin-top: -10px;
}
.right {
float: right
}