jormungandr-bite/src/client/app/common/views/widgets/version.vue

31 lines
461 B
Vue
Raw Normal View History

2018-02-19 14:16:45 -07:00
<template>
2018-03-28 23:48:47 -06:00
<p>ver {{ version }} ({{ codename }})</p>
2018-02-19 14:16:45 -07:00
</template>
<script lang="ts">
2019-02-17 12:52:40 -07:00
import { version, codename } from '../../../config';
2018-02-24 08:18:09 -07:00
import define from '../../../common/define-widget';
2018-02-19 14:16:45 -07:00
export default define({
name: 'version'
}).extend({
data() {
return {
2018-03-28 23:48:47 -06:00
version,
codename
2018-02-19 14:16:45 -07:00
};
}
});
</script>
<style lang="stylus" scoped>
p
display block
margin 0
padding 0 12px
text-align center
font-size 0.7em
2018-12-29 21:19:06 -07:00
color var(--text)
opacity 0.8
2018-02-19 14:16:45 -07:00
</style>