From
https://groups.google.com/forum/#!topic/web2py/JsX9KmbSWtU
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):
- Download font awesome older version from https://fontawesome.com/v4.7.0/
- Copy font-awesome-4.7.0.zip/font-awesome-4.7.0/css/font-awesome.min.css to /static/css
- Copy font-awesome-4.7.0.zip/font-awesome-4.7.0/fonts to /static
- Update /views/layout.html by changing 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