Add instance information page for mobile

This commit is contained in:
Hakaba Hitoyo 2019-01-07 17:26:47 +00:00 committed by Shpuld Shpludson
parent 2184334ad9
commit a60fc390a0
7 changed files with 60 additions and 0 deletions

View file

@ -0,0 +1,9 @@
const TermsOfServicePanel = {
computed: {
content () {
return this.$store.state.instance.tos
}
}
}
export default TermsOfServicePanel

View file

@ -0,0 +1,18 @@
<template>
<div>
<div class="panel panel-default">
<div class="panel-body">
<div v-html="content" class="tos-content">
</div>
</div>
</div>
</div>
</template>
<script src="./terms_of_service_panel.js" ></script>
<style lang="scss">
.tos-content {
margin: 1em
}
</style>