Replace Font Awesome with inline SVG icons
Font Awesome 4 adds 106kB of dependencies on each page and require to query multiple assets. It also sometimes causes icons to appear after page loading. Font Awesome 4 is deprecated and replaced by version 5 which is not packaged in every GNU/Linux distributions. This commit replaces icons with inline SVG which does not require external assets, does not require an additionnal dependency and is widely supported by modern browsers. It makes the page loading faster and enables us to no longer require fonts-font-awesome Debian package.
parent
0bd447b6
No related branches found
No related tags found
Showing
- Dockerfile 1 addition, 1 deletionDockerfile
- README.md 2 additions, 2 deletionsREADME.md
- ansible/roles/1-apt-basic/tasks/main.yml 0 additions, 1 deletionansible/roles/1-apt-basic/tasks/main.yml
- apps/activity/templates/activity/activity_list.html 3 additions, 1 deletionapps/activity/templates/activity/activity_list.html
- apps/member/templates/member/base.html 8 additions, 2 deletionsapps/member/templates/member/base.html
- apps/member/templates/member/club_detail.html 14 additions, 3 deletionsapps/member/templates/member/club_detail.html
- apps/member/templates/member/includes/club_info.html 3 additions, 1 deletionapps/member/templates/member/includes/club_info.html
- apps/member/templates/member/includes/profile_info.html 10 additions, 3 deletionsapps/member/templates/member/includes/profile_info.html
- apps/member/templates/member/profile_detail.html 8 additions, 2 deletionsapps/member/templates/member/profile_detail.html
- apps/member/templates/member/user_list.html 5 additions, 1 deletionapps/member/templates/member/user_list.html
- apps/note/templates/note/conso_form.html 4 additions, 1 deletionapps/note/templates/note/conso_form.html
- apps/wei/templates/wei/bus_detail.html 15 additions, 3 deletionsapps/wei/templates/wei/bus_detail.html
- apps/wei/templates/wei/busteam_detail.html 11 additions, 2 deletionsapps/wei/templates/wei/busteam_detail.html
- apps/wei/templates/wei/weiclub_detail.html 19 additions, 4 deletionsapps/wei/templates/wei/weiclub_detail.html
- apps/wei/templates/wei/weimembership_list.html 7 additions, 1 deletionapps/wei/templates/wei/weimembership_list.html
- docs/install-dev.rst 1 addition, 1 deletiondocs/install-dev.rst
- docs/install.rst 1 addition, 1 deletiondocs/install.rst
- note_kfet/templates/base.html 79 additions, 16 deletionsnote_kfet/templates/base.html
Loading
Please register or sign in to comment