Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Consider adding this recipe to add offline icons to buttons #416

Open
jcrmatos opened this issue Mar 13, 2019 · 0 comments
Open

Comments

@jcrmatos
Copy link

jcrmatos commented Mar 13, 2019

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):

  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 /static/css
  3. Copy font-awesome-4.7.0.zip/font-awesome-4.7.0/fonts to /static
  4. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant