forked from kristjan/cjvt-valency
filtering some words in index
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user