|
|
|
@ -1,5 +1,4 @@
|
|
|
|
|
@model PackageDetailViewModel
|
|
|
|
|
|
|
|
|
|
@{
|
|
|
|
|
ViewData["Title"] = "Details";
|
|
|
|
|
}
|
|
|
|
@ -24,7 +23,6 @@
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
@Html.DisplayNameFor(model => model.latest.FullString)
|
|
|
|
|
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<a href="@Model.latest.NugetLink" >@Html.DisplayFor(model => model.latest.FullString)</a>
|
|
|
|
@ -32,15 +30,15 @@
|
|
|
|
|
<i class="extinfo">(version count : @Model.totalHits)</i>
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h4>Integration</h4>
|
|
|
|
|
<hr />
|
|
|
|
|
<pre>
|
|
|
|
|
<code
|
|
|
|
|
title="click pour copie"
|
|
|
|
|
onclick="navigator.clipboard.writeText(this.innerText);alert('copié')"><PackageReference Include="@Model.pkgid" Version="@Model.latest.FullString" /></code>
|
|
|
|
|
</pre>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="shadowbox">
|
|
|
|
|
<button class="far fa-copy" style="float:right" onclick="navigator.clipboard.writeText($('#code').text());this.innerText='copied'" >copy</button>
|
|
|
|
|
<pre><code id="code" ><PackageReference Include="@Model.pkgid" Version="@Model.latest.FullString" /></code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
@Html.ActionLink("Edit", "Edit", new { pkgid = Model.pkgid, version = Model.latest.FullString }) |
|
|
|
|
|
<a asp-action="Index">Back to List</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|