Merge branch 'develop' of https://bitbucket-student.it.hs-heilbronn.de/scm/labswp19/labswp_2019_sose_geocaching into develop
This commit is contained in:
commit
e32f5b2b2c
@ -1,22 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'mymap',
|
|
||||||
data () {
|
|
||||||
return {
|
|
||||||
zoom: 15,
|
|
||||||
center: [ 9.208858198755664, 49.14785422283188],
|
|
||||||
rotation: 0,
|
|
||||||
geolocPosition: undefined,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style>
|
|
||||||
</style>
|
|
||||||
@ -64,9 +64,9 @@
|
|||||||
</vl-map>
|
</vl-map>
|
||||||
</div>
|
</div>
|
||||||
<div class="row q-col-gutter-md">
|
<div class="row q-col-gutter-md">
|
||||||
<q-input class="col" dense stack-label filled v-model="center[1]"
|
<q-input class="col" dense stack-label filled v-model.number="center[1]"
|
||||||
label="Breitengrad"/>
|
label="Breitengrad"/>
|
||||||
<q-input class="col" dense stack-label filled v-model="center[0]"
|
<q-input class="col" dense stack-label filled v-model.number="center[0]"
|
||||||
label="Längengrad"/>
|
label="Längengrad"/>
|
||||||
<div class="col-shrink">
|
<div class="col-shrink">
|
||||||
<q-btn unelevated color="primary" class="full-height" icon="my_location" @click="setCenter(deviceCoordinate)"/>
|
<q-btn unelevated color="primary" class="full-height" icon="my_location" @click="setCenter(deviceCoordinate)"/>
|
||||||
@ -110,39 +110,6 @@
|
|||||||
geometryTypeToCmpName(type) {
|
geometryTypeToCmpName(type) {
|
||||||
return 'vl-geom-' + kebabCase(type)
|
return 'vl-geom-' + kebabCase(type)
|
||||||
},
|
},
|
||||||
/**
|
|
||||||
* Packman layer Style function factory
|
|
||||||
* @return {ol.StyleFunction}
|
|
||||||
*/
|
|
||||||
pacmanStyleFunc() {
|
|
||||||
const pacman = [
|
|
||||||
createStyle({
|
|
||||||
strokeColor: '#de9147',
|
|
||||||
strokeWidth: 3,
|
|
||||||
fillColor: [222, 189, 36, 0.8],
|
|
||||||
}),
|
|
||||||
]
|
|
||||||
const path = [
|
|
||||||
createStyle({
|
|
||||||
strokeColor: 'blue',
|
|
||||||
strokeWidth: 1,
|
|
||||||
}),
|
|
||||||
createStyle({
|
|
||||||
imageRadius: 5,
|
|
||||||
imageFillColor: 'orange',
|
|
||||||
geom(feature) {
|
|
||||||
// geometry is an LineString, convert it to MultiPoint to style vertex
|
|
||||||
return createMultiPointGeom(feature.getGeometry().getCoordinates())
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
]
|
|
||||||
const eye = [
|
|
||||||
createStyle({
|
|
||||||
imageRadius: 6,
|
|
||||||
imageFillColor: '#444444',
|
|
||||||
}),
|
|
||||||
]
|
|
||||||
},
|
|
||||||
/**
|
/**
|
||||||
* Cluster layer style function factory
|
* Cluster layer style function factory
|
||||||
* @return {ol.StyleFunction}
|
* @return {ol.StyleFunction}
|
||||||
@ -327,10 +294,9 @@
|
|||||||
this.center = val;
|
this.center = val;
|
||||||
this.$emit('updatecoords', this.center);
|
this.$emit('updatecoords', this.center);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@ -97,8 +97,8 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
validateEmail(email) {
|
validateEmail(email) {
|
||||||
//var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
||||||
let re = new RegExp('/^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/');
|
// let re = new RegExp('/^(([^<>()\\[\\]\\\\.,;:\\s@"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@"]+)*)|(".+"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/');
|
||||||
return re.test(String(email).toLowerCase());
|
return re.test(String(email).toLowerCase());
|
||||||
},
|
},
|
||||||
register: function () {
|
register: function () {
|
||||||
|
|||||||
@ -58,7 +58,7 @@ public class VerificationUtil {
|
|||||||
return ResponseEntity.status(401).body("Bitte loggen sie sich erneut ein.");
|
return ResponseEntity.status(401).body("Bitte loggen sie sich erneut ein.");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.debug("VERIFY TOKEN: Something went wrong verificating");
|
logger.debug("VERIFY TOKEN: Something went wrong verificating");
|
||||||
return ResponseEntity.status(401).body("Bitte loggen sie sich erneut ein.");
|
return ResponseEntity.status(401).body("Login nicht möglich. Wenden Sie sich an den Administrator.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user