From 3353ad42bccf3ce4c1616f917943ef707b87ee0e Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 17 Mar 2015 12:45:44 +0530 Subject: [PATCH] setup wizard bounce animation when working --- erpnext/setup/page/setup_wizard/setup_wizard.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/erpnext/setup/page/setup_wizard/setup_wizard.js b/erpnext/setup/page/setup_wizard/setup_wizard.js index b79facc7cd..ef39b034cf 100644 --- a/erpnext/setup/page/setup_wizard/setup_wizard.js +++ b/erpnext/setup/page/setup_wizard/setup_wizard.js @@ -8,6 +8,8 @@ frappe.pages['setup-wizard'].on_page_load = function(wrapper) { $(".navbar:first").toggle(false); $("body").css({"padding-top":"30px"}); + frappe.require("/assets/frappe/css/animate.min.css"); + var wizard_settings = { page_name: "setup-wizard", parent: wrapper, @@ -579,11 +581,13 @@ $.extend(erpnext.wiz, { }, working_html: function() { - return frappe.render_template("setup_wizard_message", { + var msg = $(frappe.render_template("setup_wizard_message", { image: "/assets/frappe/images/ui/bubble-tea-smile.svg", title: __("Setting Up"), message: __('Sit tight while your system is being setup. This may take a few moments.') - }); + })); + msg.find(".setup-wizard-message-image").addClass("animated infinite bounce"); + return msg.html(); }, complete_html: function() {