Skip to content

Commit

Permalink
Updated pictures, readme and added 'rotita'
Browse files Browse the repository at this point in the history
  • Loading branch information
TelescuNicolae committed Aug 30, 2019
1 parent c6b1af3 commit f922426
Show file tree
Hide file tree
Showing 13 changed files with 1,039 additions and 18 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public function store(UserRequest $request, User $model)

| HTML | LARAVEL |
| --- | --- |
| [![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)
| [![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)

## Demo

Expand Down
Binary file modified screens/Dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/Notifications.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/Profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screens/Users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 31 additions & 2 deletions src/paper-dashboard-stubs/resources/assets/css/paper-dashboard.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

619 changes: 619 additions & 0 deletions src/paper-dashboard-stubs/resources/assets/demo/jquery.sharrre.js

Large diffs are not rendered by default.

64 changes: 60 additions & 4 deletions src/paper-dashboard-stubs/resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
=========================================================
Product Page: https://www.creative-tim.com/product/paper-dashboard
Copyright 2019 Creative Tim (https://www.creative-tim.com) & UPDIVISION (https://updivision.com)
Copyright 2019 Creative Tim (https://www.creative-tim.com)
UPDIVISION (https://updivision.com)
Licensed under MIT (https://github.com/creativetimofficial/paper-dashboard/blob/master/LICENSE)
Coded by Creative Tim & UPDIVISION
Coded by Creative Tim
=========================================================
Expand All @@ -23,6 +24,43 @@
<link rel="apple-touch-icon" sizes="76x76" href="{{ asset('paper') }}/img/apple-icon.png">
<link rel="icon" type="image/png" href="{{ asset('paper') }}/img/favicon.png">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

<!-- Extra details for Live View on GitHub Pages -->
<!-- Canonical SEO -->
<link rel="canonical" href="https://www.creative-tim.com/product/paper-dashboard-laravel" />


<!-- Social tags -->
<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">
<meta name="description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up.">


<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="Paper Dashboard Laravel by Creative Tim">
<meta itemprop="description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up.">

<meta itemprop="image" content="https://s3.amazonaws.com/creativetim_bucket/products/209/opt_pd_laravel_thumbnail.jpg">


<!-- Twitter Card data -->
<meta name="twitter:card" content="product">
<meta name="twitter:site" content="@creativetim">
<meta name="twitter:title" content="Paper Dashboard Laravel by Creative Tim">

<meta name="twitter:description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up.">
<meta name="twitter:creator" content="@creativetim">
<meta name="twitter:image" content="https://s3.amazonaws.com/creativetim_bucket/products/209/opt_pd_laravel_thumbnail.jpg">


<!-- Open Graph data -->
<meta property="fb:app_id" content="655968634437471">
<meta property="og:title" content="Paper Dashboard Laravel by Creative Tim" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://www.creative-tim.com/live/paper-dashboard-laravel" />
<meta property="og:image" content="https://s3.amazonaws.com/creativetim_bucket/products/209/opt_pd_laravel_thumbnail.jpg"/>
<meta property="og:description" content="Start your development with a Bootstrap 4 Admin Dashboard built for Laravel Framework 5.5 and Up." />
<meta property="og:site_name" content="Creative Tim" />

<title>
{{ __('Paper Dashboard by Creative Tim') }}
</title>
Expand All @@ -36,17 +74,31 @@
<link href="{{ asset('paper') }}/css/paper-dashboard.css?v=2.0.0" rel="stylesheet" />
<!-- CSS Just for demo purpose, don't include it in your project -->
<link href="{{ asset('paper') }}/demo/demo.css" rel="stylesheet" />

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NKDMSK6');</script>
<!-- End Google Tag Manager -->
</head>

<body class="{{ $class }}">

<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NKDMSK6"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->

@auth()
@include('layouts.page_templates.auth')
@endauth

@guest
@include('layouts.page_templates.guest')
@endguest

@include('layouts.navbars.fixed-plugin')

<!-- Core JS Files -->
<script src="{{ asset('paper') }}/js/core/jquery.min.js"></script>
Expand All @@ -63,8 +115,12 @@
<script src="{{ asset('paper') }}/js/paper-dashboard.min.js?v=2.0.0" type="text/javascript"></script>
<!-- Paper Dashboard DEMO methods, don't include it in your project! -->
<script src="{{ asset('paper') }}/demo/demo.js"></script>

<!-- Sharrre libray -->
<script src="../assets/demo/jquery.sharrre.js"></script>

@stack('scripts')

@include('layouts.navbars.fixed-plugin-js')
</body>

</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@

<script>
$(document).ready(function () {
$('#facebook').sharrre({
share: {
facebook: true
},
enableHover: false,
enableTracking: false,
enableCounter: false,
click: function (api, options) {
api.simulateClick();
api.openPopup('facebook');
},
template: '<i class="fab fa-facebook-f"></i> Facebook',
url: 'https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html'
});
$('#google').sharrre({
share: {
googlePlus: true
},
enableCounter: false,
enableHover: false,
enableTracking: true,
click: function (api, options) {
api.simulateClick();
api.openPopup('googlePlus');
},
template: '<i class="fab fa-google-plus"></i> Google',
url: 'https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html'
});
$('#twitter').sharrre({
share: {
twitter: true
},
enableHover: false,
enableTracking: false,
enableCounter: false,
buttons: {
twitter: {
via: 'CreativeTim'
}
},
click: function (api, options) {
api.simulateClick();
api.openPopup('twitter');
},
template: '<i class="fab fa-twitter"></i> Twitter',
url: 'https://demos.creative-tim.com/paper-dashboard/examples/dashboard.html'
});
// Facebook Pixel Code Don't Delete
! function (f, b, e, v, n, t, s) {
if (f.fbq) return;
n = f.fbq = function () {
n.callMethod ?
n.callMethod.apply(n, arguments) : n.queue.push(arguments)
};
if (!f._fbq) f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = '2.0';
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s)
}(window,
document, 'script', '//connect.facebook.net/en_US/fbevents.js');
try {
fbq('init', '111649226022273');
fbq('track', "PageView");
} catch (err) {
console.log('Facebook Track Error:', err);
}
});
</script>
<script>
$(document).ready(function () {
$sidebar = $('.sidebar');
$sidebar_img_container = $sidebar.find('.sidebar-background');
$full_page = $('.full-page');
$sidebar_responsive = $('body > .navbar-collapse');
sidebar_mini_active = true;
window_width = $(window).width();
fixed_plugin_open = $('.sidebar .sidebar-wrapper .nav li.active a p').html();
// if( window_width > 767 && fixed_plugin_open == 'Dashboard' ){
// if($('.fixed-plugin .dropdown').hasClass('show-dropdown')){
// $('.fixed-plugin .dropdown').addClass('show');
// }
//
// }
$('.fixed-plugin a').click(function (event) {
// Alex if we click on switch, stop propagation of the event, so the dropdown will not be hide, otherwise we set the section active
if ($(this).hasClass('switch-trigger')) {
if (event.stopPropagation) {
event.stopPropagation();
} else if (window.event) {
window.event.cancelBubble = true;
}
}
});
$('.fixed-plugin .active-color span').click(function () {
$full_page_background = $('.full-page-background');
$(this).siblings().removeClass('active');
$(this).addClass('active');
var new_color = $(this).data('color');
if ($sidebar.length != 0) {
$sidebar.attr('data-active-color', new_color);
}
if ($full_page.length != 0) {
$full_page.attr('data-active-color', new_color);
}
if ($sidebar_responsive.length != 0) {
$sidebar_responsive.attr('data-active-color', new_color);
}
});
$('.fixed-plugin .background-color span').click(function () {
$(this).siblings().removeClass('active');
$(this).addClass('active');
var new_color = $(this).data('color');
if ($sidebar.length != 0) {
$sidebar.attr('data-color', new_color);
}
if ($full_page.length != 0) {
$full_page.attr('filter-color', new_color);
}
if ($sidebar_responsive.length != 0) {
$sidebar_responsive.attr('data-color', new_color);
}
});
$('.fixed-plugin .img-holder').click(function () {
$full_page_background = $('.full-page-background');
$(this).parent('li').siblings().removeClass('active');
$(this).parent('li').addClass('active');
var new_image = $(this).find("img").attr('src');
if ($sidebar_img_container.length != 0 && $('.switch-sidebar-image input:checked').length != 0) {
$sidebar_img_container.fadeOut('fast', function () {
$sidebar_img_container.css('background-image', 'url("' + new_image + '")');
$sidebar_img_container.fadeIn('fast');
});
}
if ($full_page_background.length != 0 && $('.switch-sidebar-image input:checked').length != 0) {
var new_image_full_page = $('.fixed-plugin li.active .img-holder').find('img').data('src');
$full_page_background.fadeOut('fast', function () {
$full_page_background.css('background-image', 'url("' + new_image_full_page + '")');
$full_page_background.fadeIn('fast');
});
}
if ($('.switch-sidebar-image input:checked').length == 0) {
var new_image = $('.fixed-plugin li.active .img-holder').find("img").attr('src');
var new_image_full_page = $('.fixed-plugin li.active .img-holder').find('img').data('src');
$sidebar_img_container.css('background-image', 'url("' + new_image + '")');
$full_page_background.css('background-image', 'url("' + new_image_full_page + '")');
}
if ($sidebar_responsive.length != 0) {
$sidebar_responsive.css('background-image', 'url("' + new_image + '")');
}
});
$('.switch-sidebar-image input').on("switchChange.bootstrapSwitch", function () {
$full_page_background = $('.full-page-background');
$input = $(this);
if ($input.is(':checked')) {
if ($sidebar_img_container.length != 0) {
$sidebar_img_container.fadeIn('fast');
$sidebar.attr('data-image', '#');
}
if ($full_page_background.length != 0) {
$full_page_background.fadeIn('fast');
$full_page.attr('data-image', '#');
}
background_image = true;
} else {
if ($sidebar_img_container.length != 0) {
$sidebar.removeAttr('data-image');
$sidebar_img_container.fadeOut('fast');
}
if ($full_page_background.length != 0) {
$full_page.removeAttr('data-image', '#');
$full_page_background.fadeOut('fast');
}
background_image = false;
}
});
$('.switch-mini input').on("switchChange.bootstrapSwitch", function () {
$body = $('body');
$input = $(this);
if (paperDashboard.misc.sidebar_mini_active == true) {
$('body').removeClass('sidebar-mini');
paperDashboard.misc.sidebar_mini_active = false;
$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar();
} else {
$('.sidebar .sidebar-wrapper, .main-panel').perfectScrollbar('destroy');
setTimeout(function () {
$('body').addClass('sidebar-mini');
paperDashboard.misc.sidebar_mini_active = true;
}, 300);
}
// we simulate the window Resize so the charts will get updated in realtime.
var simulateWindowResize = setInterval(function () {
window.dispatchEvent(new Event('resize'));
}, 180);
// we stop the simulation of Window Resize after the animations are completed
setTimeout(function () {
clearInterval(simulateWindowResize);
}, 1000);
});
});
</script>
Loading

0 comments on commit f922426

Please sign in to comment.