From 7325fdac4fa25770eb96663353f1d876f3e26e2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Charvet=20=E9=BB=91=E7=93=9C?= Date: Fri, 7 Jun 2024 19:57:44 +0100 Subject: [PATCH] Replace regular icons with solid Also replace a few icons for a free alternative --- lib/teiserver/account/exports/player_count_export.ex | 2 +- lib/teiserver/account/exports/retention_rate_export.ex | 2 +- lib/teiserver/account/libs/accolade_lib.ex | 2 +- lib/teiserver/account/libs/code_lib.ex | 2 +- lib/teiserver/account/libs/rating_lib.ex | 2 +- lib/teiserver/account/libs/relationship_lib.ex | 2 +- lib/teiserver/account/reports/active_report.ex | 2 +- lib/teiserver/account/reports/ban_evasion_report.ex | 2 +- lib/teiserver/account/reports/growth_report.ex | 2 +- lib/teiserver/account/reports/new_smurf_report.ex | 2 +- lib/teiserver/account/reports/new_user_funnel_report.ex | 2 +- lib/teiserver/account/reports/open_skill_report.ex | 2 +- lib/teiserver/account/reports/population_report.ex | 2 +- lib/teiserver/account/reports/relationship_report.ex | 2 +- lib/teiserver/account/reports/retention_report.ex | 2 +- lib/teiserver/account/reports/review_report.ex | 2 +- lib/teiserver/account/reports/time_compare_report.ex | 2 +- lib/teiserver/account/reports/time_spent_report.ex | 2 +- lib/teiserver/account/reports/user_age_report.ex | 2 +- lib/teiserver/account/reports/verified_report.ex | 2 +- lib/teiserver/battle/libs/match_lib.ex | 2 +- lib/teiserver/communication/libs/text_callback_lib.ex | 2 +- lib/teiserver/game/exports/match_datatable_export.ex | 2 +- lib/teiserver/game/exports/match_ratings_export.ex | 2 +- lib/teiserver/game/exports/player_ratings_export.ex | 2 +- lib/teiserver/game/exports/rating_logs_export.ex | 2 +- lib/teiserver/helpers/styling_helpers.ex | 2 +- lib/teiserver/lobby.ex | 2 +- lib/teiserver/microblog/libs/post_lib.ex | 2 +- lib/teiserver/moderation/libs/action_lib.ex | 2 +- lib/teiserver/moderation/libs/ban_lib.ex | 2 +- lib/teiserver/telemetry/libs/infolog_lib.ex | 2 +- lib/teiserver/telemetry/libs/telemetry_lib.ex | 2 +- lib/teiserver_web/components/nav_components.ex | 2 +- lib/teiserver_web/live/account/account_components.ex | 2 +- lib/teiserver_web/templates/account/general/index.html.heex | 2 +- lib/teiserver_web/templates/battle/general/sub_menu.html.heex | 2 +- lib/teiserver_web/templates/report/general/index.html.heex | 4 ++-- lib/teiserver_web/templates/report/general/sub_menu.html.heex | 2 +- 39 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lib/teiserver/account/exports/player_count_export.ex b/lib/teiserver/account/exports/player_count_export.ex index d66e8f1d0..5019b370d 100644 --- a/lib/teiserver/account/exports/player_count_export.ex +++ b/lib/teiserver/account/exports/player_count_export.ex @@ -13,7 +13,7 @@ defmodule Teiserver.Account.PlayerCountExport do alias Teiserver.Helper.TimexHelper @spec icon() :: String.t() - def icon(), do: "fa-regular fa-users" + def icon(), do: "fa-solid fa-users" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/exports/retention_rate_export.ex b/lib/teiserver/account/exports/retention_rate_export.ex index afc86e577..fc3e5ea29 100644 --- a/lib/teiserver/account/exports/retention_rate_export.ex +++ b/lib/teiserver/account/exports/retention_rate_export.ex @@ -24,7 +24,7 @@ defmodule Teiserver.Account.RetentionRateExport do @activity_types ~w(total player) @spec icon() :: String.t() - def icon(), do: "fa-regular fa-campground" + def icon(), do: "fa-solid fa-campground" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/libs/accolade_lib.ex b/lib/teiserver/account/libs/accolade_lib.ex index cc4f5b95a..a1ce0a627 100644 --- a/lib/teiserver/account/libs/accolade_lib.ex +++ b/lib/teiserver/account/libs/accolade_lib.ex @@ -12,7 +12,7 @@ defmodule Teiserver.Account.AccoladeLib do # Functions @spec icon :: String.t() - def icon, do: "fa-regular fa-award" + def icon, do: "fa-solid fa-award" @spec colours :: atom def colours, do: :info diff --git a/lib/teiserver/account/libs/code_lib.ex b/lib/teiserver/account/libs/code_lib.ex index 1770de674..5f3888ece 100644 --- a/lib/teiserver/account/libs/code_lib.ex +++ b/lib/teiserver/account/libs/code_lib.ex @@ -7,7 +7,7 @@ defmodule Teiserver.Account.CodeLib do def colours(), do: :info @spec icon :: String.t() - def icon(), do: "fa-regular fa-octagon" + def icon(), do: "fa-regular fa-diamond" @doc """ Returns a list of the code types we can manually use (e.g. not password_reset) diff --git a/lib/teiserver/account/libs/rating_lib.ex b/lib/teiserver/account/libs/rating_lib.ex index 2ee44999b..bdc5d8964 100644 --- a/lib/teiserver/account/libs/rating_lib.ex +++ b/lib/teiserver/account/libs/rating_lib.ex @@ -10,7 +10,7 @@ defmodule Teiserver.Account.RatingLib do # Functions @spec icon :: String.t() - def icon, do: "fa-regular fa-screen-users" + def icon, do: "fa-solid fa-chart-column" @spec colours :: atom def colours, do: :info diff --git a/lib/teiserver/account/libs/relationship_lib.ex b/lib/teiserver/account/libs/relationship_lib.ex index ba8d96d49..d196b2b02 100644 --- a/lib/teiserver/account/libs/relationship_lib.ex +++ b/lib/teiserver/account/libs/relationship_lib.ex @@ -9,7 +9,7 @@ defmodule Teiserver.Account.RelationshipLib do def colour(), do: :success @spec icon :: String.t() - def icon(), do: "fa-users" + def icon(), do: "fa-solid fa-users" @spec icon_follow :: String.t() def icon_follow(), do: "fa-eyes" diff --git a/lib/teiserver/account/reports/active_report.ex b/lib/teiserver/account/reports/active_report.ex index 6883918b0..28b35ca04 100644 --- a/lib/teiserver/account/reports/active_report.ex +++ b/lib/teiserver/account/reports/active_report.ex @@ -3,7 +3,7 @@ defmodule Teiserver.Account.ActiveReport do alias Teiserver.{Logging} @spec icon() :: String.t() - def icon(), do: "fa-regular fa-satellite-dish" + def icon(), do: "fa-solid fa-satellite-dish" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/ban_evasion_report.ex b/lib/teiserver/account/reports/ban_evasion_report.ex index 83a9ed9b1..b913ba1f6 100644 --- a/lib/teiserver/account/reports/ban_evasion_report.ex +++ b/lib/teiserver/account/reports/ban_evasion_report.ex @@ -7,7 +7,7 @@ defmodule Teiserver.Account.BanEvasionReport do require Logger @spec icon() :: String.t() - def icon(), do: "fa-regular fa-user-ninja" + def icon(), do: "fa-solid fa-user-ninja" @spec permissions() :: String.t() def permissions(), do: "Moderator" diff --git a/lib/teiserver/account/reports/growth_report.ex b/lib/teiserver/account/reports/growth_report.ex index 778e8ccfe..91a69f8a1 100644 --- a/lib/teiserver/account/reports/growth_report.ex +++ b/lib/teiserver/account/reports/growth_report.ex @@ -10,7 +10,7 @@ defmodule Teiserver.Account.GrowthReport do def name(), do: "Growth" @spec icon() :: String.t() - def icon(), do: "fa-seedling" + def icon(), do: "fa-solid fa-seedling" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/new_smurf_report.ex b/lib/teiserver/account/reports/new_smurf_report.ex index c0fcc2d39..897ce992c 100644 --- a/lib/teiserver/account/reports/new_smurf_report.ex +++ b/lib/teiserver/account/reports/new_smurf_report.ex @@ -4,7 +4,7 @@ defmodule Teiserver.Account.NewSmurfReport do require Logger @spec icon() :: String.t() - def icon(), do: "fa-regular fa-face-angry-horns" + def icon(), do: "fa-solid fa-face-angry" @spec permissions() :: String.t() def permissions(), do: "Moderator" diff --git a/lib/teiserver/account/reports/new_user_funnel_report.ex b/lib/teiserver/account/reports/new_user_funnel_report.ex index 234505b32..451817c4a 100644 --- a/lib/teiserver/account/reports/new_user_funnel_report.ex +++ b/lib/teiserver/account/reports/new_user_funnel_report.ex @@ -3,7 +3,7 @@ defmodule Teiserver.Account.NewUserFunnelReport do alias Teiserver.{Account, Telemetry, Battle} @spec icon() :: String.t() - def icon(), do: "fa-regular fa-filter" + def icon(), do: "fa-solid fa-filter" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/open_skill_report.ex b/lib/teiserver/account/reports/open_skill_report.ex index 7017b8ea9..e0fabd2f9 100644 --- a/lib/teiserver/account/reports/open_skill_report.ex +++ b/lib/teiserver/account/reports/open_skill_report.ex @@ -6,7 +6,7 @@ defmodule Teiserver.Account.OpenSkillReport do import Teiserver.Helper.NumberHelper, only: [int_parse: 1] @spec icon() :: String.t() - def icon(), do: "fa-regular fa-chart-line" + def icon(), do: "fa-solid fa-chart-line" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/population_report.ex b/lib/teiserver/account/reports/population_report.ex index d49a14e7f..b43b07d3d 100644 --- a/lib/teiserver/account/reports/population_report.ex +++ b/lib/teiserver/account/reports/population_report.ex @@ -3,7 +3,7 @@ defmodule Teiserver.Account.PopulationReport do alias Teiserver.Repo @spec icon() :: String.t() - def icon(), do: "fa-regular fa-people-group" + def icon(), do: "fa-solid fa-people-group" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/relationship_report.ex b/lib/teiserver/account/reports/relationship_report.ex index fc57cc4ad..7235d1652 100644 --- a/lib/teiserver/account/reports/relationship_report.ex +++ b/lib/teiserver/account/reports/relationship_report.ex @@ -5,7 +5,7 @@ defmodule Teiserver.Account.RelationshipReport do alias Teiserver.Account.RelationshipLib @spec icon() :: String.t() - def icon(), do: "fa-regular fa-arrow-down-up-across-line" + def icon(), do: "fa-solid fa-arrow-down-up-across-line" @spec permissions() :: String.t() def permissions(), do: "Reviewer" diff --git a/lib/teiserver/account/reports/retention_report.ex b/lib/teiserver/account/reports/retention_report.ex index 5e18e376b..52ecd2cb5 100644 --- a/lib/teiserver/account/reports/retention_report.ex +++ b/lib/teiserver/account/reports/retention_report.ex @@ -3,7 +3,7 @@ defmodule Teiserver.Account.RetentionReport do alias Teiserver.{Account, Logging} @spec icon() :: String.t() - def icon(), do: "fa-regular fa-campground" + def icon(), do: "fa-solid fa-campground" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/review_report.ex b/lib/teiserver/account/reports/review_report.ex index 40bdf3638..f09ee7bf5 100644 --- a/lib/teiserver/account/reports/review_report.ex +++ b/lib/teiserver/account/reports/review_report.ex @@ -3,7 +3,7 @@ defmodule Teiserver.Account.ReviewReport do alias Teiserver.{Logging} @spec icon() :: String.t() - def icon(), do: "fa-regular fa-champagne-glasses" + def icon(), do: "fa-solid fa-champagne-glasses" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/time_compare_report.ex b/lib/teiserver/account/reports/time_compare_report.ex index 58b34d7bf..cdc5eb47e 100644 --- a/lib/teiserver/account/reports/time_compare_report.ex +++ b/lib/teiserver/account/reports/time_compare_report.ex @@ -4,7 +4,7 @@ defmodule Teiserver.Account.TimeCompareReport do import Teiserver.Helper.StringHelper, only: [get_hash_id: 1] @spec icon() :: String.t() - def icon(), do: "fa-regular fa-code-compare" + def icon(), do: "fa-solid fa-code-compare" @spec permissions() :: String.t() def permissions(), do: "Moderator" diff --git a/lib/teiserver/account/reports/time_spent_report.ex b/lib/teiserver/account/reports/time_spent_report.ex index 71b33e702..af5afdb00 100644 --- a/lib/teiserver/account/reports/time_spent_report.ex +++ b/lib/teiserver/account/reports/time_spent_report.ex @@ -5,7 +5,7 @@ defmodule Teiserver.Account.TimeSpentReport do import Teiserver.Helper.StringHelper, only: [get_hash_id: 1] @spec icon() :: String.t() - def icon(), do: "fa-regular fa-watch" + def icon(), do: "fa-solid fa-stopwatch" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/user_age_report.ex b/lib/teiserver/account/reports/user_age_report.ex index 2be17205e..6df260363 100644 --- a/lib/teiserver/account/reports/user_age_report.ex +++ b/lib/teiserver/account/reports/user_age_report.ex @@ -5,7 +5,7 @@ defmodule Teiserver.Account.UserAgeReport do alias Teiserver.Repo @spec icon() :: String.t() - def icon(), do: "fa-regular fa-chevrons-up" + def icon(), do: "fa-solid fa-chevron-up" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/account/reports/verified_report.ex b/lib/teiserver/account/reports/verified_report.ex index 9d68b974c..8b72503b9 100644 --- a/lib/teiserver/account/reports/verified_report.ex +++ b/lib/teiserver/account/reports/verified_report.ex @@ -3,7 +3,7 @@ defmodule Teiserver.Account.VerifiedReport do alias Teiserver.Account @spec icon() :: String.t() - def icon(), do: "fa-regular fa-check" + def icon(), do: "fa-solid fa-check" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/battle/libs/match_lib.ex b/lib/teiserver/battle/libs/match_lib.ex index fd883e966..9ed533e17 100644 --- a/lib/teiserver/battle/libs/match_lib.ex +++ b/lib/teiserver/battle/libs/match_lib.ex @@ -7,7 +7,7 @@ defmodule Teiserver.Battle.MatchLib do require Logger @spec icon :: String.t() - def icon, do: "fa-regular fa-swords" + def icon, do: "fa-solid fa-explosion" @spec colours :: atom def colours, do: :success2 diff --git a/lib/teiserver/communication/libs/text_callback_lib.ex b/lib/teiserver/communication/libs/text_callback_lib.ex index 2e698dc9c..ca50e505f 100644 --- a/lib/teiserver/communication/libs/text_callback_lib.ex +++ b/lib/teiserver/communication/libs/text_callback_lib.ex @@ -6,7 +6,7 @@ defmodule Teiserver.Communication.TextCallbackLib do # Functions @spec icon :: String.t() - def icon, do: "fa-regular fa-webhook" + def icon, do: "fa-regular fa-voicemail" @spec colours :: atom def colours, do: :success2 diff --git a/lib/teiserver/game/exports/match_datatable_export.ex b/lib/teiserver/game/exports/match_datatable_export.ex index 4987f6f1b..d607ee5f8 100644 --- a/lib/teiserver/game/exports/match_datatable_export.ex +++ b/lib/teiserver/game/exports/match_datatable_export.ex @@ -20,7 +20,7 @@ defmodule Teiserver.Game.MatchDataTableExport do alias Teiserver.Helper.TimexHelper @spec icon() :: String.t() - def icon(), do: "fa-regular fa-table" + def icon(), do: "fa-solid fa-table" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/game/exports/match_ratings_export.ex b/lib/teiserver/game/exports/match_ratings_export.ex index 22630a67b..64199dcfb 100644 --- a/lib/teiserver/game/exports/match_ratings_export.ex +++ b/lib/teiserver/game/exports/match_ratings_export.ex @@ -24,7 +24,7 @@ defmodule Teiserver.Game.MatchRatingsExport do @game_chunk_size 100 @spec icon() :: String.t() - def icon(), do: "fa-regular fa-swords" + def icon(), do: "fa-solid fa-explosion" @spec permissions() :: String.t() def permissions(), do: "Admin" diff --git a/lib/teiserver/game/exports/player_ratings_export.ex b/lib/teiserver/game/exports/player_ratings_export.ex index 8c7bb191f..fde6266b4 100644 --- a/lib/teiserver/game/exports/player_ratings_export.ex +++ b/lib/teiserver/game/exports/player_ratings_export.ex @@ -20,7 +20,7 @@ defmodule Teiserver.Game.PlayerRatingsExport do require Logger @spec icon() :: String.t() - def icon(), do: "fa-regular fa-user-shield" + def icon(), do: "fa-solid fa-user-shield" @spec permissions() :: String.t() def permissions(), do: "teiserver.admin" diff --git a/lib/teiserver/game/exports/rating_logs_export.ex b/lib/teiserver/game/exports/rating_logs_export.ex index 8884fc956..99d39bf06 100644 --- a/lib/teiserver/game/exports/rating_logs_export.ex +++ b/lib/teiserver/game/exports/rating_logs_export.ex @@ -21,7 +21,7 @@ defmodule Teiserver.Game.RatingLogsExport do require Logger @spec icon() :: String.t() - def icon(), do: "fa-regular fa-rectangle-vertical-history" + def icon(), do: "fa-solid fa-layer-group" @spec permissions() :: String.t() def permissions(), do: "teiserver.admin" diff --git a/lib/teiserver/helpers/styling_helpers.ex b/lib/teiserver/helpers/styling_helpers.ex index e7826227a..798c121ca 100644 --- a/lib/teiserver/helpers/styling_helpers.ex +++ b/lib/teiserver/helpers/styling_helpers.ex @@ -80,7 +80,7 @@ defmodule Teiserver.Helper.StylingHelper do def icon(:filter, fa_type), do: "fa-#{fa_type} fa-filter" - def icon(:summary, fa_type), do: "fa-#{fa_type} fa-user-chart" + def icon(:summary, fa_type), do: "fa-#{fa_type} fa-clipboard-list" def icon(:chart, fa_type), do: "fa-#{fa_type} fa-chart-line" diff --git a/lib/teiserver/lobby.ex b/lib/teiserver/lobby.ex index 000d8470e..8e13ca59d 100644 --- a/lib/teiserver/lobby.ex +++ b/lib/teiserver/lobby.ex @@ -11,7 +11,7 @@ defmodule Teiserver.Lobby do alias Teiserver.Lobby.{ChatLib, LobbyLib} @spec icon :: String.t() - def icon, do: "fa-regular fa-sword" + def icon, do: "fa-solid fa-dungeon" @spec colours :: atom def colours, do: :primary2 diff --git a/lib/teiserver/microblog/libs/post_lib.ex b/lib/teiserver/microblog/libs/post_lib.ex index d987f33f1..29785fce9 100644 --- a/lib/teiserver/microblog/libs/post_lib.ex +++ b/lib/teiserver/microblog/libs/post_lib.ex @@ -6,7 +6,7 @@ defmodule Teiserver.Microblog.PostLib do # Functions @spec icon :: String.t() - def icon, do: "fa-circle-envelope" + def icon, do: "fa-solid fa-envelope" @spec colours :: atom def colours, do: :primary diff --git a/lib/teiserver/moderation/libs/action_lib.ex b/lib/teiserver/moderation/libs/action_lib.ex index 8dd355fe1..25c399808 100644 --- a/lib/teiserver/moderation/libs/action_lib.ex +++ b/lib/teiserver/moderation/libs/action_lib.ex @@ -7,7 +7,7 @@ defmodule Teiserver.Moderation.ActionLib do # Functions @spec icon :: String.t() - def icon, do: "fa-regular fa-triangle" + def icon, do: "fa-regular fa-exclamation" @spec colour :: atom def colour, do: :primary diff --git a/lib/teiserver/moderation/libs/ban_lib.ex b/lib/teiserver/moderation/libs/ban_lib.ex index 1d709ccfa..121648893 100644 --- a/lib/teiserver/moderation/libs/ban_lib.ex +++ b/lib/teiserver/moderation/libs/ban_lib.ex @@ -5,7 +5,7 @@ defmodule Teiserver.Moderation.BanLib do # Functions @spec icon :: String.t() - def icon, do: "fa-regular fa-gavel" + def icon, do: "fa-solid fa-gavel" @spec colour :: atom def colour, do: :danger diff --git a/lib/teiserver/telemetry/libs/infolog_lib.ex b/lib/teiserver/telemetry/libs/infolog_lib.ex index 9079269ab..e8df8ba0a 100644 --- a/lib/teiserver/telemetry/libs/infolog_lib.ex +++ b/lib/teiserver/telemetry/libs/infolog_lib.ex @@ -8,7 +8,7 @@ defmodule Teiserver.Telemetry.InfologLib do def colours(), do: :success2 @spec icon() :: String.t() - def icon(), do: "fa-regular fa-barcode-scan" + def icon(), do: "fa-solid fa-barcode" # Queries @spec query_infologs() :: Ecto.Query.t() diff --git a/lib/teiserver/telemetry/libs/telemetry_lib.ex b/lib/teiserver/telemetry/libs/telemetry_lib.ex index 250e69d54..fd1665b3c 100644 --- a/lib/teiserver/telemetry/libs/telemetry_lib.ex +++ b/lib/teiserver/telemetry/libs/telemetry_lib.ex @@ -7,7 +7,7 @@ defmodule Teiserver.Telemetry.TelemetryLib do def colours(), do: :warning2 @spec icon() :: String.t() - def icon(), do: "fa-regular fa-monitor-heart-rate" + def icon(), do: "fa-regular fa-heart-pulse" @spec get_totals_and_reset :: map() def get_totals_and_reset() do diff --git a/lib/teiserver_web/components/nav_components.ex b/lib/teiserver_web/components/nav_components.ex index 49c1cce20..44a2573ca 100644 --- a/lib/teiserver_web/components/nav_components.ex +++ b/lib/teiserver_web/components/nav_components.ex @@ -274,7 +274,7 @@ defmodule TeiserverWeb.NavComponents do
<%= render_slot(@inner_block) %> diff --git a/lib/teiserver_web/live/account/account_components.ex b/lib/teiserver_web/live/account/account_components.ex index 23ef44075..765dc4001 100644 --- a/lib/teiserver_web/live/account/account_components.ex +++ b/lib/teiserver_web/live/account/account_components.ex @@ -51,7 +51,7 @@ defmodule TeiserverWeb.AccountComponents do <.sub_menu_button bsname={@view_colour} - icon="fa-lock" + icon="fa-solid fa-lock" active={@active == "security"} url={~p"/teiserver/account/security"} > diff --git a/lib/teiserver_web/templates/account/general/index.html.heex b/lib/teiserver_web/templates/account/general/index.html.heex index 5d6bf9578..12d0917d4 100644 --- a/lib/teiserver_web/templates/account/general/index.html.heex +++ b/lib/teiserver_web/templates/account/general/index.html.heex @@ -31,7 +31,7 @@ ) %> <%= central_component("menu_card", - icon: "fa-solid fa-lock", + icon: "fa-lock", text: "Security", icon_class: "fa-solid", link: Routes.ts_account_security_path(@conn, :index) diff --git a/lib/teiserver_web/templates/battle/general/sub_menu.html.heex b/lib/teiserver_web/templates/battle/general/sub_menu.html.heex index 46d2d750b..fbf5859e4 100644 --- a/lib/teiserver_web/templates/battle/general/sub_menu.html.heex +++ b/lib/teiserver_web/templates/battle/general/sub_menu.html.heex @@ -65,7 +65,7 @@ label: "Tournament", active: @active, url: ~p"/tournament/lobbies", - icon: "fa-regular fa-trophy" + icon: "fa-solid fa-trophy" ) %> diff --git a/lib/teiserver_web/templates/report/general/index.html.heex b/lib/teiserver_web/templates/report/general/index.html.heex index 515aa49c5..fc5f131f2 100644 --- a/lib/teiserver_web/templates/report/general/index.html.heex +++ b/lib/teiserver_web/templates/report/general/index.html.heex @@ -26,7 +26,7 @@ <%= central_component("menu_card", size: :small, - icon: "fa-regular fa-download", + icon: "fa-solid fa-download", name: "exports", text: "Data exports", link: Routes.ts_reports_exports_path(@conn, :index) @@ -202,7 +202,7 @@ <%= if allow?(@current_user, Teiserver.Account.TournamentReport.permissions()) do %> <%= central_component("menu_card", size: :small, - icon: "fa-regular fa-ranking-star", + icon: "fa-solid fa-ranking-star", name: "tournament", text: "Tournament", link: Routes.ts_reports_report_path(@conn, :show, "tournament") diff --git a/lib/teiserver_web/templates/report/general/sub_menu.html.heex b/lib/teiserver_web/templates/report/general/sub_menu.html.heex index 814e5a40c..7b9355e9e 100644 --- a/lib/teiserver_web/templates/report/general/sub_menu.html.heex +++ b/lib/teiserver_web/templates/report/general/sub_menu.html.heex @@ -25,7 +25,7 @@ label: "Data exports", active: @active, url: ~p"/teiserver/reports/exports", - icon: "fa-regular fa-download" + icon: "fa-solid fa-download" ) %> <%= if allow_any?(@conn, ~w(Contributor Overwatch)) do %>