Initial Commit
This commit is contained in:
33
public/back/vendors/scripts/steps-setting.js
vendored
Normal file
33
public/back/vendors/scripts/steps-setting.js
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
$(".tab-wizard").steps({
|
||||
headerTag: "h5",
|
||||
bodyTag: "section",
|
||||
transitionEffect: "fade",
|
||||
titleTemplate: '<span class="step">#index#</span> #title#',
|
||||
labels: {
|
||||
finish: "Submit"
|
||||
},
|
||||
onStepChanged: function (event, currentIndex, priorIndex) {
|
||||
$('.steps .current').prevAll().addClass('disabled');
|
||||
},
|
||||
onFinished: function (event, currentIndex) {
|
||||
$('#success-modal').modal('show');
|
||||
}
|
||||
});
|
||||
|
||||
$(".tab-wizard2").steps({
|
||||
headerTag: "h5",
|
||||
bodyTag: "section",
|
||||
transitionEffect: "fade",
|
||||
titleTemplate: '<span class="step">#index#</span> <span class="info">#title#</span>',
|
||||
labels: {
|
||||
finish: "Submit",
|
||||
next: "Next",
|
||||
previous: "Previous",
|
||||
},
|
||||
onStepChanged: function(event, currentIndex, priorIndex) {
|
||||
$('.steps .current').prevAll().addClass('disabled');
|
||||
},
|
||||
onFinished: function(event, currentIndex) {
|
||||
$('#success-modal-btn').trigger('click');
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user