File tree Expand file tree Collapse file tree 3 files changed +28
-12
lines changed Expand file tree Collapse file tree 3 files changed +28
-12
lines changed Original file line number Diff line number Diff line change 2
2
<div >
3
3
<b-breadcrumb >
4
4
<b-breadcrumb-item >YOU ARE HERE</b-breadcrumb-item >
5
- <b-breadcrumb-item active >Maps</b-breadcrumb-item >
5
+ <b-breadcrumb-item active >Google Maps</b-breadcrumb-item >
6
6
</b-breadcrumb >
7
7
<h1 class =" page-title" >
8
8
Google <span class =" fw-semi-bold" >Maps</span >
17
17
:center =" {lat: -37.813179, lng: 144.950259}"
18
18
:zoom =" 12"
19
19
style =" width : 100% ; height : 60vh "
20
+ :options =" options"
20
21
>
21
22
<GmapMarker
22
23
:position =" {lat: -37.813179, lng: 144.950259}"
33
34
34
35
export default {
35
36
name: ' Maps' ,
37
+ data () {
38
+ return {
39
+ options: {},
40
+ }
41
+ },
42
+ created () {
43
+ this .$gmapApiPromiseLazy ().then (() => {
44
+ this .options = {
45
+ mapTypeControl: true ,
46
+ mapTypeControlOptions: {
47
+ style: google .maps .MapTypeControlStyle .DEFAULT
48
+ }
49
+ }
50
+ })
51
+ },
36
52
components: { Widget }
37
53
};
38
54
</script >
Original file line number Diff line number Diff line change 3
3
.location-selector {
4
4
width : 100% ;
5
5
height : 220px ;
6
- border : 1px dashed #bbb ;
7
- background-color : $white ;
6
+ border : 1px dashed $location-selector-border ;
7
+ background-color : $location-selector-bg ;
8
8
position : relative ;
9
9
}
10
10
11
11
.location-selector .bit {
12
12
@include transition (background-color 0.15s ease-in-out );
13
13
14
- background-color : $gray-400 ;
14
+ background-color : $location-selector-bit-bg ;
15
15
cursor : pointer ;
16
16
position : absolute ;
17
17
}
18
18
19
19
.location-selector .bit :hover {
20
- background-color : $gray-600 ;
20
+ background-color : darken ( $location-selector-bit-bg , 20 % ) ;
21
21
}
22
22
23
23
.location-selector .bit.top ,
Original file line number Diff line number Diff line change 50
50
</small >
51
51
</p >
52
52
</td >
53
- <td class =" text-semi- muted" >
53
+ <td class =" text-muted" >
54
54
{{parseDate(row.date)}}
55
55
</td >
56
- <td class =" text-semi- muted" >
56
+ <td class =" text-muted" >
57
57
{{row.size}}
58
58
</td >
59
59
<td class =" width-150" >
173
173
<td >Mark</td >
174
174
<td >Otto</td >
175
175
<td ><a href =" #" >ottoto@example.com</a ></td >
176
- <td ><b-badge variant =" gray" class = " text-gray " pill >Pending</b-badge ></td >
176
+ <td ><b-badge variant =" gray" pill >Pending</b-badge ></td >
177
177
</tr >
178
178
<tr >
179
179
<td >2</td >
180
180
<td >Jacob</td >
181
181
<td >Thornton</td >
182
182
<td ><a href =" #" >fat.thor@example.com</a ></td >
183
- <td ><b-badge variant =" gray" class = " text-gray-light " pill >Unconfirmed</b-badge ></td >
183
+ <td ><b-badge variant =" gray" pill >Unconfirmed</b-badge ></td >
184
184
</tr >
185
185
<tr >
186
186
<td >3</td >
187
187
<td >Larry</td >
188
188
<td >the Bird</td >
189
189
<td ><a href =" #" >larry@example.com</a ></td >
190
- <td ><b-badge variant =" gray " class = " text-gray " pill >New</b-badge ></td >
190
+ <td ><b-badge variant =" primary " pill >New</b-badge ></td >
191
191
</tr >
192
192
<tr >
193
193
<td >4</td >
194
194
<td >Peter</td >
195
195
<td >Horadnia</td >
196
196
<td ><a href =" #" >peter@example.com</a ></td >
197
- <td ><b-badge variant =" gray " class = " text-gray-light " pill >Active</b-badge ></td >
197
+ <td ><b-badge variant =" success " pill >Active</b-badge ></td >
198
198
</tr >
199
199
</tbody >
200
200
</table >
322
322
Just wrap the table with simple css class <code >.widget-table-overflow</code > inside
323
323
of widget
324
324
</p >
325
- <div class =" widget-bottom -overflow" >
325
+ <div class =" widget-table -overflow" >
326
326
<table class =" table table-striped table-lg mt-lg mb-0" >
327
327
<thead >
328
328
<tr >
You can’t perform that action at this time.
0 commit comments