Can you consider adding this as a recipe in Complete Reference Manual, so 
it would help others?

The steps were (for web2py 2.18.3):
1. Download font awesome older version from https://fontawesome.com/v4.7.0/
2. Copy font-awesome-4.7.0.zip/font-awesome-4.7.0/css/font-awesome.min.css 
to <app>/static/css
3. Copy font-awesome-4.7.0.zip/font-awesome-4.7.0/fonts to <app>/static
4. Change <app>/views/layout.html. This line
<link rel="stylesheet" 
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
to this
<link rel="stylesheet" 
href="{{=URL('static','css/font-awesome.min.css')}}"/>

Thanks,

JM

terça-feira, 5 de Março de 2019 às 03:51:46 UTC, Massimo Di Pierro escreveu:
>
> yes, download font awesome in static and replace the link to the cdn to a 
> local link.
>
> On Monday, 4 March 2019 15:51:25 UTC-8, João Matos wrote:
>>
>> Icons inside buttons missing if no Internet (LAN is working between 
>> client and server). Is this normal?
>>
>> Is there any way to solve it?
>>
>>
>> web2py 2.18.3
>> Python 3.7.1 x86
>> Windows 7 Pro x64 SP1+all updates
>>
>>
>> Thanks,
>>
>>
>> JM
>>
>>
>>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to