From 4c1e9e7db4d8a6e0bb04553870df0e9a6993f6a2 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 1 Mar 2012 13:30:34 +0530 Subject: [PATCH] added attributions pages --- css/all-app.css | 4 +- css/all-web.css | 4 +- erpnext/home/page/activity/activity.js | 3 +- erpnext/home/page/attributions/__init__.py | 0 .../home/page/attributions/attributions.css | 0 .../home/page/attributions/attributions.html | 91 +++++++++++++++++++ .../home/page/attributions/attributions.js | 1 + .../home/page/attributions/attributions.py | 1 + .../home/page/attributions/attributions.txt | 28 ++++++ erpnext/startup/startup.css | 2 +- erpnext/startup/startup.js | 2 +- js/all-app.js | 2 +- js/all-web.js | 2 +- version.num | 2 +- 14 files changed, 132 insertions(+), 10 deletions(-) create mode 100644 erpnext/home/page/attributions/__init__.py create mode 100644 erpnext/home/page/attributions/attributions.css create mode 100644 erpnext/home/page/attributions/attributions.html create mode 100644 erpnext/home/page/attributions/attributions.js create mode 100644 erpnext/home/page/attributions/attributions.py create mode 100644 erpnext/home/page/attributions/attributions.txt diff --git a/css/all-app.css b/css/all-app.css index b2fd2e5732..97dc509fb9 100644 --- a/css/all-app.css +++ b/css/all-app.css @@ -1043,7 +1043,7 @@ div.dialog_head { } div.dialog_body { - padding: 8px 4px 16px 4px; + padding: 8px 8px 16px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; @@ -2812,7 +2812,7 @@ body { } .erpnext-footer { - margin: 3px auto; + margin: 11px auto; text-align: center; } diff --git a/css/all-web.css b/css/all-web.css index 9359de898e..c8eb20fd76 100644 --- a/css/all-web.css +++ b/css/all-web.css @@ -362,7 +362,7 @@ div.dialog_head { } div.dialog_body { - padding: 8px 4px 16px 4px; + padding: 8px 8px 16px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; @@ -1620,7 +1620,7 @@ body { } .erpnext-footer { - margin: 3px auto; + margin: 11px auto; text-align: center; } diff --git a/erpnext/home/page/activity/activity.js b/erpnext/home/page/activity/activity.js index d8e22ce809..feea380e62 100644 --- a/erpnext/home/page/activity/activity.js +++ b/erpnext/home/page/activity/activity.js @@ -15,8 +15,9 @@ erpnext.ActivityFeed = Class.extend({ this.scrub_data(data); this.add_date_separator(row, data); $(row).append(sprintf('
\ + \ + max-width: 24px;"> \ %(feed_type)s\ %(link)s %(subject)s
', data)); }, diff --git a/erpnext/home/page/attributions/__init__.py b/erpnext/home/page/attributions/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/home/page/attributions/attributions.css b/erpnext/home/page/attributions/attributions.css new file mode 100644 index 0000000000..e69de29bb2 diff --git a/erpnext/home/page/attributions/attributions.html b/erpnext/home/page/attributions/attributions.html new file mode 100644 index 0000000000..72703c85e6 --- /dev/null +++ b/erpnext/home/page/attributions/attributions.html @@ -0,0 +1,91 @@ +
+ × +

Attributions

+
+

Source Code: + https://github.com/webnotes/erpnext

+

Website: + https://erpnext.com

+
+

ERPNext is an Open Source project and is possible because of the work of + thousands of software developers, companies and designers who have contributed their + work to the community. We have tried to list as many projects as possible that are + used by ERPNext, but this list may not be exhaustive.

+ + +

Server

+ + +

Programming Languages & Libraries

+ + +

CSS Frameworks

+ + +

Icons

+ + +

Web Frameworks

+ + +

Web Browsers

+ +
+

ERPNext License

+

ERPNext - Open Source, web based ERP

+

Copyright © 2008 onwards, Web Notes Technologies Pvt Ltd, India

+ +

This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version.

+ +

This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details.

+ +

For complete license see http://www.gnu.org/licenses/

+
+

For more information please write to us at support@erpnext.com

+
\ No newline at end of file diff --git a/erpnext/home/page/attributions/attributions.js b/erpnext/home/page/attributions/attributions.js new file mode 100644 index 0000000000..fc56784431 --- /dev/null +++ b/erpnext/home/page/attributions/attributions.js @@ -0,0 +1 @@ +wn.pages['attributions'].onload = function(wrapper) { } \ No newline at end of file diff --git a/erpnext/home/page/attributions/attributions.py b/erpnext/home/page/attributions/attributions.py new file mode 100644 index 0000000000..f807eb0a4d --- /dev/null +++ b/erpnext/home/page/attributions/attributions.py @@ -0,0 +1 @@ +import webnotes \ No newline at end of file diff --git a/erpnext/home/page/attributions/attributions.txt b/erpnext/home/page/attributions/attributions.txt new file mode 100644 index 0000000000..a15adb97b7 --- /dev/null +++ b/erpnext/home/page/attributions/attributions.txt @@ -0,0 +1,28 @@ +# Page, attributions +[ + + # These values are common in all dictionaries + { + 'creation': '2012-03-01 12:30:42', + 'docstatus': 0, + 'modified': '2012-03-01 12:30:42', + 'modified_by': u'Administrator', + 'owner': u'Administrator' + }, + + # These values are common for all Page + { + 'doctype': 'Page', + 'module': u'Home', + 'name': '__common__', + 'page_name': u'attributions', + 'standard': u'Yes', + 'title': u'Attributions' + }, + + # Page, attributions + { + 'doctype': 'Page', + 'name': u'attributions' + } +] \ No newline at end of file diff --git a/erpnext/startup/startup.css b/erpnext/startup/startup.css index ae0ef606f1..1ce026449b 100644 --- a/erpnext/startup/startup.css +++ b/erpnext/startup/startup.css @@ -16,7 +16,7 @@ body { } .erpnext-footer { - margin: 3px auto; + margin: 11px auto; text-align: center; } diff --git a/erpnext/startup/startup.js b/erpnext/startup/startup.js index 9a281e25e8..0de1704df8 100644 --- a/erpnext/startup/startup.js +++ b/erpnext/startup/startup.js @@ -73,7 +73,7 @@ erpnext.startup.start = function() { // border to the body // ------------------ $('footer').html(''); + ERPNext | Attributions and License'); // complete registration if(in_list(user_roles,'System Manager') && (wn.boot.setup_complete=='No')) { diff --git a/js/all-app.js b/js/all-app.js index 3c65618e1a..5d37f478a8 100644 --- a/js/all-app.js +++ b/js/all-app.js @@ -2236,7 +2236,7 @@ erpnext.startup.start=function(){$('#startup_div').html('Starting up...').toggle if(wn.boot.user_background){erpnext.set_user_background(wn.boot.user_background);} if(user=='Guest'){if(wn.boot.website_settings.title_prefix){wn.title_prefix=wn.boot.website_settings.title_prefix;}}else{wn.boot.profile.allow_modules=wn.boot.profile.allow_modules.concat(['To Do','Knowledge Base','Calendar','Activity']) erpnext.toolbar.setup();erpnext.startup.set_periodic_updates();$('footer').html('');if(in_list(user_roles,'System Manager')&&(wn.boot.setup_complete=='No')){wn.require("erpnext/startup/js/complete_setup.js");erpnext.complete_setup();}} + ERPNext | Attributions and License');if(in_list(user_roles,'System Manager')&&(wn.boot.setup_complete=='No')){wn.require("erpnext/startup/js/complete_setup.js");erpnext.complete_setup();}} $('#startup_div').toggle(false);} show_chart_browser=function(nm,chart_type){var call_back=function(){if(nm=='Sales Browser'){var sb_obj=new SalesBrowser();sb_obj.set_val(chart_type);} else if(nm=='Accounts Browser') diff --git a/js/all-web.js b/js/all-web.js index e802a17e9d..b7c9f358b6 100644 --- a/js/all-web.js +++ b/js/all-web.js @@ -1084,7 +1084,7 @@ erpnext.startup.start=function(){$('#startup_div').html('Starting up...').toggle if(wn.boot.user_background){erpnext.set_user_background(wn.boot.user_background);} if(user=='Guest'){if(wn.boot.website_settings.title_prefix){wn.title_prefix=wn.boot.website_settings.title_prefix;}}else{wn.boot.profile.allow_modules=wn.boot.profile.allow_modules.concat(['To Do','Knowledge Base','Calendar','Activity']) erpnext.toolbar.setup();erpnext.startup.set_periodic_updates();$('footer').html('');if(in_list(user_roles,'System Manager')&&(wn.boot.setup_complete=='No')){wn.require("erpnext/startup/js/complete_setup.js");erpnext.complete_setup();}} + ERPNext | Attributions and License');if(in_list(user_roles,'System Manager')&&(wn.boot.setup_complete=='No')){wn.require("erpnext/startup/js/complete_setup.js");erpnext.complete_setup();}} $('#startup_div').toggle(false);} show_chart_browser=function(nm,chart_type){var call_back=function(){if(nm=='Sales Browser'){var sb_obj=new SalesBrowser();sb_obj.set_val(chart_type);} else if(nm=='Accounts Browser') diff --git a/version.num b/version.num index 19e03cffa3..eb90589d8d 100644 --- a/version.num +++ b/version.num @@ -1 +1 @@ -776 \ No newline at end of file +780 \ No newline at end of file