The admin upload widget you see is actually handled via JS in layout.html: 
https://github.com/web2py/web2py/blob/master/applications/admin/views/layout.html#L80

There is some associated CSS in bootstrap_essentials.css: 
https://github.com/web2py/web2py/blob/master/applications/admin/static/css/bootstrap_essentials.css#L285

Anthony

On Saturday, November 2, 2013 6:42:26 PM UTC-4, mweissen wrote:
>
> Sorry ... the screen shots are visible in my mail program.
>
> Again:
>
> form = SQLFORM.factory(Field('file', 'upload', uploadfield=False))
> shows like upload1.png
>
>
> If I want to upload a package in the admin app it looks like upload2.png
>
>
>
> 2013/11/2 Niphlod <[email protected] <javascript:>>
>
>> the images that **shuould** be attached to this post in the group aren't 
>> included.... can you show an example of what you're trying to achieve ?
>>
>>
>> On Saturday, November 2, 2013 4:25:00 PM UTC+1, mweissen wrote:
>>>
>>> A question about the upload form (Version 2.7.4):
>>>
>>> A form like
>>>
>>>  form = SQLFORM.factory(Field('file', 'upload', uploadfield=False))
>>>
>>> shows something like
>>>
>>>
>>>
>>> But in the admin application the widget for an upload filename looks like
>>>
>>>
>>>
>>> Nice - but how to get it?
>>>
>>> Regards, Martin
>>>
>>  -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to