Skip to content

Commit 4be14b7

Browse files
committed
.
1 parent 2dd3475 commit 4be14b7

File tree

2 files changed

+68
-14
lines changed

2 files changed

+68
-14
lines changed

src/light-bootstrap-stubs/resources/views/layouts/app.blade.php

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,58 @@
144144
<!-- Light Bootstrap Dashboard DEMO methods, don't include it in your project! -->
145145
<script src="{{ asset('light-bootstrap/js/demo.js') }}"></script>
146146
@stack('js')
147+
<script>
148+
$(document).ready(function () {
149+
150+
$('#facebook').sharrre({
151+
share: {
152+
facebook: true
153+
},
154+
enableHover: false,
155+
enableTracking: false,
156+
enableCounter: false,
157+
click: function(api, options) {
158+
api.simulateClick();
159+
api.openPopup('facebook');
160+
},
161+
template: '<i class="fab fa-facebook-f"></i> Facebook',
162+
url: 'https://light-bootstrap-dashboard-laravel.creative-tim.com/login'
163+
});
164+
165+
$('#google').sharrre({
166+
share: {
167+
googlePlus: true
168+
},
169+
enableCounter: false,
170+
enableHover: false,
171+
enableTracking: true,
172+
click: function(api, options) {
173+
api.simulateClick();
174+
api.openPopup('googlePlus');
175+
},
176+
template: '<i class="fab fa-google-plus"></i> Google',
177+
url: 'https://light-bootstrap-dashboard-laravel.creative-tim.com/login'
178+
});
179+
180+
$('#twitter').sharrre({
181+
share: {
182+
twitter: true
183+
},
184+
enableHover: false,
185+
enableTracking: false,
186+
enableCounter: false,
187+
buttons: {
188+
twitter: {
189+
via: 'CreativeTim'
190+
}
191+
},
192+
click: function(api, options) {
193+
api.simulateClick();
194+
api.openPopup('twitter');
195+
},
196+
template: '<i class="fab fa-twitter"></i> Twitter',
197+
url: 'https://light-bootstrap-dashboard-laravel.creative-tim.com/login'
198+
});
199+
});
200+
</script>
147201
</html>

src/light-bootstrap-stubs/resources/views/pages/sidebarstyle.blade.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<i class="fa fa-cog fa-2x"> </i>
55
</a>
66
<ul class="dropdown-menu">
7-
<li class="header-title"> {{__('Sidebar Style')}}</li>
7+
<li class="header-title"> {{ __('Sidebar Style') }}</li>
88
<li class="adjustments-line">
99
<a href="javascript:void(0)" class="switch-trigger">
10-
<p>Background Image</p>
10+
<p>{{ __('Background Image') }}</p>
1111
<label class="switch">
1212
<input type="checkbox" data-toggle="switch" checked="" data-on-color="primary" data-off-color="primary">
1313
<span class="toggle"></span>
@@ -29,47 +29,47 @@
2929
<div class="clearfix"></div>
3030
</a>
3131
</li>
32-
<li class="header-title">Sidebar Images</li>
32+
<li class="header-title">{{ __('Sidebar Images') }}</li>
3333
<li class="active">
3434
<a class="img-holder switch-trigger" href="javascript:void(0)">
35-
<img src="{{asset('/light-bootstrap/img/sidebar-1.jpg')}}" alt="" />
35+
<img src="{{ asset('/light-bootstrap/img/sidebar-1.jpg') }}" alt="" />
3636
</a>
3737
</li>
3838
<li>
3939
<a class="img-holder switch-trigger" href="javascript:void(0)">
40-
<img src="{{asset('light-bootstrap/img/sidebar-3.jpg')}}" alt="" />
40+
<img src="{{ asset('light-bootstrap/img/sidebar-3.jpg') }}" alt="" />
4141
</a>
4242
</li>
4343
<li>
4444
<a class="img-holder switch-trigger" href="javascript:void(0)">
45-
<img src="{{asset('light-bootstrap/img/sidebar-4.jpg')}}" alt="" />
45+
<img src="{{ asset('light-bootstrap/img/sidebar-4.jpg') }}" alt="" />
4646
</a>
4747
</li>
4848
<li>
4949
<a class="img-holder switch-trigger" href="javascript:void(0)">
50-
<img src="{{asset('light-bootstrap/img/sidebar-5.jpg')}}" alt="" />
50+
<img src="{{ asset('light-bootstrap/img/sidebar-5.jpg') }}" alt="" />
5151
</a>
5252
</li>
5353
<li class="button-container">
5454
<div class="">
55-
<a href="https://www.creative-tim.com/product/light-bootstrap-dashboard-laravel" target="_blank" class="btn btn-info btn-block btn-fill">Download, it's free!</a>
55+
<a href="https://www.creative-tim.com/product/light-bootstrap-dashboard-laravel" target="_blank" class="btn btn-info btn-block btn-fill">{{ __("Download, it's free!") }}</a>
5656
</div>
5757
</li>
5858
<li class="button-container">
5959
<div class="">
60-
<a href="https://light-bootrap-dashboard.creative-tim.com/docs/tutorial-components.html" target="_blank" class="btn btn-default btn-block btn-fill">View Documentation</a>
60+
<a href="https://light-bootrap-dashboard.creative-tim.com/docs/tutorial-components.html" target="_blank" class="btn btn-default btn-block btn-fill">{{ __('View Documentation') }}</a>
6161
</div>
6262
</li>
63-
<li class="header-title pro-title text-center">Want more components?</li>
63+
<li class="header-title pro-title text-center">{{ __('Want more components?') }}</li>
6464
<li class="button-container">
6565
<div class="">
66-
<a href="https://www.creative-tim.com/product/light-bootstrap-dashboard-laravel-pro" target="_blank" class="btn btn-warning btn-block btn-fill">Get The PRO Version!</a>
66+
<a href="https://www.creative-tim.com/product/light-bootstrap-dashboard-laravel-pro" target="_blank" class="btn btn-warning btn-block btn-fill">{{ __('Get The PRO Version!') }}</a>
6767
</div>
6868
</li>
69-
<li class="header-title" id="sharrreTitle">Thank you for sharing!</li>
69+
<li class="header-title" id="sharrreTitle">{{ __('Thank you for sharing!') }}</li>
7070
<li class="button-container">
71-
<button id="twitter" class="btn btn-social btn-outline btn-twitter btn-round sharrre twitter-sharrre"><i class="fa fa-twitter"></i><a href="https://twitter.com/updivision?ref=lbdl-readme">· 256</a></button>
72-
<button id="facebook" class="btn btn-social btn-outline btn-facebook btn-round sharrre facebook-sharrre"><i class="fa fa-facebook-square"></i><a href="https://www.facebook.com/updivision?ref=lbdl-readme">· 426</a></button>
71+
<button id="twitter" class="btn btn-social btn-outline btn-twitter btn-round sharrre twitter-sharrre"><i class="fa fa-twitter"></i>{{ __('· 256') }}</button>
72+
<button id="facebook" class="btn btn-social btn-outline btn-facebook btn-round sharrre facebook-sharrre"><i class="fa fa-facebook-square"></i>{{ __('· 426') }}</button>
7373
</li>
7474
</ul>
7575
</div>

0 commit comments

Comments
 (0)