Gauravwagh / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
Other
0 stars 0 forks source link

js cleanup #315

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
still a mess with the javascripts. cleanup. rename. add docs.

split into:
– original admin-interface js (most of them are empty anyway)
– grappelli js
– grappelli-admin-tools js

if possible, use plugins/widgets consistently. currently, it´s some UI 
widgets, some jquery plugins and some jquery functions.

structure:
/media/js/ ... original js
/media/js/grappelli/ ... grappelli js
/media/js/grappelli_admin_tools/ ... grappelli admin tools js

changes:
– remove changelist-stuff from grappelli.js > into grp_changelist
– remove admin-tools-stuff from grappelli.js > into grp_admintools_dashboard
– merge admin-tools-deletables with grp_admintools_dashboard
– merge collapsible and collapsible_group

final grappelli-folder:
– jquery.grp_changelist.js
– jquery.grp_collapsibles.js
– jquery.grp_inlines.js
– jquery.grp_main.js
– jquery.grp_related.js
– jquery.grp_timepicker.js

final grappelli-admin-tools-folder:
– jquery.grp_admintools_bookmarks.js
– jquery.grp_admintools_dashboard.js
– jquery.grp_admintools_main.js
– jquery.grp_admintools_menu.js
– (jquery.cookie.min.js)
– (jquery.json.min.js)

Original issue reported on code.google.com by sehmaschine on 4 Dec 2010 at 5:45

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 4 Dec 2010 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 19 Dec 2010 at 4:26