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 { ...@@ -145,6 +145,14 @@ header.global {
font-weight: bold; font-weight: bold;
letter-spacing: 0; letter-spacing: 0;
.icon {
display: inline-block;
@include float(left);
margin: 3px 0 -3px 0;
font-size: 1.2em;
color: $m-gray;
}
.avatar { .avatar {
// CASE: right to left layout // CASE: right to left layout
......
...@@ -68,7 +68,8 @@ site_status_msg = get_site_status_msg(course_id) ...@@ -68,7 +68,8 @@ site_status_msg = get_site_status_msg(course_id)
<ol class="user"> <ol class="user">
<li class="primary"> <li class="primary">
<a href="${reverse('dashboard')}" class="user-link"> <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> <div>
${user.username} ${user.username}
</div> </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