change home icon image to font awesome icon and changed css accordingly

This commit is contained in:
Ahsan Ulhaq
2015-02-20 15:30:25 +05:00
parent fe7b5b2c82
commit 01435692fb
2 changed files with 10 additions and 1 deletions

View File

@@ -145,6 +145,14 @@ header.global {
font-weight: bold;
letter-spacing: 0;
.icon {
display: inline-block;
@include float(left);
margin: 3px 0 -3px 0;
font-size: 1.2em;
color: $m-gray;
}
.avatar {
// CASE: right to left layout

View File

@@ -68,7 +68,8 @@ site_status_msg = get_site_status_msg(course_id)
<ol class="user">
<li class="primary">
<a href="${reverse('dashboard')}" class="user-link">
<img alt='${_("Dashboard for:")}' class="avatar" src="${settings.STATIC_URL}images/small-header-home-icon.png">
<i class="icon fa fa-home" aria-hidden="true"></i>
<span class="sr">${_("Dashboard for:")}</span>
<div>
${user.username}
</div>