Skip to content

Commit f3c58a4

Browse files
committed
insaf 13
1 parent cac7e42 commit f3c58a4

25 files changed

+51
-40
lines changed

client/build/asset-manifest.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"files": {
3-
"main.css": "/static/css/main.8b32e7a9.css",
4-
"main.js": "/static/js/main.53973d4f.js",
5-
"static/media/logo.png": "/static/media/logo.d6e68ae62c8307760991.png",
3+
"main.css": "/static/css/main.2103f403.css",
4+
"main.js": "/static/js/main.64cf2e5b.js",
65
"index.html": "/index.html",
7-
"main.8b32e7a9.css.map": "/static/css/main.8b32e7a9.css.map",
8-
"main.53973d4f.js.map": "/static/js/main.53973d4f.js.map"
6+
"main.2103f403.css.map": "/static/css/main.2103f403.css.map",
7+
"main.64cf2e5b.js.map": "/static/js/main.64cf2e5b.js.map"
98
},
109
"entrypoints": [
11-
"static/css/main.8b32e7a9.css",
12-
"static/js/main.53973d4f.js"
10+
"static/css/main.2103f403.css",
11+
"static/js/main.64cf2e5b.js"
1312
]
1413
}

client/build/assets/js/sb-admin-2.js

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,64 @@
1-
(function($) {
1+
(function ($) {
22
"use strict"; // Start of use strict
33

44
// Toggle the side navigation
5-
$("#sidebarToggle, #sidebarToggleTop").on('click', function(e) {
5+
$("#sidebarToggle, #sidebarToggleTop").on("click", function (e) {
66
$("body").toggleClass("sidebar-toggled");
77
$(".sidebar").toggleClass("toggled");
88
if ($(".sidebar").hasClass("toggled")) {
9-
$('.sidebar .collapse').collapse('hide');
10-
};
9+
$(".sidebar .collapse").collapse("hide");
10+
}
1111
});
1212

1313
// Close any open menu accordions when window is resized below 768px
14-
$(window).resize(function() {
14+
$(window).resize(function () {
1515
if ($(window).width() < 768) {
16-
$('.sidebar .collapse').collapse('hide');
17-
};
18-
16+
$(".sidebar .collapse").collapse("hide");
17+
}
18+
1919
// Toggle the side navigation when window is resized below 480px
2020
if ($(window).width() < 480 && !$(".sidebar").hasClass("toggled")) {
2121
$("body").addClass("sidebar-toggled");
2222
$(".sidebar").addClass("toggled");
23-
$('.sidebar .collapse').collapse('hide');
24-
};
23+
$(".sidebar .collapse").collapse("hide");
24+
}
2525
});
2626

2727
// Prevent the content wrapper from scrolling when the fixed side navigation hovered over
28-
$('body.fixed-nav .sidebar').on('mousewheel DOMMouseScroll wheel', function(e) {
29-
if ($(window).width() > 768) {
30-
var e0 = e.originalEvent,
31-
delta = e0.wheelDelta || -e0.detail;
32-
this.scrollTop += (delta < 0 ? 1 : -1) * 30;
33-
e.preventDefault();
28+
$("body.fixed-nav .sidebar").on(
29+
"mousewheel DOMMouseScroll wheel",
30+
function (e) {
31+
if ($(window).width() > 768) {
32+
var e0 = e.originalEvent,
33+
delta = e0.wheelDelta || -e0.detail;
34+
this.scrollTop += (delta < 0 ? 1 : -1) * 30;
35+
e.preventDefault();
36+
}
3437
}
35-
});
38+
);
3639

3740
// Scroll to top button appear
38-
$(document).on('scroll', function() {
41+
$(document).on("scroll", function () {
3942
var scrollDistance = $(this).scrollTop();
4043
if (scrollDistance > 100) {
41-
$('.scroll-to-top').fadeIn();
44+
$(".scroll-to-top").fadeIn();
4245
} else {
43-
$('.scroll-to-top').fadeOut();
46+
$(".scroll-to-top").fadeOut();
4447
}
4548
});
4649

4750
// Smooth scrolling using jQuery easing
48-
$(document).on('click', 'a.scroll-to-top', function(e) {
51+
$(document).on("click", "a.scroll-to-top", function (e) {
4952
var $anchor = $(this);
50-
$('html, body').stop().animate({
51-
scrollTop: ($($anchor.attr('href')).offset().top)
52-
}, 1000, 'easeInOutExpo');
53+
$("html, body")
54+
.stop()
55+
.animate(
56+
{
57+
scrollTop: $($anchor.attr("href")).offset().top,
58+
},
59+
1000,
60+
"easeInOutExpo"
61+
);
5362
e.preventDefault();
5463
});
55-
5664
})(jQuery); // End of use strict

client/build/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>POS System</title><link href="./assets/vendor/fontawesome-free/css/all.min.css" rel="stylesheet"/><link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"/><link href="./assets/css/sb-admin-2.min.css" rel="stylesheet"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer"/><script defer="defer" src="/static/js/main.53973d4f.js"></script><link href="/static/css/main.8b32e7a9.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script><script src="https://code.jquery.com/jquery-3.5.1.js"></script><script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script><script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>POS System</title><link href="../assets/vendor/fontawesome-free/css/all.min.css" rel="stylesheet"/><link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"/><link href="../assets/css/sb-admin-2.min.css" rel="stylesheet"/><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer"/><script defer="defer" src="/static/js/main.64cf2e5b.js"></script><link href="/static/css/main.2103f403.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script><script src="https://code.jquery.com/jquery-3.5.1.js"></script><script src="https://cdn.datatables.net/1.12.1/js/jquery.dataTables.min.js"></script><script src="https://cdn.datatables.net/1.12.1/js/dataTables.bootstrap4.min.js"></script></body></html>

client/build/netlify.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[[redirects]]
2+
from = "/*"
3+
to = "/index.html"
4+
status = 200

client/build/static/css/main.2103f403.css

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

client/build/static/css/main.2103f403.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/build/static/css/main.8b32e7a9.css

Lines changed: 0 additions & 2 deletions
This file was deleted.

client/build/static/css/main.8b32e7a9.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/build/static/js/main.53973d4f.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

client/build/static/js/main.53973d4f.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/build/static/js/main.64cf2e5b.js

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

client/build/static/js/main.64cf2e5b.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

client/build/uploads/products/101.png

8.17 MB
Loading
Loading

client/build/uploads/products/3.png

90.4 KB
Loading
Loading
Loading
Loading
Loading
Loading
Loading
10.9 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)