This repository was archived by the owner on Dec 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
OpenTabletDriver.Web/Views Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 </div >
4747 </div >
4848 <div class =" mt-auto text-center" >
49- <button type =" button" class =" btn-sm btn-primary me-1"
49+ <a role =" button" class =" btn-sm btn-primary me-1"
5050 @(string.IsNullOrWhiteSpace(metadata.DownloadUrl) ? " disabled" : string.Empty)
51- onclick = " location. href=' @metadata.DownloadUrl' " >
51+ href =" @metadata.DownloadUrl" >
5252 Download
53- </button >
54- <button type =" button" class =" btn-sm btn-info me-1"
53+ </a >
54+ <a role =" button" class =" btn-sm btn-info me-1"
5555 @(string.IsNullOrWhiteSpace(metadata.RepositoryUrl) ? " disabled" : string.Empty)
56- onclick = " location. href=' @metadata.WikiUrl' " >
56+ href =" @metadata.WikiUrl" >
5757 Wiki
58- </button >
59- <button type =" button" class =" btn-sm btn-info"
58+ </a >
59+ <a role =" button" class =" btn-sm btn-info"
6060 @(string.IsNullOrWhiteSpace(metadata.RepositoryUrl) ? " disabled" : string.Empty)
61- onclick = " location. href=' @metadata.RepositoryUrl' " >
61+ href =" @metadata.RepositoryUrl" >
6262 Source
63- </button >
63+ </a >
6464 </div >
6565 </div >
6666 </div >
Original file line number Diff line number Diff line change 1717 <li class =" list-group-item text-center @border" >
1818 <img class =" p-1" width =" 250" style =" @(isPrimary ? string .Empty : " opacity:0.4 " )" src =" otd.png" />
1919 <div class =" mt-1 mb-1" >
20- <button class =" btn @buttonColor" onclick = " location. href=' @Model.Url' " >View On GitHub</button >
20+ <a role = " button" class =" btn @buttonColor" href =" @Model.Url" >View On GitHub</a >
2121 </div >
2222 </li >
2323 @foreach ( IReleaseAsset asset in await Model .GetReleaseAssets ())
You can’t perform that action at this time.
0 commit comments