Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions OpenTabletDriver.Web/Views/Plugins/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@
</div>
</div>
<div class="mt-auto text-center">
<button type="button" class="btn-sm btn-primary me-1"
<a role="button" class="btn-sm btn-primary me-1"
@(string.IsNullOrWhiteSpace(metadata.DownloadUrl) ? "disabled" : string.Empty)
onclick="location.href='@metadata.DownloadUrl'">
href="@metadata.DownloadUrl">
Download
</button>
<button type="button" class="btn-sm btn-info me-1"
</a>
<a role="button" class="btn-sm btn-info me-1"
@(string.IsNullOrWhiteSpace(metadata.RepositoryUrl) ? "disabled" : string.Empty)
onclick="location.href='@metadata.WikiUrl'">
href="@metadata.WikiUrl">
Wiki
</button>
<button type="button" class="btn-sm btn-info"
</a>
<a role="button" class="btn-sm btn-info"
@(string.IsNullOrWhiteSpace(metadata.RepositoryUrl) ? "disabled" : string.Empty)
onclick="location.href='@metadata.RepositoryUrl'">
href="@metadata.RepositoryUrl">
Source
</button>
</a>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<li class="list-group-item text-center @border">
<img class="p-1" width="250" style="@(isPrimary ? string.Empty : "opacity:0.4")" src="otd.png"/>
<div class="mt-1 mb-1">
<button class="btn @buttonColor" onclick="location.href='@Model.Url'">View On GitHub</button>
<a role="button" class="btn @buttonColor" href="@Model.Url">View On GitHub</a>
</div>
</li>
@foreach (IReleaseAsset asset in await Model.GetReleaseAssets())
Expand Down