Commit 01435692 by Ahsan Ulhaq

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

parent fe7b5b2c
......@@ -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
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment