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