test for js

This commit is contained in:
Yan
2017-10-27 16:53:32 +06:30
parent 445d63e286
commit 61c9fd0c81
15 changed files with 17 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
$(function () {
$(document).on('turbolinks:load', function () {
//Widgets count
$('.count-to').countTo();

View File

@@ -12,12 +12,12 @@
//
//= require jquery
//= require tether
//= require turbolinks
//= require cable
//= require bootstrap/js/popper.min
//= require bootstrap/js/bootstrap-material-design.min
//= require jquery_nested_form
//= require jquery_ujs
//= require turbolinks
//= require cable
//= require settings/processing_items
//= require momentjs/moment
//= require bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker

View File

@@ -1,6 +1,6 @@
$(document).on('turbolinks:load', function() {
// $("body").boostrapMaterialDesign();
$('body').bootstrapMaterialDesign();
var height = ($(window).height() - ($('.legal').outerHeight() + $('.user-info').outerHeight() + $('.navbar').innerHeight()));
$('#custom-slimscroll').slimScroll({

2
app/assets/plugins/bootstrap/css/bootstrap-material-design.min.css vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

2
app/assets/plugins/bootstrap/js/bootstrap-material-design.min.js vendored Executable file → Normal file

File diff suppressed because one or more lines are too long

View File

@@ -14,7 +14,7 @@
<%= javascript_include_tag 'CRM', 'data-turbolinks-track': 'reload' %>
</head>
<body class="theme-red">
<body class="theme-indigo">
<!-- Page Loader -->
<div class="page-loader-wrapper">
<div class="loader">

View File

@@ -18,7 +18,7 @@
<%= javascript_include_tag 'OQS', 'data-turbolinks-track': 'reload' %>
</head>
<body class="theme-red">
<body class="theme-indigo">
<!-- Page Loader -->
<div class="page-loader-wrapper">
<div class="loader">

View File

@@ -14,7 +14,7 @@
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body class="theme-red">
<body class="theme-indigo">
<!-- Page Loader -->
<div class="page-loader-wrapper">
<div class="loader">
@@ -56,7 +56,7 @@
data-animate-enter="" data-animate-exit="" data-color-name="<%=color%>" >
</p>
<% end %>
<%= yield %>
</section>
<%= yield %>
</section>
</body>
</html>

View File

@@ -14,7 +14,7 @@
<%= javascript_include_tag 'inventory', 'data-turbolinks-track': 'reload' %>
</head>
<body class="theme-red">
<body class="theme-indigo">
<!-- Page Loader -->
<div class="page-loader-wrapper">
<div class="loader">

View File

@@ -14,7 +14,7 @@
<%= javascript_include_tag 'origami', 'data-turbolinks-track': 'reload' %>
</head>
<body class="theme-red">
<body class="theme-indigo">
<!-- Page Loader -->
<div class="page-loader-wrapper">
<div class="loader">

View File

@@ -42,6 +42,6 @@
<script type="text/javascript">
$(document).on('turbolinks:load', function() {
$('body').bootstrapMaterialDesign();
});
$('body').bootstrapMaterialDesign();
});
</script>

View File

@@ -35,7 +35,6 @@
</div>
</div>
</div>
<script type="text/javascript">
$(document).on('turbolinks:load', function() {
$('body').bootstrapMaterialDesign();

View File

@@ -10,4 +10,3 @@
</div>
<br>
<%= render 'form', settings_zone: @settings_zone %>