Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
metagrid-go
metagrid-vue
Commits
a19bef35
Commit
a19bef35
authored
Jan 14, 2021
by
tobinski
Browse files
Add icons and logout function
parent
fc71e2ea
Pipeline
#6459
passed with stage
in 4 minutes and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/components/Navbar.vue
View file @
a19bef35
...
...
@@ -7,9 +7,15 @@
<b-navbar-toggle
target=
"nav-collapse"
></b-navbar-toggle>
<b-collapse
id=
"nav-collapse"
is-nav
>
<b-navbar-nav
class=
"ml-auto"
>
<b-nav-item
to=
"/"
>
Search
</b-nav-item>
<b-nav-item
to=
"/matching"
>
Match
</b-nav-item>
<b-nav-item>
Config
</b-nav-item>
<b-nav-item
to=
"/"
>
<b-icon
icon=
"search"
></b-icon>
Search
</b-nav-item>
<b-nav-item
to=
"/matching"
>
<b-icon
icon=
"shuffle"
></b-icon>
Match
</b-nav-item>
<b-nav-item
@
click=
"$keycloak.logoutFn"
v-if=
"$keycloak.authenticated"
>
<b-icon
icon=
"power"
></b-icon>
Logout
</b-nav-item>
</b-navbar-nav>
</b-collapse>
</b-navbar>
...
...
@@ -18,7 +24,7 @@
<
script
>
export
default
{
name
:
"
Navbar
"
name
:
"
Navbar
"
,
}
</
script
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment