From bda54e58bf1cf6f2144c0004124d0fba498960e8 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 24 Dec 2012 12:52:15 +0530 Subject: [PATCH] removed jqplot and updated attributions page --- home/page/attributions/attributions.css | 6 + home/page/attributions/attributions.html | 175 +++++++++++++---------- home/page/attributions/attributions.js | 5 +- website/utils.py | 2 +- 4 files changed, 108 insertions(+), 80 deletions(-) diff --git a/home/page/attributions/attributions.css b/home/page/attributions/attributions.css index e69de29bb2..68ec5160ee 100644 --- a/home/page/attributions/attributions.css +++ b/home/page/attributions/attributions.css @@ -0,0 +1,6 @@ +.layout-attributions table { + width: 70%; +} +.layout-attributions td:first-child { + width: 30%; +} \ No newline at end of file diff --git a/home/page/attributions/attributions.html b/home/page/attributions/attributions.html index ab879b7d48..37ee25bae6 100644 --- a/home/page/attributions/attributions.html +++ b/home/page/attributions/attributions.html @@ -1,83 +1,99 @@ -
- × -

Attributions

+
+
+
+

ERPNext is made using these Awesome Open Source Projects


-

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

-

Website: - https://erpnext.com

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
wnframeworkThe full stack Python + Javascript web application framework on which ERPNext is built.
ERPNextWeb based, Open Source ERP.
Linux Operating SystemThe operating system that brought a revolution in Open Source software.
MySQL DatabaseThe world's most popular Open Source Database.
Apache HTTPD web serverThe Number One HTTP Server On The Internet.
Python Programming LanguageThe "batteries included" language that lets you write elegant code, quickly.

Python Libraries: +
    +
  • MySQLdb +
  • pytz +
  • jinja2 +
  • markdown2 +
  • dateutil +
  • termcolor +
  • python-memcached +
+
Git - Source Code ManagementGit is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

+ Kindly hosted on the web by GitHub: The service that makes it easier for individuals and teams to write better code, faster.
JQuery Javascript LibaryThe write less, do more Javascript Library.
JQuery UI - User Interface LibraryA curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.
Bootstrap CSS FrameworkSleek, intuitive, and powerful front-end framework for faster and easier web development.
Font Awesome - IconsThe iconic font designed for use with Twitter Bootstrap.
TinyMCE Rich Text EditorTinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB.
SlickGridA lightning fast JavaScript grid/spreadsheet.
Flot Charting LibraryAttractive JavaScript plotting for jQuery.
Ace Code EditorHigh Performance Code Editor for the web.
JQuery.Gantt - Gantt ChartsDraw Gantt charts with the famous jQuery ease of development.
JSColor - Color PickerHTML/Javascript Color Picker.
Downloadify - Flash Download WidgetA tiny javascript + Flash library that enables the creation and download of text files without server interaction.
+
-

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

-
    -
  • Linux (GNU)
  • -
  • Apache HTTPD server (web server)
  • -
  • MySQL (database, Percona build)
  • -
  • Git (source code control via Github)
  • -
- -

Programming Languages & Libraries

-
    -
  • Python
  • -
      -
    • Python-MySQL
    • -
    • pytz (timezones)
    • -
    • jinja2 (templating)
    • -
    • markdown2 (markdown parser)
    • -
    • jsmin (javascript minifier)
    • -
    -
  • Javascript
  • -
      -
    • JQuery
    • -
    • JQuery UI (datepicker, sortable)
    • -
    • TinyMCE - text editor
    • -
    • Twitter Bootstrap
    • -
    • Ace - code editor
    • -
    • Slick Grid - report grid
    • -
    • jQPlot - graphs
    • -
    • - JQuery.Gantt - Gantt Chart
    • -
    • JSON2 - JSON builder, parser
    • -
    • JSColor - color picker
    • -
    • - Downloadify - Export CSV files from the browser
    • -
    • - Chosen - a searchable select dropdown
    • -
    -
- -

CSS Frameworks

-
    -
  • Twitter Bootstrap
  • -
- -

Icons

-
    -
  • The Noun Project
  • -
  • Font Awesome: http://fortawesome.github.com/Font-Awesome
  • -
- -

Web Frameworks

-
    -
  • wnframework
  • -
- -

Web Browsers

-
    -
  • Mozilla Firefox
  • -
      -
    • Firebug (debugger)
    • -
    -
  • Apple Safari
  • -
  • Google Chorme
  • -
-
-

ERPNext License

+

ERPNext License: GNU/General Public License

+

ERPNext - Open Source, web based ERP

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

@@ -92,6 +108,9 @@ GNU General Public License for more details.

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

+
+

Note: A link to this page must be easily accessible and all other ERPNext branding must remain as it is.


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

+
\ No newline at end of file diff --git a/home/page/attributions/attributions.js b/home/page/attributions/attributions.js index fc56784431..29eb72f171 100644 --- a/home/page/attributions/attributions.js +++ b/home/page/attributions/attributions.js @@ -1 +1,4 @@ -wn.pages['attributions'].onload = function(wrapper) { } \ No newline at end of file +wn.pages['attributions'].onload = function(wrapper) { + wrapper.appframe = new wn.ui.AppFrame($(wrapper).find(".layout-appframe"), + "Attributions"); +} \ No newline at end of file diff --git a/website/utils.py b/website/utils.py index 079ad21e02..bac87ffb9d 100644 --- a/website/utils.py +++ b/website/utils.py @@ -210,7 +210,7 @@ def get_outer_env(): from `tabWebsite Product Category` t1, `tabItem Group` t2 where t1.item_group = t2.name and ifnull(t2.show_in_website,0)=1 order by t1.idx""", as_dict=1) - products_item = filter(lambda d: d.url.split(".")[0]=="products", top_items)[0] + products_item = filter(lambda d: d.url and d.url.split(".")[0]=="products", top_items)[0] products_item.child_items = products return {