some changes
This commit is contained in:
parent
3721b4986c
commit
7db636b01a
5
.gitignore
vendored
5
.gitignore
vendored
@ -24,10 +24,7 @@ labswp_2019_sose_geocaching.iml
|
|||||||
# public folder
|
# public folder
|
||||||
src/main/resources/public/
|
src/main/resources/public/
|
||||||
|
|
||||||
# .idea/
|
.idea/
|
||||||
# nicht notwendig. alle problematischen files sind draußen.
|
|
||||||
# wenns trotzdem noch probleme macht muss man die entsprechenden
|
|
||||||
# files noch mit "git rm --cached <file> untracken.
|
|
||||||
|
|
||||||
|
|
||||||
# Gradle
|
# Gradle
|
||||||
|
|||||||
10
.idea/modules.xml
generated
Normal file
10
.idea/modules.xml
generated
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.iml" filepath="$PROJECT_DIR$/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.iml" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.main.iml" filepath="$PROJECT_DIR$/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.main.iml" />
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.test.iml" filepath="$PROJECT_DIR$/.idea/modules/de.hhn.labsw.labswp_2019_sose_geocaching.test.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@ -14,7 +14,7 @@ module.exports = {
|
|||||||
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
|
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
|
||||||
extends: [
|
extends: [
|
||||||
'plugin:vue/essential',
|
'plugin:vue/essential',
|
||||||
'@vue/prettier'
|
// '@vue/prettier'
|
||||||
],
|
],
|
||||||
|
|
||||||
// required to lint *.vue files
|
// required to lint *.vue files
|
||||||
|
|||||||
@ -47,7 +47,6 @@ module.exports = function (ctx) {
|
|||||||
'QCardActions',
|
'QCardActions',
|
||||||
'QCheckbox',
|
'QCheckbox',
|
||||||
'QSeparator',
|
'QSeparator',
|
||||||
'QInput',
|
|
||||||
'QImg',
|
'QImg',
|
||||||
'QTabs',
|
'QTabs',
|
||||||
'QTab',
|
'QTab',
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<q-layout view="hhh Lpr lFf">
|
<q-layout view="hhh Lpr lFf">
|
||||||
<q-header elevated class="bg-white text-green-8 shadow-2">
|
<q-header elevated class="bg-white text-green-8">
|
||||||
<q-toolbar class="">
|
<q-toolbar class="q-pa-md">
|
||||||
<q-btn
|
<q-btn
|
||||||
flat
|
flat
|
||||||
dense
|
dense
|
||||||
@ -13,7 +13,7 @@
|
|||||||
</q-btn>
|
</q-btn>
|
||||||
|
|
||||||
<q-toolbar-title>
|
<q-toolbar-title>
|
||||||
BuGa Geocaching SPA
|
BuGa Geocaching
|
||||||
</q-toolbar-title>
|
</q-toolbar-title>
|
||||||
|
|
||||||
<!--<div>Quasar v{{ $q.version }}</div>-->
|
<!--<div>Quasar v{{ $q.version }}</div>-->
|
||||||
|
|||||||
@ -1,14 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="q-pa-md">
|
<div class="q-pa-md">
|
||||||
<q-table
|
|
||||||
title="Treats"
|
|
||||||
:data="data"
|
|
||||||
:columns="columns"
|
|
||||||
row-key="name"
|
|
||||||
selection="single"
|
|
||||||
:selected.sync="selected"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<div class="q-mt-md">Selected: {{ JSON.stringify(selected) }}</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
54
frontend/src/pages/Index.vue
Normal file
54
frontend/src/pages/Index.vue
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
<template>
|
||||||
|
<div class="q-pa-md row items-start q-gutter-md">
|
||||||
|
<q-card class="my-card">
|
||||||
|
<q-card-section>
|
||||||
|
{{ lorem }}
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
|
||||||
|
<q-card
|
||||||
|
class="my-card text-white"
|
||||||
|
style="background: radial-gradient(circle, #35a2ff 0%, #014a88 100%)"
|
||||||
|
>
|
||||||
|
<q-card-section>
|
||||||
|
<div class="text-h6">Our Changing Planet</div>
|
||||||
|
<div class="text-subtitle2">by John Doe</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-card-section>
|
||||||
|
{{ lorem }}
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
|
||||||
|
<q-card dark bordered class="bg-grey-9 my-card">
|
||||||
|
<q-card-section>
|
||||||
|
<div class="text-h6">Our Changing Planet</div>
|
||||||
|
<div class="text-subtitle2">by John Doe</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-separator dark inset />
|
||||||
|
|
||||||
|
<q-card-section>
|
||||||
|
{{ lorem }}
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
|
||||||
|
<q-card flat bordered class="my-card">
|
||||||
|
<q-card-section>
|
||||||
|
<div class="text-h6">Our Changing Planet</div>
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-card-section>
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
|
||||||
|
tempor incididunt ut labore et dolore magna aliqua.
|
||||||
|
</q-card-section>
|
||||||
|
|
||||||
|
<q-separator inset />
|
||||||
|
|
||||||
|
<q-card-section>
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
|
||||||
|
tempor incididunt ut labore et dolore magna aliqua.
|
||||||
|
</q-card-section>
|
||||||
|
</q-card>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
@ -1,52 +1,54 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="q-pa-md">
|
<div class="q-pa-md">
|
||||||
<q-layout view="lhh LpR lff" container style="height: 350px" class="shadow-2 rounded-borders">
|
<!-- header und toolbar dürfen nur im Layout sein -->
|
||||||
|
<!--
|
||||||
<q-header reveal class="bg-white" text="green-8">
|
<q-header reveal class="bg-white" text="green-8">
|
||||||
<q-toolbar>
|
<q-toolbar>
|
||||||
<q-toolbar-title class="bg-white text-green-8">Login</q-toolbar-title>
|
<q-toolbar-title class="bg-white text-green-8">Login</q-toolbar-title>
|
||||||
</q-toolbar>
|
</q-toolbar>
|
||||||
</q-header>
|
</q-header>
|
||||||
<q-page-container>
|
-->
|
||||||
<q-page padding>
|
<div class="q-pa-md">
|
||||||
<template>
|
<div class="column" style="">
|
||||||
<div class="q-pa-md">
|
<div class="col">
|
||||||
<div class="column" style="height: 150px">
|
<div class="q-pa-md">
|
||||||
<div class="col">
|
<div class="q-gutter-md" style="max-width: 300px">
|
||||||
<template>
|
<q-input v-model="text" label="Benutzername"/>
|
||||||
<div class="q-pa-md">
|
|
||||||
<div class="q-gutter-md" style="max-width: 300px">
|
|
||||||
<q-input v-model="text" label="Benutzername" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<template>
|
|
||||||
<div class="q-pa-md">
|
|
||||||
<div class="q-gutter-md" style="max-width: 300px">
|
|
||||||
<q-input v-model="text" label="Passwort" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
<div class="col">
|
||||||
<q-page-sticky position="bottom-right" :offset="[18, 18]">
|
<div class="q-pa-md">
|
||||||
<q-btn fab color="bg-white" text-color="green-8" @click="onClick" icon="keyboard_arrow_right"/>
|
<div class="q-gutter-md" style="max-width: 300px">
|
||||||
</q-page-sticky>
|
<q-input v-model="text" label="Passwort"/>
|
||||||
</q-page>
|
</div>
|
||||||
</q-page-container>
|
</div>
|
||||||
</q-layout>
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<div class="q-pa-md">
|
||||||
|
<div class="q-gutter-md" style="max-width: 300px">
|
||||||
|
<q-btn
|
||||||
|
fab
|
||||||
|
color="bg-white"
|
||||||
|
text-color="green-8"
|
||||||
|
icon="keyboard_arrow_right"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<q-page-sticky position="bottom-right" :offset="[18, 18]">-->
|
||||||
|
<!--</q-page-sticky>-->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data() {
|
||||||
return {
|
return {
|
||||||
text: ''
|
text: ""
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -23,6 +23,7 @@
|
|||||||
</q-card>
|
</q-card>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a href="/">Hallo</a>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -68,6 +69,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
created: function() {
|
created: function() {
|
||||||
|
console.log("created(): " + this.caches);
|
||||||
this.fetchTodos();
|
this.fetchTodos();
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -75,6 +77,7 @@ export default {
|
|||||||
fetchTodos () {
|
fetchTodos () {
|
||||||
this.$axios.get('http://localhost:8080/allCaches')
|
this.$axios.get('http://localhost:8080/allCaches')
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
|
console.log("Caches: " + this.caches);
|
||||||
this.caches = response.data;
|
this.caches = response.data;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user