Skip to content

Commit

Permalink
Update positive markers to fa-check-circle and negative markers to fa…
Browse files Browse the repository at this point in the history
…-times-circle
  • Loading branch information
Iceinfly committed Oct 4, 2024
1 parent e1e6bbb commit e3fc262
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
<td class="gra-mc-icon">
@if (Model.Event.Challenge.IsActive)
{
<span class="fas fa-lg fa-check text-success"></span>
<span class="far fa-check-circle fa-lg text-success"></span>
}
else
{
Expand Down Expand Up @@ -709,7 +709,7 @@
$("#SecretCode-Validation").removeClass("text-danger");
$("#SecretCode-Validation").addClass("text-success");
icon.removeClass("fa-spinner fa-spin");
icon.addClass("fa-check");
icon.addClass("fa-check");
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/GRA.Web/Areas/MissionControl/Views/Events/Edit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
<td class="gra-mc-icon">
@if (Model.Event.Challenge.IsActive)
{
<span class="fas fa-lg fa-check text-success"></span>
<span class="far fa-check-circle fa-lg text-success"></span>
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<td>
@if (!string.IsNullOrWhiteSpace(location.Geolocation))
{
<span class="fas fa-check colored-icon"></span>
<span class="far fa-check-circle fa-lg text-success"></span>
}
else
{
Expand All @@ -93,7 +93,7 @@
</td>
}
<td>
<div class="btn-group-sm">
<div class="btn-group">
<button type="submit"
class="btn btn-outline-primary btn-sm"
data-bs-toggle="modal"
Expand Down Expand Up @@ -348,7 +348,7 @@
button.children("span").removeClass("hidden");
$.post(geolocationUrl, { id: button.data("id") }, function (response) {
if (response.success) {
button.parent().html("<span class=\"fas fa-check colored-icon\"></span>");
button.parent().html("<span class=\"far fa-check-circle fa-lg text-success\"></span>");
}
else {
alert("Unable to set geolocation: " + response.message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<td class="gra-mc-icon">
@if (broadcast.SendToNewUsers)
{
<span class="fas fa-lg fa-check text-success"></span>
<span class="far fa-check-circle fa-lg text-success"></span>
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
@foreach (var branch in system.Branches)
{
<div>
<span class="colored-icon fas fa-lg @(Model.BranchAvailability.Contains(branch.Id) || Model.Performer.AllBranches ? "fa-check" : "fa-times")"></span>
<span class="far fa-lg @(Model.BranchAvailability.Contains(branch.Id) || Model.Performer.AllBranches ? "fa-check-circle text-success" : "fa-times-circle text-danger")"></span>
<label data-bs-toggle="tooltip"
data-bs-placement="top"
title="@branch.Address">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
autocomplete="off" />
</td>
<td class="d-print-none" style="padding-left:3px; text-align:center; width:30px;">
<span class="icon fas fa-lg colored-icon @(!string.IsNullOrWhiteSpace(branchSelection.SecretCode) ? "fa-check" : "hidden")"></span>
<span class="icon far fa-lg @(!string.IsNullOrWhiteSpace(branchSelection.SecretCode) ? "fa-check-circle text-success" : "hidden")"></span>
</td>
</tr>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@if (Model.RegistrationClosed)
{
<td>
<span class="colored-icon fas @(performer.IsApproved ? "fa-check" : "fa-times")"></span>
<span class="far fa-lg @(performer.IsApproved ? "fa-check-circle text-success" : "fa-times-circle text-danger")"></span>
</td>
}
@if (Model.SchedulingStage < GRA.Domain.Model.PsSchedulingStage.SchedulingOpen)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
@foreach (var branch in Model.System.Branches)
{
<div>
<span class="colored-icon fas fa-lg @(Model.Performer.AllBranches || Model.BranchAvailability.Contains(branch.Id) ? "fa-check" : "fa-times")"></span>
<span class="far fa-lg @(Model.Performer.AllBranches || Model.BranchAvailability.Contains(branch.Id) ? "fa-check-circle text-success" : "fa-times-circle text-danger")"></span>
<label data-bs-toggle="tooltip"
data-bs-placement="top"
title="@branch.Address">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<td style="@(performer.PhonePreferred ? "" : "font-style:italic")">@performer.Email</td>
<td style="@(performer.PhonePreferred ? "font-style:italic" : "")">@performer.Phone</td>
<td>@performer.ProgramCount</td>
<td><span class="colored-icon fas @(performer.AvailableInSystem ? "fa-check" : "fa-times")"></span></td>
<td><span class="far fa-lg @(performer.AvailableInSystem ? "fa-check-circle text-success" : "fa-times-circle text-danger")"></span></td>
</tr>
}
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
@foreach (var branch in Model.System.Branches)
{
<div>
<span class="colored-icon fas fa-lg @(Model.AllBranches || Model.BranchAvailability.Contains(branch.Id) ? "fa-check" : "fa-times")"></span>
<span class="far fa-lg @(Model.AllBranches || Model.BranchAvailability.Contains(branch.Id) ? "fa-check-circle text-success" : "fa-times-circle text-danger")"></span>
<label data-bs-toggle="tooltip"
data-bs-placement="top"
title="@branch.Address">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<td>@program.Title</td>
<td>@program.MinimumCapacity &ndash; @program.MaximumCapacity</td>
<td>@program.ProgramLengthMinutes</td>
<td><span class="colored-icon fas @(program.AvailableInSystem ? "fa-check" : "fa-times")"></span></td>
<td><span class="far fa-lg @(program.AvailableInSystem ? "fa-check-circle text-success" : "fa-times-circle text-danger")"></span></td>
</tr>
}
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@
button.children("span").removeClass("hidden");
$.post(geolocationUrl, { id: button.data("id") }, function (response) {
if (response.success) {
button.parent().html("<span class=\"fas fa-check colored-icon\"></span>");
button.parent().html("<span class=\"far fa-check-circle text-success\"></span>");
}
else {
alert("Unable to set geolocation: " + response.message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
@foreach (var branch in system.Branches)
{
<div>
<span class="colored-icon fas fa-lg @(Model.BranchAvailability.Contains(branch.Id) || Model.Performer.AllBranches ? "fa-check" : "fa-times")"></span>
<span class="far fa-lg @(Model.BranchAvailability.Contains(branch.Id) || Model.Performer.AllBranches ? "fa-check-circle text-success" : "fa-times-circle text-danger")"></span>
<label data-bs-toggle="tooltip"
data-bs-placement="top"
title="@branch.Address">
Expand Down

0 comments on commit e3fc262

Please sign in to comment.