-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add About page - Add Help page - Update Start page text
- Loading branch information
Ammar Barakat
committed
Oct 6, 2021
1 parent
0ff575e
commit de8642e
Showing
3 changed files
with
68 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,57 @@ | ||
<template> | ||
<v-row justify="center" align="center"> | ||
<v-col cols="12" sm="8" md="6" /> | ||
</v-row> | ||
<div> | ||
<h1>{{ $t('pages.about.title') }}</h1> | ||
<template v-if="backendData !== undefined"> | ||
<h2>{{ $t('global.backend') }}</h2> | ||
<ul> | ||
<li>buildVersion: {{ backendData.buildVersion }}</li> | ||
<li>buildDate: {{ backendData.buildDate }}</li> | ||
<li>buildBranch: {{ backendData.buildBranch }}</li> | ||
<li>buildHash: {{ backendData.buildHash }}</li> | ||
</ul> | ||
</template> | ||
<h2>{{ $t('global.frontend') }}</h2> | ||
<ul> | ||
<li>buildVersion: 1.0.0</li> | ||
<li>buildDate: 2021-09-30</li> | ||
<li>buildBranch: develop</li> | ||
</ul> | ||
<h2>Github</h2> | ||
<p> | ||
<b>DataElementHub REST</b><br> | ||
<a href="https://github.com/mig-frankfurt/dataelementhub.rest" target="_blank"> | ||
https://github.com/mig-frankfurt/dataelementhub.rest | ||
</a> | ||
</p> | ||
<p> | ||
<b>DataElementHub GUI</b><br> | ||
<a href="https://github.com/mig-frankfurt/dataelementhub.gui" target="_blank"> | ||
https://github.com/mig-frankfurt/dataelementhub.gui | ||
</a> | ||
</p> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
auth: false | ||
auth: false, | ||
data () { | ||
return { | ||
ajax: { | ||
versionUrl: process.env.mdrBackendUrl + '/v1/version' | ||
}, | ||
backendData: undefined | ||
} | ||
}, | ||
mounted () { | ||
this.loadBackendVersion() | ||
}, | ||
methods: { | ||
async loadBackendVersion () { | ||
await this.$axios.$get(this.ajax.versionUrl) | ||
.then(function (res) { | ||
this.backendData = res | ||
}.bind(this)) | ||
} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters