starting up
This commit is contained in:
parent
a8ad3907db
commit
9c7a01ade9
@ -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
|
||||||
|
@ -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'))
|
||||||
}
|
}
|
@ -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
|
||||||
|
@ -1 +1 @@
|
|||||||
191
|
192
|
Loading…
x
Reference in New Issue
Block a user