point to correct icons

This commit is contained in:
Jens Langhammer
2019-03-14 21:18:13 +01:00
parent 4774d9a46c
commit 5c75339946
4 changed files with 25 additions and 8 deletions

View File

@ -51,7 +51,7 @@
{% for url, icon, name in sources %}
<li class="login-pf-social-link">
<a href="{{ url }}">
<img src="{% static 'img/' %}{{ icon }}.svg" alt="{{ name }}"> {{ name }}
<img src="{% static 'img/logos/' %}{{ icon }}.svg" alt="{{ name }}"> {{ name }}
</a>
</li>
{% endfor %}

View File

@ -185,13 +185,14 @@
{% endif %}
</ul>
</div>
<div class="container-fluid container-cards-pf">
<div class="container-fluid container-cards-pf container-pf-nav-pf-vertical hide-nav-pf">
{% block content %}
{% endblock %}
</div>
{% endblock %}
{% block scripts %}
{{ block.super }}
<script>
$(document).ready(function () {
// initialize tooltips

View File

@ -30,7 +30,7 @@
{% for name, icon, link in us %}
<li class="{% if link == request.get_full_path %} active {% endif %}">
<a href="{{ link }}">
<img src="{% static icon %}" alt=""> {{ name }}
<i class="{{ icon }}"></i> {{ name }}
</a>
</li>
{% endfor %}