Replace fontawesome with latest version 6.5.2 (#116)

This commit is contained in:
Phuoc Anh Kha Le 2024-06-04 22:00:23 -05:00 committed by GitHub
parent 46c950dc37
commit 44682900e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2100 changed files with 20227 additions and 7902 deletions

View file

@ -25,7 +25,7 @@
{% pluralize %}
{{ counter }} problems solved
{% endtrans -%}"
><i class="fa fa-slack darkcyan"></i> {{_('Problems')}}</div>
><i class="green icofont-tick-mark"></i> {{_('Problems')}}</div>
<div class="user-info-body">{{user.problem_count}}</div>
</div>
</div>
@ -33,7 +33,7 @@
<div class="user-info">
<div class="user-info-header"
title="{{_('Total points')}}"
><i class="green icofont-tick-mark"></i> {{_('Points')}}</div>
><i class="fa fa-trophy darkcyan"></i> {{_('Points')}}</div>
<div class="user-info-body"><span title="{{ user.performance_points|floatformat(2) }}">
{{ user.performance_points|floatformat(0) }}
</span></div>

View file

@ -39,7 +39,7 @@
{% with authors=problem.get_authors() %}
{% if authors %}
<div class="problem-feed-info-entry">
<i class="fa fa-pencil-square-o fa-fw"></i>
<i class="far fa-pen-to-square"></i>
<span class="pi-value">{{ link_users(authors) }}</span>
</div>
{% endif %}

View file

@ -4,10 +4,10 @@
{{ make_tab('about', 'fa-info-circle', url('user_page', user.user.username), _('About')) }}
{{ make_tab('problems', 'fa-puzzle-piece', url('user_problems', user.user.username), _('Problems')) }}
{{ make_tab('submissions', 'fa-code', url('all_user_submissions', user.username), _('Submissions')) }}
{% if request.user.is_superuser and user.user != request.user and not user.user.is_superuser %}
{% if request.user.is_superuser and user != request.profile and not user.user.is_superuser %}
{{ make_tab('impersonate', 'fa-eye', url('impersonate-start', user.user.id), _('Impersonate')) }}
{% endif %}
{% if user.user == request.user %}
{% if user == request.profile %}
{{ make_tab('bookmark', 'fa-bookmark', url('user_bookmark'), _('Bookmarks')) }}
{{ make_tab('edit', 'fa-edit', url('user_edit_profile'), _('Edit profile')) }}
{% else %}