Commit 4fbdb358 by Kálmán Viktor

dashboard: change fa-users to profile pictures

parent fddee865
...@@ -72,12 +72,8 @@ html { ...@@ -72,12 +72,8 @@ html {
} }
#dashboard-menu > li:last-child > a { #dashboard-menu > li:last-child > a {
padding-top: 4px; padding: 4px 0 0 0;
padding-bottom: 0px; }
padding-right: 0px;
padding-left: 0px;
}
} }
.no-margin { .no-margin {
...@@ -1342,3 +1338,7 @@ textarea[name="new_members"] { ...@@ -1342,3 +1338,7 @@ textarea[name="new_members"] {
.little-margin-bottom { .little-margin-bottom {
margin-bottom: 5px; margin-bottom: 5px;
} }
.acl-table td:first-child {
text-align: center;
}
{% load i18n %} {% load i18n %}
<form action="{{ acl.url }}" method="post">{% csrf_token %} <form action="{{ acl.url }}" method="post">{% csrf_token %}
<table class="table table-striped table-with-form-fields" id="{{table_id}}"> <table class="table table-striped table-with-form-fields acl-table" id="{{table_id}}">
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
{% for i in acl.users %} {% for i in acl.users %}
<tr> <tr>
<td> <td>
<i class="fa fa-user"></i> <img class="profile-avatar" src="{{ i.user.profile.get_avatar_url }}"/>
</td> </td>
<td> <td>
<a href="{% url "dashboard.views.profile" username=i.user.username %}" <a href="{% url "dashboard.views.profile" username=i.user.username %}"
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
<li>{% trans "Loading..." %}</li> <li>{% trans "Loading..." %}</li>
</ul> </ul>
</li> </li>
<li> <li class="hidden-xs">
<a href="{% url "dashboard.views.profile-preferences" %}"> <a href="{% url "dashboard.views.profile-preferences" %}">
<img class="profile-avatar" src="{{ user.profile.get_avatar_url }}" /> <img class="profile-avatar" src="{{ user.profile.get_avatar_url }}" />
</a> </a>
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
{% for i in users %} {% for i in users %}
<tr> <tr>
<td> <td>
<i class="fa fa-user"></i> <img class="profile-avatar" src="{{ i.profile.get_avatar_url}}"/>
</td> </td>
<td> <td>
<a href="{% url "dashboard.views.profile" username=i.username %}" title="{{ i.username }}" <a href="{% url "dashboard.views.profile" username=i.username %}" title="{{ i.username }}"
......
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 sign in to comment