Due to a scheduled upgrade to version 14.10, GitLab will be unavailabe on Monday 30.05., from 19:00 until 20:00.

Commit 15640f16 authored by antoine masson's avatar antoine masson
Browse files

v0.75

- Add License
- Add version number into interface
parent 4a6539a9
Copyright © 2021 EAWAG
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
{
"name": "admin-app",
"version": "1.0.0",
"version": "0.7.5",
"description": "## Project setup ``` yarn install ```",
"main": "babel.config.js",
"scripts": {
......@@ -13,7 +13,7 @@
"url": "ssh://git@gitlab.youmi-lausanne.ch:50/eawag-aubert/swing-webapp/admin-app.git"
},
"author": "antoine masson youmi",
"license": "ISC",
"license": "MIT",
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "^25.0.0",
"@ckeditor/ckeditor5-vue2": "^1.0.5",
......
......@@ -2,7 +2,7 @@
<q-layout>
<router-view/>
<q-footer reveal flat class="bg-grey-8 text-white">
EAWAG Swing Admin interface -- All right reserved -- Version 1.0-beta
<span class="justify-center">EAWAG ADMIN Swing Survey -- All right reserved -- Version : {{version}} -- Developed by <a class="text-white " href="https://www.youmi-lausanne.ch">Youmi</a></span>
</q-footer>
</q-layout>
......@@ -19,6 +19,11 @@ import countries from "@/assets/countries";
export default {
name: "App",
data(){
return {
version : process.env.VUE_APP_VERSION
}
},
methods:{
//Used to generate the flags icons
getImgUrl(img) {
......
process.env.VUE_APP_VERSION = require('./package.json').version
module.exports = {
publicPath: process.env.NODE_ENV === 'production'
? process.env.APP_BASEPATH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment