1 line
No EOL
6.1 KiB
JSON
1 line
No EOL
6.1 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/Dashboard.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/soeren/dev/keksaccountgui/src/views/Dashboard.vue","mtime":1563897776530},{"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":1564062719000},{"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//\n//\n//\n//\nimport ServerService from \"../services/Server\";\nimport UserService from \"../services/User\";\nimport AppService from \"../services/Apps\";\nexport default {\n data: function data() {\n return {\n nameBig: '',\n nameSmall: '',\n apps: []\n };\n },\n methods: {\n 'getImageUrl': function getImageUrl(id) {\n return AppService.getAppImage(id);\n },\n 'navigateToApp': function navigateToApp(item) {\n location.href = item.directUrl;\n },\n 'getStartpageApps': function getStartpageApps() {\n var _this = this;\n\n AppService.getStartPageApps().then(function (res) {\n _this.apps = res.data.data;\n });\n }\n },\n mounted: function mounted() {\n this.nameBig = this.$store.getters.getSettingValue(\"name_big\");\n this.nameSmall = this.$store.getters.getSettingValue(\"name_small\");\n this.getStartpageApps();\n }\n};",{"version":3,"sources":["Dashboard.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA,OAAA,aAAA;AACA,OAAA,WAAA;AACA,OAAA,UAAA;AAEA,eAAA;AACA,EAAA,IADA,kBACA;AACA,WAAA;AACA,MAAA,OAAA,EAAA,EADA;AAEA,MAAA,SAAA,EAAA,EAFA;AAGA,MAAA,IAAA,EAAA;AAHA,KAAA;AAKA,GAPA;AAQA,EAAA,OAAA,EAAA;AACA,mBAAA,qBAAA,EAAA,EAAA;AACA,aAAA,UAAA,CAAA,WAAA,CAAA,EAAA,CAAA;AACA,KAHA;AAIA,qBAAA,uBAAA,IAAA,EAAA;AACA,MAAA,QAAA,CAAA,IAAA,GAAA,IAAA,CAAA,SAAA;AACA,KANA;AAOA,wBAAA,4BAAA;AAAA;;AACA,MAAA,UAAA,CAAA,gBAAA,GAAA,IAAA,CAAA,UAAA,GAAA,EAAA;AACA,QAAA,KAAA,CAAA,IAAA,GAAA,GAAA,CAAA,IAAA,CAAA,IAAA;AACA,OAFA;AAGA;AAXA,GARA;AAqBA,EAAA,OAAA,EAAA,mBAAA;AACA,SAAA,OAAA,GAAA,KAAA,MAAA,CAAA,OAAA,CAAA,eAAA,CAAA,UAAA,CAAA;AACA,SAAA,SAAA,GAAA,KAAA,MAAA,CAAA,OAAA,CAAA,eAAA,CAAA,YAAA,CAAA;AACA,SAAA,gBAAA;AACA;AAzBA,CAAA","sourcesContent":["<template>\n <div style=\"\">\n <v-container grid-list-md>\n <v-layout row wrap>\n <v-flex md12>\n <h1>Dashboard</h1>\n <br><br>\n <h3>Hello {{$store.getters.getMe[\"username\"]}}, login to</h3>\n\n\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=\"navigateToApp(item)\">input</v-icon>\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-flex>\n </v-layout>\n </v-flex>\n\n\n </v-layout>\n </v-container>\n\n\n </div>\n\n</template>\n\n<script>\n import ServerService from '../services/Server'\n import UserService from '../services/User'\n import AppService from '../services/Apps'\n\n export default {\n data () {\n return {\n nameBig: '',\n nameSmall: '',\n apps: []\n }\n },\n methods: {\n 'getImageUrl' : function (id) {\n return AppService.getAppImage(id);\n },\n 'navigateToApp': function(item) {\n location.href = item.directUrl;\n },\n 'getStartpageApps': function () {\n AppService.getStartPageApps().then((res) => {\n this.apps = res.data.data;\n });\n }\n },\n mounted: function() {\n this.nameBig = this.$store.getters.getSettingValue(\"name_big\");\n this.nameSmall = this.$store.getters.getSettingValue(\"name_small\");\n this.getStartpageApps();\n }\n }\n</script>\n\n<style>\n.header {\n background-image: url('~@/assets/manhattan-407703_1920.jpg');\n background-repeat: no-repeat;\n margin-top: -100px;\n height: 30vh;\n text-align: center;\n}\n .header h1{\n padding-top: 200px;\n font-size: 56px !important;\n font-weight: 400;\n line-height: 32px !important;\n letter-spacing: normal !important;\n }\n .header h1 .small{\n font-weight: 300 !important;\n }\n.header h2{\n padding-top: 30px;\n font-size: 34px !important;\n font-weight: 300;\n line-height: 32px !important;\n letter-spacing: normal !important;\n}\nh1{\n font-weight: 300;\n line-height: 32px !important;\n letter-spacing: normal !important;\n}\nh2{\n font-weight: 300;\n line-height: 32px !important;\n letter-spacing: normal !important;\n}\n</style>\n"],"sourceRoot":"src/views"}]} |