deprecated dashboard

This commit is contained in:
Nabin Hait
2012-10-05 12:11:23 +05:30
parent 367f059895
commit 5417f5666c
13 changed files with 2 additions and 605 deletions

View File

@@ -30,7 +30,6 @@ erpnext.modules = {
'Calendar': 'calendar',
'Messages': 'messages',
'Knowledge Base': 'questions',
'Dashboard': 'dashboard'
}
// wn.modules is used in breadcrumbs for getting module home page
@@ -70,7 +69,6 @@ wn.module_css_map = {
'Website': 'leaf-green',
'Activity': 'brown',
'Setup': 'grey',
'Dashboard': 'bright-green',
'To Do': 'bright-yellow',
'Messages': 'pink',
'Calendar': 'peacock',

View File

@@ -65,7 +65,6 @@ span, div, td, input, textarea, button, select {
.small-module-icons-accounts{ background-position: 0 0; width: 14px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
.small-module-icons-selling{ background-position: 0 -67px; width: 14px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
.small-module-icons-calendar{ background-position: 0 -134px; width: 15px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
.small-module-icons-dashboard{ background-position: 0 -201px; width: 17px; height: 12px; }
.small-module-icons-feed{ background-position: 0 -263px; width: 14px; height: 17px; margin-top: -2px; margin-bottom: -2px; }
.small-module-icons-hr{ background-position: 0 -330px; width: 17px; height: 14px; margin-top: -1px; }
.small-module-icons-kb{ background-position: 0 -394px; width: 10px; height: 17px; margin-top: -2px; margin-bottom: -2px; }

View File

@@ -76,12 +76,6 @@ erpnext.toolbar.add_modules = function() {
data-module="%(module)s">%(module_label)s</a></li>', args));
}
}
// dasboard for accounts system manager
if(user_roles.indexOf("Accounts Manager")!=-1) {
$('.navbar .modules').append('<li><a href="#!dashboard" \
data-module="Dashboard">Dashboard</a></li>');
}
// setup for system manager
if(user_roles.indexOf("System Manager")!=-1) {