File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 15
15
16
16
<template >
17
17
<div class =" footer" >
18
- <b-card class =" align-text-top text-right" >
19
- <div class =" bg-light text-dark" >
20
- Adabas RESTfull application with REST server version: {{version}}
21
- </div >
22
- </b-card >
18
+ <b-container fluid class =" bg-light text-dark w-100" >
19
+ <b-row ><b-col class =" text-left" >Adabas REST WebApp {{webAppVersion}}</b-col >
20
+ <b-col class =" text-right" >
21
+ Adabas RESTfull application with REST server version: {{version}}
22
+ </b-col ></b-row >
23
+ </b-container >
23
24
</div >
24
25
</template >
25
26
26
27
<script lang="ts">
27
28
import { Vue } from " vue-property-decorator" ;
29
+ import { config } from " ../store/config" ;
28
30
29
31
export default Vue .extend ({
30
32
name: " Footer" ,
31
33
data() {
32
34
return {
35
+ webAppVersion: config .Version (),
33
36
checked: true ,
34
37
version: null ,
35
38
};
Original file line number Diff line number Diff line change @@ -29,6 +29,14 @@ export function Url() {
29
29
return '.' ;
30
30
}
31
31
32
+ export function Version ( ) : string {
33
+ if ( process . env . NODE_ENV === 'development' ) {
34
+ return 'dev' ;
35
+ }
36
+ return 'v1.0.0' ;
37
+ }
38
+
32
39
export const config = {
33
40
Url,
41
+ Version,
34
42
} ;
You can’t perform that action at this time.
0 commit comments