ready_boot_dash 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/Gemfile +6 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +199 -0
  6. data/Rakefile +2 -0
  7. data/bin/console +14 -0
  8. data/bin/setup +8 -0
  9. data/lib/ready_boot_dash/version.rb +3 -0
  10. data/lib/ready_boot_dash.rb +5 -0
  11. data/ready_boot_dash.gemspec +31 -0
  12. data/vendor/assets/images/.keep +0 -0
  13. data/vendor/assets/images/menu.png +0 -0
  14. data/vendor/assets/images/menu2.png +0 -0
  15. data/vendor/assets/images/profile.jpg +0 -0
  16. data/vendor/assets/javascripts/migrate-template/core/bootstrap.min.js +7 -0
  17. data/vendor/assets/javascripts/migrate-template/core/jquery.3.2.1.min.js +4 -0
  18. data/vendor/assets/javascripts/migrate-template/core/popper.min.js +4 -0
  19. data/vendor/assets/javascripts/migrate-template/demo.js +163 -0
  20. data/vendor/assets/javascripts/migrate-template/plugin/bootstrap-notify/bootstrap-notify.min.js +1 -0
  21. data/vendor/assets/javascripts/migrate-template/plugin/bootstrap-toggle/bootstrap-toggle.min.js +9 -0
  22. data/vendor/assets/javascripts/migrate-template/plugin/chart-circle/circles.min.js +7 -0
  23. data/vendor/assets/javascripts/migrate-template/plugin/chartist/chartist.min.js +10 -0
  24. data/vendor/assets/javascripts/migrate-template/plugin/chartist/plugin/chartist-plugin-tooltip.min.js +213 -0
  25. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/jquery.mapael.min.js +4 -0
  26. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/README.txt +3 -0
  27. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/france_departments.js +165 -0
  28. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/france_departments.min.js +5 -0
  29. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/usa_states.js +148 -0
  30. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/usa_states.min.js +2 -0
  31. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/world_countries.js +229 -0
  32. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/world_countries.min.js +5 -0
  33. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/world_countries_mercator.js +285 -0
  34. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/world_countries_mercator.min.js +4 -0
  35. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/world_countries_miller.js +322 -0
  36. data/vendor/assets/javascripts/migrate-template/plugin/jquery-mapael/maps/world_countries_miller.min.js +3 -0
  37. data/vendor/assets/javascripts/migrate-template/plugin/jquery-scrollbar/jquery.scrollbar.min.js +16 -0
  38. data/vendor/assets/javascripts/migrate-template/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js +8 -0
  39. data/vendor/assets/javascripts/migrate-template/ready.js +57 -0
  40. data/vendor/assets/javascripts/migrate-template/ready.min.js +2 -0
  41. data/vendor/assets/javascripts/ready_boot_dash.js +17 -0
  42. data/vendor/assets/javascripts/vendor/gijgo.min.js +1 -0
  43. data/vendor/assets/javascripts/vendor/moment.js +4506 -0
  44. data/vendor/assets/javascripts/vendor/pcsFormatNumber.jquery.js +44 -0
  45. data/vendor/assets/stylesheets/admin/accounts.scss +3 -0
  46. data/vendor/assets/stylesheets/admin/categories.scss +3 -0
  47. data/vendor/assets/stylesheets/admin/customers.scss +3 -0
  48. data/vendor/assets/stylesheets/admin/dashboards.scss +3 -0
  49. data/vendor/assets/stylesheets/admin/invoices.scss +3 -0
  50. data/vendor/assets/stylesheets/admin/payments.scss +3 -0
  51. data/vendor/assets/stylesheets/admin/products.scss +3 -0
  52. data/vendor/assets/stylesheets/admin/taxes.scss +3 -0
  53. data/vendor/assets/stylesheets/admin/vendors.scss +3 -0
  54. data/vendor/assets/stylesheets/core-style.css +1753 -0
  55. data/vendor/assets/stylesheets/fonts/gijgo-material.eot +0 -0
  56. data/vendor/assets/stylesheets/fonts/gijgo-material.svg +91 -0
  57. data/vendor/assets/stylesheets/fonts/gijgo-material.ttf +0 -0
  58. data/vendor/assets/stylesheets/fonts/gijgo-material.woff +0 -0
  59. data/vendor/assets/stylesheets/fonts/line-awesome.eot +0 -0
  60. data/vendor/assets/stylesheets/fonts/line-awesome.svg +2628 -0
  61. data/vendor/assets/stylesheets/fonts/line-awesome.ttf +0 -0
  62. data/vendor/assets/stylesheets/fonts/line-awesome.woff +0 -0
  63. data/vendor/assets/stylesheets/fonts/line-awesome.woff2 +0 -0
  64. data/vendor/assets/stylesheets/migrate-template/bootstrap.min.css +7 -0
  65. data/vendor/assets/stylesheets/migrate-template/demo.css +101 -0
  66. data/vendor/assets/stylesheets/migrate-template/pagination.css +104 -0
  67. data/vendor/assets/stylesheets/migrate-template/ready.css +6674 -0
  68. data/vendor/assets/stylesheets/migrate-template/ready.min.css +15 -0
  69. data/vendor/assets/stylesheets/ready_boot_dash.scss +62 -0
  70. data/vendor/assets/stylesheets/vendor/animate.css +12 -0
  71. data/vendor/assets/stylesheets/vendor/bootstrap.min.css +7 -0
  72. data/vendor/assets/stylesheets/vendor/classy-nav.min.css +1 -0
  73. data/vendor/assets/stylesheets/vendor/font-awesome.min.css +4 -0
  74. data/vendor/assets/stylesheets/vendor/gijgo.css +2689 -0
  75. data/vendor/assets/stylesheets/vendor/jquery-ui.min.css +7 -0
  76. data/vendor/assets/stylesheets/vendor/magnific-popup.css +1 -0
  77. data/vendor/assets/stylesheets/vendor/nice-select.css +185 -0
  78. data/vendor/assets/stylesheets/vendor/owl.carousel.css +216 -0
  79. data/vendor/assets/stylesheets/vendor/style.css +13 -0
  80. metadata +207 -0
@@ -0,0 +1,44 @@
1
+ /*
2
+ @Author: Pasquale Cappa Spina;
3
+ @Website: http://pasqualecappaspina.com;
4
+ @Description: Plugin jQuery for format number insert in input;
5
+ */
6
+
7
+
8
+ (function ( $ ) {
9
+
10
+ $.fn.pcsFormatNumber = function( options ) {
11
+
12
+ // Default options.
13
+ var settings = $.extend({
14
+ // These are the defaults.
15
+ decimal_separator: ".",
16
+ number_separator: ",",
17
+ currency: "€",
18
+ to_fixed: 2
19
+ }, options );
20
+
21
+ // Format
22
+ var el = $(this);
23
+ var val = el.val();
24
+ el.val(formatNumber(val.replace(settings.decimal_separator, settings.number_separator), settings.currency));
25
+
26
+ el.change(function(event) {
27
+ var val = $(this).val();
28
+
29
+ $(this).val(formatNumber(val, settings.currency));
30
+ });
31
+
32
+ // Functions
33
+ function formatNumber(number, currency) {
34
+ number = number.replace(currency, '');
35
+ number = number.replace(settings.decimal_separator, "");
36
+ number = number.replace(settings.number_separator, settings.decimal_separator);
37
+ number = Number(number.trim());
38
+
39
+ return currency + ' ' + number.toFixed(settings.to_fixed).replace(/(\d)(?=(\d{3})+\.)/g, '$1'+settings.number_separator).replace(settings.decimal_separator, settings.number_separator).replace(settings.number_separator, settings.decimal_separator);
40
+ }
41
+
42
+ };
43
+
44
+ }( jQuery ));
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/accounts controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/categories controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/customers controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/dashboards controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/invoices controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/payments controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/products controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/taxes controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/
@@ -0,0 +1,3 @@
1
+ // Place all the styles related to the admin/vendors controller here.
2
+ // They will automatically be included in application.css.
3
+ // You can use Sass (SCSS) here: http://sass-lang.com/