I almost done the admin mobilization! I have to get rid of an error on design.html, when done, I'll send you patches!
Thanks! 2011/11/29 Angelo Compagnucci <angelo.compagnu...@gmail.com>: > I'm astonished, > > I'm trying to use admin from my reeeeaaaaly old htc g1 with android > and it's totally usable and responsive! Great! > > I want mobile admin as soon as possible! > > There is a way to know the current porting status? What files left to be > edited? > > I'll look myself and if I find the response by myself, i'll send you my > patches! > > Thank you! > > 2011/11/28 Massimo Di Pierro <massimo.dipie...@gmail.com>: >> No >> >> On Nov 28, 1:48 am, Angelo Compagnucci <angelo.compagnu...@gmail.com> >> wrote: >>> Great! >>> >>> I'll work on it a soon as possible! >>> >>> Are you using the Auto-initialization of form elements ? >>> >>> Thanks! >>> >>> 2011/11/28 Massimo Di Pierro <massimo.dipie...@gmail.com>: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> > I could use some help. In trunk there is code for mobile admin. >>> >>> > That means that if you visit admin from a mobile device it will use >>> > jquery.mobile. This is a work in progress and only some pages have >>> > been implemented but you can help. It is easy. >>> >>> > In applications/admin/controllers/default.py there is this magic code: >>> >>> > is_mobile=request.user_agent().is_mobile >>> > if is_mobile: >>> > response.view = >>> > response.view.replace('default/','default.mobile/') >>> >>> > so if you use a mobile is_mobile==True and is will pick up views from >>> > views/default.mobile instead of views/default. >>> >>> > I copied all views from views/default into views/default.mobile and I >>> > have "fixed" only index.html, site.html, edit.html about.html. The >>> > other *.html files need work, this is where you can help.... >>> >>> > - replace {{extend 'layout.html'}} with {{extend 'default.mobile/ >>> > layout.html}}. >>> > - remove any extra text that does not belong to a mobile >>> > - replace <ul> with <ul data-role="listview"> >>> > - replace all external links (i.e. not internal to admin) from <a...> >>> > to <a rel="external"...> >>> >>> > design.html is going to need some extra work. >>> >>> > If you can help send me the modified files. >>> >>> > Also let me know if you have comments or suggestions. >>> >>> > Massimo >>> >>> -- >>> Profile:http://www.gild.com/compagnucciangelo >>> Register on Gild:http://www.gild.com/referral/compagnucciangelo > > > > -- > Profile: http://www.gild.com/compagnucciangelo > Register on Gild: http://www.gild.com/referral/compagnucciangelo -- Profile: http://www.gild.com/compagnucciangelo Register on Gild: http://www.gild.com/referral/compagnucciangelo