filtering some words in index

This commit is contained in:
2019-04-27 20:24:11 +02:00
parent fd94627fdb
commit 81395890ab
16 changed files with 398 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
<LFunctors v-else></LFunctors>
</div>
<div class="col-sm-10">
<p v-if="this.$root.store.api_error != null">
<p class="text-danger" v-if="this.$root.store.api_error != null">
{{ this.$root.store.api_error }}
</p>
<router-view></router-view>

View File

@@ -1,6 +1,11 @@
<template>
<!--in case of error-->
<div v-if="this.$root.store.api_error != null">
</div>
<!--load mode-->
<div v-if="state === 'loading'">
<div v-else-if="state === 'loading'">
<pulse-loader :color="loader_color"></pulse-loader>
</div>

View File

@@ -3,7 +3,9 @@
<b-navbar toggleable="md" type="light" variant="light">
<b-navbar-toggle target="nav_collapse"></b-navbar-toggle>
<!--b-navbar-brand>Vezljivostni vzorci slovenskih glagolov</b-navbar-brand-->
<b-navbar-brand>VEZLJIVOSTNI VZORCI SLOVENSKIH GLAGOLOV</b-navbar-brand>
<b-navbar-brand class=cursorpointer v-on:click="goHome">
VEZLJIVOSTNI VZORCI SLOVENSKIH GLAGOLOV
</b-navbar-brand>
<b-collapse is-nav id="nav_collapse">
<b-navbar-nav>
@@ -101,6 +103,9 @@ export default {
this.$router.push({
name: "Home"
})
},
goHome() {
this.$router.replace({path: "/home"})
}
}
}
@@ -116,4 +121,7 @@ nav a {
nav a:hover {
color: white;
}
.cursorpointer {
cursor: pointer;
}
</style>