starting up

This commit is contained in:
Rushabh Mehta 2012-01-25 11:04:54 +05:30
parent a8ad3907db
commit 9c7a01ade9
4 changed files with 10 additions and 7 deletions

View File

@ -11,6 +11,8 @@ erpnext.startup.set_globals = function() {
} }
erpnext.startup.start = function() { erpnext.startup.start = function() {
$('#startup_div').html('Starting up...').toggle(true);
erpnext.startup.set_globals(); erpnext.startup.set_globals();
if(user == 'Guest'){ if(user == 'Guest'){
@ -33,6 +35,7 @@ erpnext.startup.start = function() {
$('footer').html('<div class="erpnext-footer">\ $('footer').html('<div class="erpnext-footer">\
Powered by <a href="https://erpnext.com">ERPNext</a></div>'); Powered by <a href="https://erpnext.com">ERPNext</a></div>');
$('#startup_div').toggle(false);
} }
// chart of accounts // chart of accounts

View File

@ -1,17 +1,17 @@
#!python #!python
from webnotes.model.doc import getsingle from webnotes.model.doc import getsingle
from jinja2 import Template
home_settings = getsingle('Home Settings')
html= """ temp = Template("""
<div class="layout_wrapper"> <div class="layout_wrapper">
<div id="content-home"> <div id="content-home">
%(banner_html)s {{ home_settings.banner_html }}
</div> </div>
</div> </div>
""" % home_settings """)
out = { out = {
"content": html "content": temp.render(home_settings = getsingle('Home Settings'))
} }

View File

@ -3,7 +3,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<title>ERPNext</title> <title>ERPNext</title>
<meta name="author" content=""> <meta name="author" content="">
<script type="text/javascript">window._version_number="191"; <script type="text/javascript">window._version_number="192";
/* /*
* lib/js/wn/class.js * lib/js/wn/class.js

View File

@ -1 +1 @@
191 192