Skip to content

Commit f922426

Browse files
Updated pictures, readme and added 'rotita'
1 parent c6b1af3 commit f922426

File tree

13 files changed

+1039
-18
lines changed

13 files changed

+1039
-18
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public function store(UserRequest $request, User $model)
157157

158158
| HTML | LARAVEL |
159159
| --- | --- |
160-
| [![Paper Dashboard HTML](https://s3.amazonaws.com/creativetim_bucket/products/50/original/opt_md_thumbnail.jpg?1522232645)](https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html?ref=pdl-readme) | [![Paper Dashboard Laravel](https://s3.amazonaws.com/creativetim_bucket/products/154/original/opt_md_laravel_thumbnail.jpg?1554814177)](https://paper-dashboard-laravel.creative-tim.com/?ref=pdl-readme)
160+
| [![Paper Dashboard HTML](https://s3.amazonaws.com/creativetim_bucket/products/50/original/opt_md_thumbnail.jpg?1522232645)](https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html?ref=pdl-readme) | [![Paper Dashboard Laravel](https://s3.amazonaws.com/creativetim_bucket/products/209/original/opt_pd_laravel_thumbnail.jpg)](https://paper-dashboard-laravel.creative-tim.com/?ref=pdl-readme)
161161

162162
## Demo
163163

screens/Dashboard.png

-6 KB
Loading

screens/Notifications.png

-2.4 KB
Loading

screens/Profile.png

-3.71 KB
Loading

screens/Users.png

-8.47 KB
Loading

src/paper-dashboard-stubs/resources/assets/css/paper-dashboard.css

Lines changed: 31 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/paper-dashboard-stubs/resources/assets/demo/jquery.sharrre.js

Lines changed: 619 additions & 0 deletions
Large diffs are not rendered by default.

src/paper-dashboard-stubs/resources/views/layouts/app.blade.php

Lines changed: 60 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
=========================================================
55
66
Product Page: https://www.creative-tim.com/product/paper-dashboard
7-
Copyright 2019 Creative Tim (https://www.creative-tim.com) & UPDIVISION (https://updivision.com)
7+
Copyright 2019 Creative Tim (https://www.creative-tim.com)
8+
UPDIVISION (https://updivision.com)
89
Licensed under MIT (https://github.com/creativetimofficial/paper-dashboard/blob/master/LICENSE)
910
10-
Coded by Creative Tim & UPDIVISION
11+
Coded by Creative Tim
1112
1213
=========================================================
1314
@@ -23,6 +24,43 @@
2324
<link rel="apple-touch-icon" sizes="76x76" href="{{ asset('paper') }}/img/apple-icon.png">
2425
<link rel="icon" type="image/png" href="{{ asset('paper') }}/img/favicon.png">
2526
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
27+
28+
<!-- Extra details for Live View on GitHub Pages -->
29+
<!-- Canonical SEO -->
30+
<link rel="canonical" href="https://www.creative-tim.com/product/paper-dashboard-laravel" />
31+
32+
33+
<!-- Social tags -->
34+
<meta name="keywords" content="design system, dashboard, bootstrap 4 dashboard, bootstrap 4 design, bootstrap 4 system, bootstrap 4, bootstrap 4 uit kit, bootstrap 4 kit, paper, paper dashboard, creative tim, updivision, html dashboard, html css template, web template, bootstrap, bootstrap 4, css3 template, frontend, responsive bootstrap template, bootstrap dashboard, responsive dashboard, laravel, laravel php, laravel php framework, free laravel admin template, free laravel admin, free laravel admin template + Front End + CRUD, crud laravel php, crud laravel, laravel backend admin dashboard">
35+
<meta name="description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up.">
36+
37+
38+
<!-- Schema.org markup for Google+ -->
39+
<meta itemprop="name" content="Paper Dashboard Laravel by Creative Tim">
40+
<meta itemprop="description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up.">
41+
42+
<meta itemprop="image" content="https://s3.amazonaws.com/creativetim_bucket/products/209/opt_pd_laravel_thumbnail.jpg">
43+
44+
45+
<!-- Twitter Card data -->
46+
<meta name="twitter:card" content="product">
47+
<meta name="twitter:site" content="@creativetim">
48+
<meta name="twitter:title" content="Paper Dashboard Laravel by Creative Tim">
49+
50+
<meta name="twitter:description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up.">
51+
<meta name="twitter:creator" content="@creativetim">
52+
<meta name="twitter:image" content="https://s3.amazonaws.com/creativetim_bucket/products/209/opt_pd_laravel_thumbnail.jpg">
53+
54+
55+
<!-- Open Graph data -->
56+
<meta property="fb:app_id" content="655968634437471">
57+
<meta property="og:title" content="Paper Dashboard Laravel by Creative Tim" />
58+
<meta property="og:type" content="article" />
59+
<meta property="og:url" content="https://www.creative-tim.com/live/paper-dashboard-laravel" />
60+
<meta property="og:image" content="https://s3.amazonaws.com/creativetim_bucket/products/209/opt_pd_laravel_thumbnail.jpg"/>
61+
<meta property="og:description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up." />
62+
<meta property="og:site_name" content="Creative Tim" />
63+
2664
<title>
2765
{{ __('Paper Dashboard by Creative Tim') }}
2866
</title>
@@ -36,17 +74,31 @@
3674
<link href="{{ asset('paper') }}/css/paper-dashboard.css?v=2.0.0" rel="stylesheet" />
3775
<!-- CSS Just for demo purpose, don't include it in your project -->
3876
<link href="{{ asset('paper') }}/demo/demo.css" rel="stylesheet" />
77+
78+
<!-- Google Tag Manager -->
79+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
80+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
81+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
82+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
83+
})(window,document,'script','dataLayer','GTM-NKDMSK6');</script>
84+
<!-- End Google Tag Manager -->
3985
</head>
4086

4187
<body class="{{ $class }}">
42-
88+
<!-- Google Tag Manager (noscript) -->
89+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NKDMSK6"
90+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
91+
<!-- End Google Tag Manager (noscript) -->
92+
4393
@auth()
4494
@include('layouts.page_templates.auth')
4595
@endauth
4696

4797
@guest
4898
@include('layouts.page_templates.guest')
4999
@endguest
100+
101+
@include('layouts.navbars.fixed-plugin')
50102

51103
<!-- Core JS Files -->
52104
<script src="{{ asset('paper') }}/js/core/jquery.min.js"></script>
@@ -63,8 +115,12 @@
63115
<script src="{{ asset('paper') }}/js/paper-dashboard.min.js?v=2.0.0" type="text/javascript"></script>
64116
<!-- Paper Dashboard DEMO methods, don't include it in your project! -->
65117
<script src="{{ asset('paper') }}/demo/demo.js"></script>
66-
118+
<!-- Sharrre libray -->
119+
<script src="../assets/demo/jquery.sharrre.js"></script>
120+
67121
@stack('scripts')
122+
123+
@include('layouts.navbars.fixed-plugin-js')
68124
</body>
69125

70126
</html>
Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
2+
<script>
3+
$(document).ready(function () {
4+
$('#facebook').sharrre({
5+
share: {
6+
facebook: true
7+
},
8+
enableHover: false,
9+
enableTracking: false,
10+
enableCounter: false,
11+
click: function (api, options) {
12+
api.simulateClick();
13+
api.openPopup('facebook');
14+
},
15+
template: '<i class="fab fa-facebook-f"></i> Facebook',
16+
url: 'https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html'
17+
});
18+
$('#google').sharrre({
19+
share: {
20+
googlePlus: true
21+
},
22+
enableCounter: false,
23+
enableHover: false,
24+
enableTracking: true,
25+
click: function (api, options) {
26+
api.simulateClick();
27+
api.openPopup('googlePlus');
28+
},
29+
template: '<i class="fab fa-google-plus"></i> Google',
30+
url: 'https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html'
31+
});
32+
$('#twitter').sharrre({
33+
share: {
34+
twitter: true
35+
},
36+
enableHover: false,
37+
enableTracking: false,
38+
enableCounter: false,
39+
buttons: {
40+
twitter: {
41+
via: 'CreativeTim'
42+
}
43+
},
44+
click: function (api, options) {
45+
api.simulateClick();
46+
api.openPopup('twitter');
47+
},
48+
template: '<i class="fab fa-twitter"></i> Twitter',
49+
url: 'https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html'
50+
});
51+
// Facebook Pixel Code Don't Delete
52+
! function (f, b, e, v, n, t, s) {
53+
if (f.fbq) return;
54+
n = f.fbq = function () {
55+
n.callMethod ?
56+
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
57+
};
58+
if (!f._fbq) f._fbq = n;
59+
n.push = n;
60+
n.loaded = !0;
61+
n.version = '2.0';
62+
n.queue = [];
63+
t = b.createElement(e);
64+
t.async = !0;
65+
t.src = v;
66+
s = b.getElementsByTagName(e)[0];
67+
s.parentNode.insertBefore(t, s)
68+
}(window,
69+
document, 'script', '//connect.facebook.net/en_US/fbevents.js');
70+
try {
71+
fbq('init', '111649226022273');
72+
fbq('track', "PageView");
73+
} catch (err) {
74+
console.log('Facebook Track Error:', err);
75+
}
76+
});
77+
</script>
78+
<script>
79+
$(document).ready(function () {
80+
$sidebar = $('.sidebar');
81+
$sidebar_img_container = $sidebar.find('.sidebar-background');
82+
$full_page = $('.full-page');
83+
$sidebar_responsive = $('body > .navbar-collapse');
84+
sidebar_mini_active = true;
85+
window_width = $(window).width();
86+
fixed_plugin_open = $('.sidebar .sidebar-wrapper .nav li.active a p').html();
87+
// if( window_width > 767 && fixed_plugin_open == 'Dashboard' ){
88+
// if($('.fixed-plugin .dropdown').hasClass('show-dropdown')){
89+
// $('.fixed-plugin .dropdown').addClass('show');
90+
// }
91+
//
92+
// }
93+
$('.fixed-plugin a').click(function (event) {
94+
// Alex if we click on switch, stop propagation of the event, so the dropdown will not be hide, otherwise we set the section active
95+
if ($(this).hasClass('switch-trigger')) {
96+
if (event.stopPropagation) {
97+
event.stopPropagation();
98+
} else if (window.event) {
99+
window.event.cancelBubble = true;
100+
}
101+
}
102+
});
103+
$('.fixed-plugin .active-color span').click(function () {
104+
$full_page_background = $('.full-page-background');
105+
$(this).siblings().removeClass('active');
106+
$(this).addClass('active');
107+
var new_color = $(this).data('color');
108+
if ($sidebar.length != 0) {
109+
$sidebar.attr('data-active-color', new_color);
110+
}
111+
if ($full_page.length != 0) {
112+
$full_page.attr('data-active-color', new_color);
113+
}
114+
if ($sidebar_responsive.length != 0) {
115+
$sidebar_responsive.attr('data-active-color', new_color);
116+
}
117+
});
118+
$('.fixed-plugin .background-color span').click(function () {
119+
$(this).siblings().removeClass('active');
120+
$(this).addClass('active');
121+
var new_color = $(this).data('color');
122+
if ($sidebar.length != 0) {
123+
$sidebar.attr('data-color', new_color);
124+
}
125+
if ($full_page.length != 0) {
126+
$full_page.attr('filter-color', new_color);
127+
}
128+
if ($sidebar_responsive.length != 0) {
129+
$sidebar_responsive.attr('data-color', new_color);
130+
}
131+
});
132+
$('.fixed-plugin .img-holder').click(function () {
133+
$full_page_background = $('.full-page-background');
134+
$(this).parent('li').siblings().removeClass('active');
135+
$(this).parent('li').addClass('active');
136+
var new_image = $(this).find("img").attr('src');
137+
if ($sidebar_img_container.length != 0 && $('.switch-sidebar-image input:checked').length != 0) {
138+
$sidebar_img_container.fadeOut('fast', function () {
139+
$sidebar_img_container.css('background-image', 'url("' + new_image + '")');
140+
$sidebar_img_container.fadeIn('fast');
141+
});
142+
}
143+
if ($full_page_background.length != 0 && $('.switch-sidebar-image input:checked').length != 0) {
144+
var new_image_full_page = $('.fixed-plugin li.active .img-holder').find('img').data('src');
145+
$full_page_background.fadeOut('fast', function () {
146+
$full_page_background.css('background-image', 'url("' + new_image_full_page + '")');
147+
$full_page_background.fadeIn('fast');
148+
});
149+
}
150+
if ($('.switch-sidebar-image input:checked').length == 0) {
151+
var new_image = $('.fixed-plugin li.active .img-holder').find("img").attr('src');
152+
var new_image_full_page = $('.fixed-plugin li.active .img-holder').find('img').data('src');
153+
$sidebar_img_container.css('background-image', 'url("' + new_image + '")');
154+
$full_page_background.css('background-image', 'url("' + new_image_full_page + '")');
155+
}
156+
if ($sidebar_responsive.length != 0) {
157+
$sidebar_responsive.css('background-image', 'url("' + new_image + '")');
158+
}
159+
});
160+
$('.switch-sidebar-image input').on("switchChange.bootstrapSwitch", function () {
161+
$full_page_background = $('.full-page-background');
162+
$input = $(this);
163+
if ($input.is(':checked')) {
164+
if ($sidebar_img_container.length != 0) {
165+
$sidebar_img_container.fadeIn('fast');
166+
$sidebar.attr('data-image', '#');
167+
}
168+
if ($full_page_background.length != 0) {
169+
$full_page_background.fadeIn('fast');
170+
$full_page.attr('data-image', '#');
171+
}
172+
background_image = true;
173+
} else {
174+
if ($sidebar_img_container.length != 0) {
175+
$sidebar.removeAttr('data-image');
176+
$sidebar_img_container.fadeOut('fast');
177+
}
178+
if ($full_page_background.length != 0) {
179+
$full_page.removeAttr('data-image', '#');
180+
$full_page_background.fadeOut('fast');
181+
}
182+
background_image = false;
183+
}
184+
});
185+
$('.switch-mini input').on("switchChange.bootstrapSwitch", function () {
186+
$body = $('body');
187+
$input = $(this);
188+
if (paperDashboard.misc.sidebar_mini_active == true) {
189+
$('body').removeClass('sidebar-mini');
190+
paperDashboard.misc.sidebar_mini_active = false;
191+
$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar();
192+
} else {
193+
$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar('destroy');
194+
setTimeout(function () {
195+
$('body').addClass('sidebar-mini');
196+
paperDashboard.misc.sidebar_mini_active = true;
197+
}, 300);
198+
}
199+
// we simulate the window Resize so the charts will get updated in realtime.
200+
var simulateWindowResize = setInterval(function () {
201+
window.dispatchEvent(new Event('resize'));
202+
}, 180);
203+
// we stop the simulation of Window Resize after the animations are completed
204+
setTimeout(function () {
205+
clearInterval(simulateWindowResize);
206+
}, 1000);
207+
});
208+
});
209+
</script>

0 commit comments

Comments
 (0)