1 line
No EOL
4.7 KiB
JSON
1 line
No EOL
4.7 KiB
JSON
{"remainingRequest":"/home/soeren/dev/keksaccountgui/node_modules/babel-loader/lib/index.js!/home/soeren/dev/keksaccountgui/node_modules/vuetify-loader/lib/loader.js!/home/soeren/dev/keksaccountgui/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/soeren/dev/keksaccountgui/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/soeren/dev/keksaccountgui/src/views/ListApps.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/soeren/dev/keksaccountgui/src/views/ListApps.vue","mtime":1563525649153},{"path":"/home/soeren/dev/keksaccountgui/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/vuetify-loader/lib/loader.js","mtime":1549812933000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/soeren/dev/keksaccountgui/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport AppService from \"../services/Apps\";\nexport default {\n data: function data() {\n return {\n apps: []\n };\n },\n methods: {\n getImageUrl: function getImageUrl(id) {\n return AppService.getAppImage(id); // \"https://account.keks.cloud/gui/apps/\"+id+\"/icon\";\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n AppService.listApps().then(function (res) {\n _this.apps = res.data.data;\n console.log(_this.apps);\n });\n }\n};",{"version":3,"sources":["ListApps.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkDA,OAAA,UAAA;AACA,eAAA;AACA,EAAA,IADA,kBACA;AACA,WAAA;AACA,MAAA,IAAA,EAAA;AADA,KAAA;AAGA,GALA;AAMA,EAAA,OAAA,EAAA;AACA,IAAA,WAAA,EAAA,qBAAA,EAAA,EAAA;AACA,aAAA,UAAA,CAAA,WAAA,CAAA,EAAA,CAAA,CADA,CACA;AACA;AAHA,GANA;AAWA,EAAA,OAAA,EAAA,mBAAA;AAAA;;AACA,IAAA,UAAA,CAAA,QAAA,GAAA,IAAA,CAAA,UAAA,GAAA,EAAA;AACA,MAAA,KAAA,CAAA,IAAA,GAAA,GAAA,CAAA,IAAA,CAAA,IAAA;AACA,MAAA,OAAA,CAAA,GAAA,CAAA,KAAA,CAAA,IAAA;AACA,KAHA;AAIA;AAhBA,CAAA","sourcesContent":["<template>\n <div style=\"\">\n <v-container grid-list-md>\n <v-layout row wrap>\n <v-flex md12>\n <v-btn color=\"success\" style=\"float:right;\" @click=\"$router.push({name: 'newApp'})\">Add App</v-btn>\n <h1>Apps</h1>\n <br><br>\n <p>Here you can Administrate your apps</p>\n </v-flex>\n </v-layout>\n <v-layout row wrap>\n <v-flex md4 xs12 text-xs-center v-for=\"(item, index) in apps\">\n <v-card>\n <v-layout>\n <v-flex xs5>\n <v-img\n :src=\"getImageUrl(item.id)\"\n height=\"125px\"\n contain\n ></v-img>\n </v-flex>\n <v-flex xs7>\n <v-card-title primary-title>\n <div>\n <div class=\"headline\">{{ item.name }}</div>\n <div>{{ item.description }}</div>\n </div>\n </v-card-title>\n </v-flex>\n </v-layout>\n <v-divider light></v-divider>\n <v-card-actions class=\"pa-3\">\n\n <v-spacer></v-spacer>\n <v-btn icon>\n <v-icon @click=\"$router.push({name: 'appDetails', params: {id: item.id}})\">settings</v-icon>\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-flex>\n </v-layout>\n </v-container>\n\n\n </div>\n\n</template>\n\n<script>\n import AppService from '../services/Apps'\n export default {\n data () {\n return {\n apps: []\n }\n },\n methods: {\n getImageUrl: function(id) {\n return AppService.getAppImage(id); // \"https://account.keks.cloud/gui/apps/\"+id+\"/icon\";\n }\n },\n mounted: function() {\n AppService.listApps().then((res) => {\n this.apps = res.data.data;\n console.log(this.apps);\n });\n }\n }\n</script>\n\n"],"sourceRoot":"src/views"}]} |