Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
feat: server.info.vueをscript setupに変更 #122
Browse files Browse the repository at this point in the history
  • Loading branch information
yupix committed Aug 16, 2022
1 parent 7e3083c commit 40601af
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions src/client/app/common/views/widgets/server.info.vue
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
<template>
<div class="info">
<p>Maintainer: <b><a :href="'mailto:' + meta.maintainerEmail" target="_blank">{{ meta.maintainerName }}</a></b></p>
<p>Machine: {{ meta.machine }}</p>
<p>Node: {{ meta.node }}</p>
<p>PSQL: {{ meta.psql }}</p>
<p>Redis: {{ meta.redis }}</p>
<p>Version: {{ meta.version }} </p>
</div>
<div class="info">
<p>
Maintainer:
<b
><a :href="'mailto:' + meta.maintainerEmail" target="_blank">{{
meta.maintainerName
}}</a></b
>
</p>
<p>Machine: {{ meta.machine }}</p>
<p>Node: {{ meta.node }}</p>
<p>PSQL: {{ meta.psql }}</p>
<p>Redis: {{ meta.redis }}</p>
<p>Version: {{ meta.version }}</p>
</div>
</template>

<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: ['meta']
});
<script setup lang="ts">
const {meta} = defineProps({ meta: { type: Object } });
</script>

<style lang="stylus" scoped>
Expand Down

0 comments on commit 40601af

Please sign in to comment.