File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,18 @@ div.aw-navbar
48
48
span.ml-2.align-middle ( style ="font-size: 1.0em; color: #000;" ) ActivityWatch
49
49
50
50
b-navbar-nav.ml-auto
51
- b-nav-item( to ="/query" , active-class ="aw-active" )
52
- div.px-2.px-lg-1
51
+ b-nav-item-dropdown
52
+ template( slot ="button-content" )
53
+ div.d-inline.px-2.px-lg-1
54
+ icon( name ="tools" )
55
+ | Tools
56
+ b-dropdown-item( to ="/search" )
53
57
icon( name ="search" )
58
+ | Search
59
+ b-dropdown-item( to ="/query" )
60
+ icon( name ="code" )
54
61
| Query
62
+
55
63
b-nav-item( to ="/buckets" )
56
64
div.px-2.px-lg-1
57
65
icon( name ="database" )
@@ -69,8 +77,10 @@ import 'vue-awesome/icons/calendar-week';
69
77
import ' vue-awesome/icons/stream' ;
70
78
import ' vue-awesome/icons/database' ;
71
79
import ' vue-awesome/icons/search' ;
80
+ import ' vue-awesome/icons/code' ;
72
81
import ' vue-awesome/icons/stopwatch' ;
73
82
import ' vue-awesome/icons/cog' ;
83
+ import ' vue-awesome/icons/tools' ;
74
84
75
85
import ' vue-awesome/icons/mobile' ;
76
86
import ' vue-awesome/icons/desktop' ;
@@ -129,11 +139,6 @@ export default {
129
139
border-width : 0 0 1px 0 ;
130
140
}
131
141
132
- .active {
133
- background-color : #ddd ;
134
- border-radius : 0.5em ;
135
- }
136
-
137
142
.nav-item {
138
143
align-items : center ;
139
144
Original file line number Diff line number Diff line change 1
1
<template lang="pug">
2
-
3
2
div
4
3
h3 Search
5
4
6
- div.alert.alert-danger ( v-if ="error" )
5
+ b-alert( style ="warning" show )
6
+ | This feature is still in early development.
7
+
8
+ b-alert( v-if ="error" show variant ="danger" )
7
9
| {{error}}
8
10
9
11
b-input-group( size ="lg" )
You can’t perform that action at this time.
0 commit comments