Skip to content

Commit 5ac5717

Browse files
committed
add fontawesome as a drop-in replacement to glyphicon
1 parent 4df06ae commit 5ac5717

9 files changed

Lines changed: 2078 additions & 3 deletions

File tree

users/static/font-awesome-4.1.0/css/font-awesome.css

Lines changed: 1566 additions & 0 deletions
Large diffs are not rendered by default.

users/static/font-awesome-4.1.0/css/font-awesome.min.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
73.4 KB
Binary file not shown.
70.8 KB
Binary file not shown.

users/static/font-awesome-4.1.0/fonts/fontawesome-webfont.svg

Lines changed: 504 additions & 0 deletions
Loading
138 KB
Binary file not shown.
81.8 KB
Binary file not shown.

users/templates/html/base.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
<title>{% block title %}{{ project_name | safe }} User Map{% endblock %}</title>
88
{% block head_resources %}
99
<link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.css') }}" type="text/css" static="screen, projection"/>
10+
<link rel="stylesheet" href="{{ url_for('static', filename='font-awesome-4.1.0/css/font-awesome.min.css') }}" type="text/css" static="screen, projection"/>
1011
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.css') }}"/>
1112
<!--[if lte IE 8]>
1213
<link rel="stylesheet" href="{{ url_for('static', filename='css/leaflet.ie.css') }}"/>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<span class='glyphicon glyphicon-user'></span> {{ user.name }}<br>
1+
<span class='fa fa-user'></span> {{ user.name }}<br>
22
{%- if user.website -%}
3-
<span class='glyphicon glyphicon-home'></span> <a href='{{ user.website }}' target='_blank'>{{ user.website }}</a>
3+
<i class='fa fa-home'></i>&nbsp;<a href='{{ user.website }}' target='_blank'>{{ user.website }}</a><br>
44
{%- endif -%}
55
{%- if user.social_account -%}
66
{%- if user.social_account.twitter -%}
7-
<span></span> <a href='https://twitter.com/{{ user.social_account.twitter }}' target='_blank'>@{{ user.social_account.twitter }}</a>
7+
<i class='fa fa-twitter'></i>&nbsp;<a href='https://twitter.com/{{ user.social_account.twitter }}' target='_blank'>@{{ user.social_account.twitter }}</a><br>
88
{%- endif -%}
99
{%- endif -%}

0 commit comments

Comments
 (0)