mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 05:05:42 +01:00
wip
This commit is contained in:
parent
5c03add31b
commit
a02bba1833
2 changed files with 28 additions and 20 deletions
|
@ -1,20 +0,0 @@
|
|||
<mk-version-home-widget>
|
||||
<p>ver { _VERSION_ } (葵 aoi)</p>
|
||||
<style lang="stylus" scoped>
|
||||
:scope
|
||||
display block
|
||||
overflow visible !important
|
||||
|
||||
> p
|
||||
display block
|
||||
margin 0
|
||||
padding 0 12px
|
||||
text-align center
|
||||
font-size 0.7em
|
||||
color #aaa
|
||||
|
||||
</style>
|
||||
<script lang="typescript">
|
||||
this.mixin('widget');
|
||||
</script>
|
||||
</mk-version-home-widget>
|
28
src/web/app/desktop/views/components/widgets/version.vue
Normal file
28
src/web/app/desktop/views/components/widgets/version.vue
Normal file
|
@ -0,0 +1,28 @@
|
|||
<template>
|
||||
<p>ver {{ v }} (葵 aoi)</p>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { version } from '../../../../config';
|
||||
import define from '../../../../common/define-widget';
|
||||
export default define({
|
||||
name: 'version'
|
||||
}).extend({
|
||||
data() {
|
||||
return {
|
||||
v: version
|
||||
};
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="stylus" scoped>
|
||||
p
|
||||
display block
|
||||
margin 0
|
||||
padding 0 12px
|
||||
text-align center
|
||||
font-size 0.7em
|
||||
color #aaa
|
||||
|
||||
</style>
|
Loading…
Reference in a new issue