File tree 5 files changed +66
-82
lines changed
js/app/toolbar/Components
5 files changed +66
-82
lines changed Original file line number Diff line number Diff line change 8
8
<img
9
9
src =" /assets/images/bolt_logo_dashboard.svg"
10
10
alt =" ⚙️ Bolt"
11
- height =" 28 "
11
+ height =" 26 "
12
12
/>
13
13
</div >
14
14
15
+ <div class =" toolbar-item toolbar-item__site" >
16
+ <a href =" /" target =" _blank" >
17
+ <i class =" fas fa-sign-out-alt" ></i >{{ labels['action.view_site'] }}
18
+ </a >
19
+ </div >
20
+
15
21
<form
16
22
:action =" backendPrefix"
17
23
class =" toolbar-item toolbar-item__filter input-group"
25
31
:value =" filterValue"
26
32
/>
27
33
<div class =" input-group-append" >
28
- <button class =" btn btn-tertiary" type =" submit" >
29
- <i class =" fas fa-search" ></i >{{ labels['listing.button_search'] }}
34
+ <button
35
+ class =" btn btn-tertiary"
36
+ type =" submit"
37
+ :title =" labels['listing.button_search']"
38
+ >
39
+ <i class =" fas fa-search" style =" margin : 0 ;" ></i >
30
40
</button >
31
41
</div >
32
42
</form >
33
43
34
- <div class =" toolbar-item toolbar-item__site" >
35
- <a href =" /" target =" _blank" >
36
- <i class =" fas fa-sign-out-alt" ></i >{{ labels['action.view_site'] }}
37
- </a >
38
- </div >
39
-
40
- <div class =" toolbar-item btn-group toolbar-item__new" >
41
- <button
42
- class =" btn new-item__dropdown-toggler dropdown-toggle"
43
- type =" button"
44
- data-toggle =" dropdown"
45
- data-display =" static"
46
- aria-haspopup =" true"
47
- aria-expanded =" false"
48
- >
49
- <i class =" fas fa-magic" ></i >{{ labels['action.create_new'] }}…
50
- </button >
51
- <div class =" new-item__dropdown dropdown-menu" >
52
- <ul >
53
- <li v-for =" (item, index) in createMenu" :key =" index" >
54
- <a :href =" item.link_new"
55
- ><i :class =" `fa fa-fw ${item.icon}`" ></i >
56
- {{ item.singular_name }}</a
57
- >
58
- </li >
59
- </ul >
60
- </div >
61
- </div >
62
-
63
44
<div class =" toolbar-item btn-group toolbar-item__profile" >
64
45
<button
65
46
class =" btn user profile__dropdown-toggler dropdown-toggle"
Original file line number Diff line number Diff line change 41
41
align-items : center ;
42
42
justify-content : center ;
43
43
font-size : 0.875rem ;
44
- padding : 0 ;
45
44
46
45
a {
47
46
font-size : 0.9375rem ;
119
118
120
119
& __brand {
121
120
justify-content : left ;
122
- padding-left : 2rem ;
123
-
124
- @include media-breakpoint-up (lg) {
125
- flex : 0 1 $admin-sidebar-width ;
126
- }
127
-
128
- @include media-breakpoint-up (wd) {
129
- flex : 0 1 $admin-sidebar-width-wide ;
130
- }
121
+ padding : 0 2rem ;
131
122
132
123
svg ,
133
124
img {
152
143
153
144
& __filter {
154
145
margin-left : auto ;
155
- max-width : 400 px ;
146
+ max-width : 200 px ;
156
147
margin-right : 1rem ;
157
148
}
158
149
161
152
162
153
@include media-breakpoint-up (sm) {
163
154
display : block ;
155
+ padding-top : 0.1rem ;
164
156
}
165
157
166
158
a {
Original file line number Diff line number Diff line change 32
32
"baguettebox.js" : " ^1.11.1" ,
33
33
"bootbox" : " ^5.4.0" ,
34
34
"bootstrap" : " ^4.5.2" ,
35
- "browserslist" : " ^4.14.0 " ,
36
- "caniuse-lite" : " ^1.0.30001122 " ,
35
+ "browserslist" : " ^4.14.1 " ,
36
+ "caniuse-lite" : " ^1.0.30001124 " ,
37
37
"codemirror" : " ^5.57.0" ,
38
38
"dropzone" : " ^5.7.2" ,
39
39
"flagpack" : " ^1.0.5" ,
40
40
"hotkeys-js" : " ^3.8.1" ,
41
41
"jquery" : " ^3.5.1" ,
42
- "locutus" : " ^2.0.11 " ,
42
+ "locutus" : " ^2.0.12 " ,
43
43
"luxon" : " ^1.25.0" ,
44
44
"no-scroll" : " ^2.1.1" ,
45
45
"node-vibrant" : " ^3.1.5" ,
61
61
"zxcvbn" : " ^4.4.2"
62
62
},
63
63
"devDependencies" : {
64
- "@babel/core" : " ^7.11.5 " ,
64
+ "@babel/core" : " ^7.11.6 " ,
65
65
"@babel/plugin-transform-regenerator" : " ^7.10.4" ,
66
66
"@babel/plugin-transform-runtime" : " ^7.11.5" ,
67
67
"@babel/polyfill" : " ^7.11.5" ,
Original file line number Diff line number Diff line change 28
28
{# Setting the labels and their localisations that are used in the sidebar-menu. #}
29
29
{% set labels = {
30
30
' about.bolt_documentation' : ' about.bolt_documentation' |trans,
31
- ' action.view_site' : ' action.view_site' |trans,
32
- ' action.create_new' : ' action.create_new' |trans,
31
+ ' action.view_site' : config.get (' general/sitename' ),
33
32
' general.greeting' : ' general.greeting' |trans({' %name%' : user_display_name }),
34
33
' action.logout' : ' action.logout' |trans,
35
34
' action.edit_profile' : ' action.edit_profile' |trans,
You can’t perform that action at this time.
0 commit comments