broken/ef
Paul Schneider 2 years ago
parent 2d5438c943
commit 6c9f29bc56
4 changed files with 32 additions and 16 deletions

@ -74,5 +74,5 @@ sudo systemctl start isnd
sudo cp -a src/isn/bin/Release/netcoreapp2.1/* /usr/local/lib/isn sudo cp -a src/isn/bin/Release/netcoreapp2.1/* /usr/local/lib/isn
sudo chown -R root.root /usr/local/lib/isn sudo chown -R root.root /usr/local/lib/isn
```` ````
## TODO ## TODO

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

@ -7835,7 +7835,15 @@ a.text-dark:hover, a.text-dark:focus {
font-size: small; font-size: small;
font-family: cursive; } font-family: cursive; }
pre code { .shadowbox {
color: #a9ffff; color: #000;
background-color: #2e2d2d; font-family: Arial, Helvetica, sans-serif;
font-style: normal;
font-weight: bold;
border: 1px solid #333;
box-shadow: 8px 8px 5px #444;
padding: 8px 12px;
background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc); }
.fa-copy {
cursor: copy; } cursor: copy; }

@ -95,8 +95,18 @@ background-color: black;
font-family: cursive; font-family: cursive;
} }
pre code {
color: rgb(169, 255, 255); .shadowbox {
background-color: rgb(46, 45, 45); color:#000;
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
font-weight: bold;
border: 1px solid #333;
box-shadow: 8px 8px 5px #444;
padding: 8px 12px;
background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc);
}
.fa-copy {
cursor: copy; cursor: copy;
} }
Loading…