test for turbolink
This commit is contained in:
@@ -444,7 +444,7 @@ $.AdminBSB.browser = {
|
|||||||
}
|
}
|
||||||
//==========================================================================================================================
|
//==========================================================================================================================
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).on('turbolinks:load', function() {
|
||||||
$.AdminBSB.browser.activate();
|
$.AdminBSB.browser.activate();
|
||||||
$.AdminBSB.leftSideBar.activate();
|
$.AdminBSB.leftSideBar.activate();
|
||||||
$.AdminBSB.rightSideBar.activate();
|
$.AdminBSB.rightSideBar.activate();
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
$(document).ready(function(){
|
$(document).on('turbolinks:load', function() {
|
||||||
skinChanger();
|
skinChanger();
|
||||||
activateNotificationAndTasksScroll();
|
activateNotificationAndTasksScroll();
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
//= require BSBMaterial/demo.js
|
//= require BSBMaterial/demo.js
|
||||||
//= require custom.js
|
//= require custom.js
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).on('turbolinks:load', function() {
|
||||||
|
|
||||||
$(".nav-completed").on("click", function(){
|
$(".nav-completed").on("click", function(){
|
||||||
$("#completed").removeClass('hide')
|
$("#completed").removeClass('hide')
|
||||||
|
|||||||
@@ -11,11 +11,12 @@
|
|||||||
// about supported directives.
|
// about supported directives.
|
||||||
//
|
//
|
||||||
//= require jquery
|
//= require jquery
|
||||||
|
//= require jquery.turbolinks
|
||||||
//= require tether
|
//= require tether
|
||||||
|
//= require jquery_ujs
|
||||||
//= require bootstrap/js/popper.min
|
//= require bootstrap/js/popper.min
|
||||||
//= require bootstrap/js/bootstrap-material-design.min
|
//= require bootstrap/js/bootstrap-material-design.min
|
||||||
//= require jquery_nested_form
|
//= require jquery_nested_form
|
||||||
//= require jquery_ujs
|
|
||||||
//= require momentjs/moment
|
//= require momentjs/moment
|
||||||
//= require bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker
|
//= require bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker
|
||||||
//= require multi-select/js/jquery.multi-select.js
|
//= require multi-select/js/jquery.multi-select.js
|
||||||
@@ -26,16 +27,16 @@
|
|||||||
//= require autosize/autosize.js
|
//= require autosize/autosize.js
|
||||||
//= require jquery-countto/jquery.countTo.js
|
//= require jquery-countto/jquery.countTo.js
|
||||||
//= require raphael/raphael.min
|
//= require raphael/raphael.min
|
||||||
//= require morrisjs/morris.js
|
|
||||||
//= require chartjs/Chart.bundle.js
|
//= require chartjs/Chart.bundle.js
|
||||||
//= require fileinput.min
|
//= require fileinput.min
|
||||||
//= require cable
|
//= require cable
|
||||||
|
//= require turbolinks
|
||||||
//= require settings/processing_items
|
//= require settings/processing_items
|
||||||
//= require BSBMaterial/admin.js
|
//= require BSBMaterial/admin.js
|
||||||
//= require BSBMaterial/demo.js
|
//= require BSBMaterial/demo.js
|
||||||
//= require custom.js
|
//= require custom.js
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).on('turbolinks:load', function() {
|
||||||
$('.count-to').countTo();
|
$('.count-to').countTo();
|
||||||
|
|
||||||
//Sales count to
|
//Sales count to
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
$(document).ready(function(){
|
$(document).on('turbolinks:load', function() {
|
||||||
$('body').bootstrapMaterialDesign();
|
$('body').bootstrapMaterialDesign();
|
||||||
|
|
||||||
var height = ($(window).height() - ($('.legal').outerHeight() + $('.user-info').outerHeight() + $('.navbar').innerHeight()));
|
var height = ($(window).height() - ($('.legal').outerHeight() + $('.user-info').outerHeight() + $('.navbar').innerHeight()));
|
||||||
|
|||||||
@@ -1,42 +1,40 @@
|
|||||||
//= require jquery
|
//= require jquery
|
||||||
//= require tether
|
//= require tether
|
||||||
|
//= require jquery_ujs
|
||||||
//= require bootstrap/js/popper.min
|
//= require bootstrap/js/popper.min
|
||||||
//= require bootstrap/js/bootstrap-material-design.min
|
//= require bootstrap/js/bootstrap-material-design.min
|
||||||
//= require jquery_ujs
|
|
||||||
//= require turbolinks
|
|
||||||
//= require cable
|
|
||||||
//= require momentjs/moment
|
//= require momentjs/moment
|
||||||
//= require bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker
|
//= require bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker
|
||||||
//= require jquery-slimscroll/jquery.slimscroll.js
|
//= require jquery-slimscroll/jquery.slimscroll.js
|
||||||
//= require bootstrap-notify/bootstrap-notify.js
|
//= require bootstrap-notify/bootstrap-notify.js
|
||||||
//= require node-waves/waves.js
|
//= require node-waves/waves.js
|
||||||
//= require sweetalert/sweetalert.min.js
|
//= require sweetalert/sweetalert.min.js
|
||||||
|
//= require cable
|
||||||
|
//= require turbolinks
|
||||||
//= require BSBMaterial/admin.js
|
//= require BSBMaterial/admin.js
|
||||||
//= require BSBMaterial/demo.js
|
//= require BSBMaterial/demo.js
|
||||||
//= require custom.js
|
//= require custom.js
|
||||||
|
|
||||||
|
|
||||||
$(document).on('turbolinks:load', function() {
|
$(document).on('turbolinks:load', function() {
|
||||||
$('.datetimepicker').bootstrapMaterialDatePicker({
|
$('.datetimepicker').bootstrapMaterialDatePicker({
|
||||||
format: 'DD-MM-YYYY - HH:mm',
|
format: 'DD-MM-YYYY - HH:mm',
|
||||||
clearButton: true,
|
clearButton: true,
|
||||||
weekStart: 1
|
weekStart: 1
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.datepicker').bootstrapMaterialDatePicker({
|
$('.datepicker').bootstrapMaterialDatePicker({
|
||||||
format: 'DD-MM-YYYY',
|
format: 'DD-MM-YYYY',
|
||||||
clearButton: true,
|
clearButton: true,
|
||||||
weekStart: 1,
|
weekStart: 1,
|
||||||
time: false
|
time: false
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('.timepicker').bootstrapMaterialDatePicker({
|
||||||
|
format: 'HH:mm',
|
||||||
|
clearButton: true,
|
||||||
|
date: false
|
||||||
|
});
|
||||||
|
|
||||||
$('.timepicker').bootstrapMaterialDatePicker({
|
|
||||||
format: 'HH:mm',
|
|
||||||
clearButton: true,
|
|
||||||
date: false
|
|
||||||
});
|
|
||||||
});
|
|
||||||
$(document).ready(function(){
|
|
||||||
// For selected order return
|
// For selected order return
|
||||||
var order_status = "";
|
var order_status = "";
|
||||||
order_status = $(".selected-item").children().find(".orders-order-status").text().substr(0,6).trim();
|
order_status = $(".selected-item").children().find(".orders-order-status").text().substr(0,6).trim();
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
@import "material_icons";
|
||||||
@import "bootstrap/css/bootstrap-material-design.min";
|
@import "bootstrap/css/bootstrap-material-design.min";
|
||||||
@import "node-waves/waves";
|
@import "node-waves/waves";
|
||||||
@import "animate-css/animate";
|
@import "animate-css/animate";
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
<link rel="icon" href="favicon.ico" type="image/x-icon">
|
||||||
|
|
||||||
<!-- Google Fonts -->
|
<!-- Google Fonts -->
|
||||||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
|
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
|
||||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css"> -->
|
||||||
|
|
||||||
<!-- Bootstrap Core Css -->
|
<!-- Bootstrap Core Css -->
|
||||||
<!-- <link href="plugins/bootstrap/css/bootstrap.css" rel="stylesheet"> -->
|
<!-- <link href="plugins/bootstrap/css/bootstrap.css" rel="stylesheet"> -->
|
||||||
@@ -101,9 +101,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).on('turbolinks:load', function () {
|
$(document).on('turbolinks:load', function () {
|
||||||
|
$("#login_form_password").focus();
|
||||||
|
|
||||||
$(".pin_pad").click(function (event) {
|
$(".pin_pad").click(function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
console.log($(this).data("value"));
|
|
||||||
var value = $(this).data("value");
|
var value = $(this).data("value");
|
||||||
|
|
||||||
if (value == "CLR") {
|
if (value == "CLR") {
|
||||||
|
|||||||
@@ -39,9 +39,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% flash.each do |type, message| %>
|
<% flash.each do |type, message| %>
|
||||||
<% puts type
|
<%
|
||||||
puts message
|
|
||||||
puts "ssssssssssssss"
|
|
||||||
if type == "notice"
|
if type == "notice"
|
||||||
color = "alert-success"
|
color = "alert-success"
|
||||||
elsif type == "error"
|
elsif type == "error"
|
||||||
@@ -167,8 +165,7 @@
|
|||||||
var animateExit = $("#noti").attr('data-animate-exit');
|
var animateExit = $("#noti").attr('data-animate-exit');
|
||||||
var colorName = $("#noti").attr('data-color-name');
|
var colorName = $("#noti").attr('data-color-name');
|
||||||
var text = $("#noti").attr('data-message');
|
var text = $("#noti").attr('data-message');
|
||||||
console.log(text);
|
|
||||||
console.log(colorName);
|
|
||||||
if (text != null || colorName != null){
|
if (text != null || colorName != null){
|
||||||
showNotification(colorName, text, placementFrom, placementAlign, animateEnter, animateExit);
|
showNotification(colorName, text, placementFrom, placementAlign, animateEnter, animateExit);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ mm:
|
|||||||
category: "အမျိုးအစား"
|
category: "အမျိုးအစား"
|
||||||
processed: "လုပ်ဆောင်ခဲ့ပြီး"
|
processed: "လုပ်ဆောင်ခဲ့ပြီး"
|
||||||
completed: "ဆောင်ရွက်ပြီးစီး"
|
completed: "ဆောင်ရွက်ပြီးစီး"
|
||||||
tax_profile: "Tad Profile"
|
tax_profile: "Tax Profile"
|
||||||
payment_methods: "Payment Methods"
|
payment_methods: "Payment Methods"
|
||||||
accounts: "Accounts"
|
accounts: "Accounts"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user