fix link home
This commit is contained in:
@@ -64,6 +64,8 @@ before_script:
|
|||||||
- php artisan migrate
|
- php artisan migrate
|
||||||
# Run database seed
|
# Run database seed
|
||||||
- php artisan db:seed
|
- php artisan db:seed
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script:
|
script:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div v-if="authUser.data.attributes.is_admin">
|
||||||
<div class="card block">
|
<div class="card block">
|
||||||
<h2>Raspberry Links</h2>
|
<h2>Raspberry Links</h2>
|
||||||
<ul class="mt-2">
|
<ul class="mt-2">
|
||||||
@@ -10,6 +10,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import {mapGetters} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'AutomaticLinksHome',
|
name: 'AutomaticLinksHome',
|
||||||
data: function () {
|
data: function () {
|
||||||
@@ -18,6 +20,7 @@ export default {
|
|||||||
{ name: 'Météo', link: 'http://192.168.1.32/meteo/meteo'},
|
{ name: 'Météo', link: 'http://192.168.1.32/meteo/meteo'},
|
||||||
{ name: 'MotionEye', link: 'http://192.168.1.32:8765'},
|
{ name: 'MotionEye', link: 'http://192.168.1.32:8765'},
|
||||||
{ name: 'TT-RSS', link: 'https://tt-rss.bricooli.fr'},
|
{ name: 'TT-RSS', link: 'https://tt-rss.bricooli.fr'},
|
||||||
|
{ name: 'Datus', link: 'https://192.168.1.24:5001'},
|
||||||
{ name: 'Pi-Hole', link: 'http://192.168.1.32/admin/index.php'},
|
{ name: 'Pi-Hole', link: 'http://192.168.1.32/admin/index.php'},
|
||||||
{ name: 'RaspAp', link: 'http://192.168.1.32/raspap'},
|
{ name: 'RaspAp', link: 'http://192.168.1.32/raspap'},
|
||||||
{ name: 'Kodi', link: 'http://192.168.1.19:8080/'},
|
{ name: 'Kodi', link: 'http://192.168.1.19:8080/'},
|
||||||
@@ -26,5 +29,10 @@ export default {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters({
|
||||||
|
authUser: 'authUser',
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user