Skip to content

Commit

Permalink
Fix missing SVG icon file (#175)
Browse files Browse the repository at this point in the history
* Fix some missing icons

* Restore home page helpful temporary links
  • Loading branch information
dougwaldron authored Nov 1, 2024
1 parent 4f41019 commit 9e17094
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<div class="alert alert-warning d-flex align-items-center" role="alert">
<svg class="bi me-3" role="img" aria-label="Warning:">
<use href="/images/app-icons.svg#app-icon-exclamation-triangle-fill"></use>
<use href="@Url.Content("~/images/app-icons.svg")#app-icon-exclamation-triangle-fill"></use>
</svg>
<div>
Warning: Changing the name of @(Model.ThisOption.StartsWithVowelSound ? "an" : "a")
Expand Down
2 changes: 1 addition & 1 deletion src/WebApp/Pages/Admin/Maintenance/Offices/Edit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<div class="alert alert-warning d-flex align-items-center" role="alert">
<svg class="bi me-3" role="img" aria-label="Warning:">
<use href="/images/app-icons.svg#app-icon-exclamation-triangle-fill"></use>
<use href="@Url.Content("~/images/app-icons.svg")#app-icon-exclamation-triangle-fill"></use>
</svg>
<div>
Warning: Changing the name of @(Model.ThisOption.StartsWithVowelSound ? "an" : "a")
Expand Down
2 changes: 1 addition & 1 deletion src/WebApp/Pages/Facility/Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<button class="btn btn-sm btn-outline-primary dropdown-toggle icon-link" type="button"
data-bs-toggle="dropdown" aria-expanded="false">
<svg class="bi">
<use href="/images/app-icons.svg#app-icon-plus-lg"></use>
<use href="@Url.Content("~/images/app-icons.svg")#app-icon-plus-lg"></use>
</svg>
Compliance Work
</button>
Expand Down
54 changes: 27 additions & 27 deletions src/WebApp/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,30 @@

<p>Coming Soon: Staff Dashboard</p>

@* <div class="card mt-4 border-info shadow"> *@
@* <div class="card-header text-bg-info"> *@
@* <h2 class="h5">Some helpful temporary testing links</h2> *@
@* </div> *@
@* <div class="card-body"> *@
@* <ul> *@
@* <li> *@
@* <a asp-page="/Facility/Index">List of test facilities</a> *@
@* </li> *@
@* <li> *@
@* <a asp-page="/Compliance/FCE/Index">FCE search page</a> *@
@* </li> *@
@* <li> *@
@* <a asp-page="/Compliance/Work/Index">Compliance Work search page</a> *@
@* </li> *@
@* <li> *@
@* <a asp-page="/Account/Index">Your account page</a> *@
@* </li> *@
@* <li> *@
@* <a asp-page="/Admin/Users/Index">All users</a> *@
@* </li> *@
@* <li> *@
@* <a asp-page="/Admin/Maintenance/Index">Site maintenance</a> *@
@* </li> *@
@* </ul> *@
@* </div> *@
@* </div> *@
<div class="card mt-4 border-info shadow">
<div class="card-header text-bg-info">
<h2 class="h5">Some helpful temporary testing links</h2>
</div>
<div class="card-body">
<ul>
<li>
<a asp-page="/Facility/Index">List of test facilities</a>
</li>
<li>
<a asp-page="/Compliance/FCE/Index">FCE search page</a>
</li>
<li>
<a asp-page="/Compliance/Work/Index">Compliance Work search page</a>
</li>
<li>
<a asp-page="/Account/Index">Your account page</a>
</li>
<li>
<a asp-page="/Admin/Users/Index">All users</a>
</li>
<li>
<a asp-page="/Admin/Maintenance/Index">Site maintenance</a>
</li>
</ul>
</div>
</div>

0 comments on commit 9e17094

Please sign in to comment.