mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
added module pages and other css updates
This commit is contained in:
@@ -14,7 +14,7 @@ erpnext.navbar.navbar = Class.extend({
|
||||
$('.brand').html(wn.boot.website_settings.brand_html);
|
||||
this.make_items();
|
||||
$('.dropdown-toggle').dropdown();
|
||||
pull-right },
|
||||
},
|
||||
make: function() {
|
||||
$('header').append('<div class="navbar navbar-fixed-top">\
|
||||
<div class="navbar-inner">\
|
||||
@@ -54,7 +54,11 @@ pull-right },
|
||||
$parent_li.addClass('dropdown');
|
||||
$parent_li.find('a:first').addClass('dropdown-toggle')
|
||||
.attr('data-toggle', 'dropdown')
|
||||
.append('<b class="caret"></b>');
|
||||
.attr('href', '')
|
||||
.append('<b class="caret"></b>')
|
||||
.click(function() {
|
||||
return false;
|
||||
});
|
||||
$parent_li.append('<ul class="dropdown-menu"></ul>');
|
||||
}
|
||||
item.route = item.url || item.custom_page;
|
||||
@@ -79,6 +83,7 @@ erpnext.Footer = Class.extend({
|
||||
this.make_items();
|
||||
},
|
||||
make_items: function() {
|
||||
alert(16);
|
||||
var items = wn.boot.website_menus
|
||||
for(var i=0;i<items.length;i++) {
|
||||
var item = items[i];
|
||||
|
||||
0
erpnext/website/page/website_home/__init__.py
Normal file
0
erpnext/website/page/website_home/__init__.py
Normal file
28
erpnext/website/page/website_home/website_home.txt
Normal file
28
erpnext/website/page/website_home/website_home.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
# Page, website-home
|
||||
[
|
||||
|
||||
# These values are common in all dictionaries
|
||||
{
|
||||
'creation': '2012-02-21 13:23:51',
|
||||
'docstatus': 0,
|
||||
'modified': '2012-02-21 13:23:51',
|
||||
'modified_by': u'Administrator',
|
||||
'owner': u'Administrator'
|
||||
},
|
||||
|
||||
# These values are common for all Page
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'module': u'Website',
|
||||
'name': '__common__',
|
||||
'page_name': u'website-home',
|
||||
'standard': u'Yes',
|
||||
'title': u'Website Home'
|
||||
},
|
||||
|
||||
# Page, website-home
|
||||
{
|
||||
'doctype': 'Page',
|
||||
'name': u'website-home'
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user